{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-aether/issues/82","repository_url":"https://api.github.com/repos/jcabi/jcabi-aether","labels_url":"https://api.github.com/repos/jcabi/jcabi-aether/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-aether/issues/82/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-aether/issues/82/events","html_url":"https://github.com/jcabi/jcabi-aether/issues/82","id":136317552,"number":82,"title":"Rultor Build Fails on Recent Versions of yegor256/rultor","user":{"login":"original-brownbear","id":6490959,"avatar_url":"https://avatars.githubusercontent.com/u/6490959?v=3","gravatar_id":"","url":"https://api.github.com/users/original-brownbear","html_url":"https://github.com/original-brownbear","followers_url":"https://api.github.com/users/original-brownbear/followers","following_url":"https://api.github.com/users/original-brownbear/following{/other_user}","gists_url":"https://api.github.com/users/original-brownbear/gists{/gist_id}","starred_url":"https://api.github.com/users/original-brownbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/original-brownbear/subscriptions","organizations_url":"https://api.github.com/users/original-brownbear/orgs","repos_url":"https://api.github.com/users/original-brownbear/repos","events_url":"https://api.github.com/users/original-brownbear/events{/privacy}","received_events_url":"https://api.github.com/users/original-brownbear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-25T08:32:27Z","updated_at":"2016-03-02T22:08:30Z","closed_at":null,"body":"This is the explaination for https://github.com/jcabi/jcabi-aether/pull/81 failing.\r\nYou can find more information on this here: https://github.com/yegor256/rultor/issues/1018\r\n\r\nIn essence this is what happened here specific to this project:\r\nCurrently the project sees this error in the build when merging for example [here](http://www.rultor.com/t/7273-188460878):\r\n```\r\nCaused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact com.jcabi:jcabi-x:jar:0.0.0 in Maven (http://repo.maven.apache.org/maven2)\r\n```\r\n\r\nThis is caused by:\r\nhttps://github.com/yegor256/rultor/commit/61ce6e14774553e329953f5e3fd1d410659983b6#diff-137272550fb0d38c0e229b21d901e20eR6\r\n... forcing the use of http://repo.maven.apache.org/maven2 on Rultor.\r\n\r\nRultor needed this to build on Maven 3.3.9, but here it evidently is causing trouble.\r\nAs explained in the above Rultor ticket, this needs to be fixed in projects breaking supplying their own Docker image, not in Rultor. Rultor's Dockerfile/Image is there to build Rultor itself and maintaining the build across multiple users of the same base Docker image is simply an impossible task.\r\n\r\nThat being said, looking at the last PR here, that the merge worked fine with: The below Dockerfile results in a working image. Building it and setting the image property in the .rultor.yml to wherever you push the build result, will resolve the issues you're experiencing with merging #81.\r\n\r\nFrom https://hub.docker.com/r/yegor256/rultor/builds/bh4tyahxbh2bfcngvfxnyt4/:\r\n```\r\n# Copyright (c) 2009-2015, rultor.com\r\n# All rights reserved.\r\n#\r\n# Redistribution and use in source and binary forms, with or without\r\n# modification, are permitted provided that the following conditions\r\n# are met: 1) Redistributions of source code must retain the above\r\n# copyright notice, this list of conditions and the following\r\n# disclaimer. 2) Redistributions in binary form must reproduce the above\r\n# copyright notice, this list of conditions and the following\r\n# disclaimer in the documentation and/or other materials provided\r\n# with the distribution. 3) Neither the name of the rultor.com nor\r\n# the names of its contributors may be used to endorse or promote\r\n# products derived from this software without specific prior written\r\n# permission.\r\n#\r\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\r\n# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\r\n# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\r\n# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r\n# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\n# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n# OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nFROM ubuntu:14.04\r\nMAINTAINER Yegor Bugayenko <yegor@teamed.io>\r\nLABEL Description=\"This is the default image for Rultor.com\" Vendor=\"Rultor.com\" Version=\"1.0\"\r\nWORKDIR /tmp\r\n\r\nENV DEBIAN_FRONTEND=noninteractive\r\n\r\n# UTF-8 locale\r\nRUN locale-gen en_US en_US.UTF-8\r\nRUN dpkg-reconfigure locales\r\nENV LC_ALL en_US.UTF-8\r\nENV LANG en_US.UTF-8\r\nENV LANGUAGE en_US.UTF-8\r\n\r\n# Basic Linux tools\r\nRUN apt-get update\r\nRUN apt-get install -y wget bcrypt curl\r\nRUN apt-get install -y unzip zip\r\nRUN apt-get install -y gnupg gnupg2\r\nRUN apt-get install -y jq\r\nRUN apt-get install -y bsdmainutils\r\nRUN apt-get install -y libxml2-utils\r\nRUN apt-get install -y build-essential\r\nRUN apt-get install -y automake autoconf\r\n\r\n# Git 2.0\r\nRUN apt-get install -y software-properties-common python-software-properties\r\nRUN add-apt-repository ppa:git-core/ppa\r\nRUN apt-get update\r\nRUN apt-get install -y git git-core\r\n\r\n# SSH Daemon\r\nRUN apt-get install -y ssh && \\\r\n  mkdir /var/run/sshd && \\\r\n  chmod 0755 /var/run/sshd\r\n\r\n# Ruby\r\nRUN apt-get install -y libmagic-dev zlib1g-dev\r\nRUN apt-add-repository ppa:brightbox/ruby-ng\r\nRUN apt-get update\r\nRUN apt-get install -y ruby2.2 ruby2.2-dev\r\nRUN gem update && gem install nokogiri && gem install bundler\r\n\r\n# Ruby via RVM\r\n#RUN apt-add-repository -y ppa:rael-gc/rvm\r\n#RUN apt-get update\r\n#RUN sudo apt-get install -y rvm\r\n#RUN /bin/bash -l -c \"rvm install ruby\"\r\n#RUN /bin/bash -l -c \"gem update\"\r\n#RUN /bin/bash -l -c \"gem install nokogiri\"\r\n#RUN /bin/bash -l -c \"gem install bundler\"\r\n#RUN echo 'source /usr/share/rvm/scripts/rvm' >> /etc/bash.bashrc\r\n\r\n# PHP\r\nRUN apt-get install -y php5 php5-dev php-pear\r\nRUN curl --silent --show-error https://getcomposer.org/installer | php\r\nRUN mv composer.phar /usr/local/bin/composer\r\nRUN mkdir jsl && \\\r\n  wget --quiet http://www.javascriptlint.com/download/jsl-0.3.0-src.tar.gz && \\\r\n  tar xzf jsl-0.3.0-src.tar.gz && \\\r\n  cd jsl-0.3.0/src && \\\r\n  make -f Makefile.ref && \\\r\n  mv Linux_All_DBG.OBJ/jsl /usr/local/bin && \\\r\n  cd .. && \\\r\n  rm -rf jsl\r\n# RUN pecl install xdebug-beta && \\\r\n#   echo \"zend_extension=xdebug.so\" > /etc/php5/cli/conf.d/xdebug.ini\r\n\r\n# Java\r\nRUN apt-get install -y default-jdk\r\nRUN apt-get install -y gdebi && \\\r\n  wget --quiet http://ppa.launchpad.net/natecarlson/maven3/ubuntu/pool/main/m/maven3/maven3_3.2.1-0~ppa1_all.deb && \\\r\n  gdebi --non-interactive maven3_3.2.1-0~ppa1_all.deb && \\\r\n  ln -s /usr/share/maven3/bin/mvn /usr/bin/mvn && \\\r\n  rm -rf maven3_3.2.1-0~ppa1_all.deb\r\nRUN git clone https://github.com/yegor256/rultor.git && \\\r\n  cd rultor && \\\r\n  gem install jekyll && \\\r\n  mvn clean install -Pqulice --quiet && \\\r\n  cd .. && \\\r\n  rm -rf rultor\r\n\r\n# LaTeX\r\nRUN apt-get install -y texlive-latex-extra\r\nRUN apt-get install -y xzdec\r\nRUN tlmgr init-usertree\r\nRUN tlmgr install helvetic\r\nRUN tlmgr install psnfss\r\n\r\n# PhantomJS\r\nRUN apt-get install -y phantomjs\r\n\r\n# S3cmd for AWS S3 integration\r\nRUN apt-get install -y s3cmd\r\n\r\n# NodeJS\r\nRUN apt-get install -y nodejs npm\r\nRUN sudo npm install -g npm\r\nRUN ln -s /usr/bin/nodejs /usr/bin/node\r\n\r\n# One more time, right before the end\r\nRUN apt-get update -y\r\nRUN apt-get upgrade -qq -y\r\n\r\n# Clean up\r\nRUN rm -rf /tmp/*\r\nRUN rm -rf /root/.ssh\r\n```"},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-aether/issues/comments/191455176","html_url":"https://github.com/jcabi/jcabi-aether/issues/82#issuecomment-191455176","issue_url":"https://api.github.com/repos/jcabi/jcabi-aether/issues/82","id":191455176,"user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T22:08:30Z","updated_at":"2016-03-02T22:08:30Z","body":"@original-brownbear trying again: https://hub.docker.com/r/yegor256/rultor/builds/bsyzeopmvzpkvfafaap5bxs/"}}