velo / partial-build-plugin

A maven plugin for partially building multi-module projects based on changes in the Git repository.
MIT License
2 stars 0 forks source link

Release to maven central #1

Open velo opened 5 years ago

velo commented 5 years ago

@rultor release, tag=2.9

rultor commented 5 years ago

@rultor release, tag=2.9

@velo OK, I will release it now. Please check the progress here

rultor commented 5 years ago

@rultor release, tag=2.9

@velo Oops, I failed. You can see the full log here (spent 2min)

-rw-rw-r--  1 rultor rultor    511 Jul 23 07:07 settings.xml
-rw-rw-r--  1 rultor rultor   3805 Jul 23 07:07 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-Gpox:/main '--env=MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g' --env=head=git@github.com:velo/partial-build-plugin.git --env=tag=2.9 '--env=scripts=( '\''export '\''\'\'''\''MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:velo/partial-build-plugin.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=2.9'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=velo'\''\'\'''\'''\'' '\'';'\'' '\''mvn install dependency:go-offline -Pskip-formatter -DskipTests=true -q --settings ../settings.xml -Dgpg.homedir=..'\'' '\'';'\'' '\''mvn versions:set "-DnewVersion=${tag}"'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mvn deploy -Pci -B -Prelease --settings ../settings.xml -Dgpg.homedir=..'\'' '\'';'\'' )' --env=head_branch=master --env=author=velo --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Gpox/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=velo_partial-build-plugin_1 velo/rultor8 /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./pubring.gpg ./repo ./run.sh ./script.sh ./secring.gpg ./settings.xml ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export 'MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'
+ MAVEN_OPTS='-XX:MaxPermSize=256m -Xmx1g'
+ export head=git@github.com:velo/partial-build-plugin.git
+ head=git@github.com:velo/partial-build-plugin.git
+ export tag=2.9
+ tag=2.9
+ export head_branch=master
+ head_branch=master
+ export author=velo
+ author=velo
+ mvn install dependency:go-offline -Pskip-formatter -DskipTests=true -q --settings ../settings.xml -Dgpg.homedir=..
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:resolve-plugins (resolve-plugins) on project partial-build-plugin: Nested: Could not find artifact jdom:jdom:jar:1.1 in central (https://repo.maven.apache.org/maven2)
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=jdom -DartifactId=jdom -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=jdom -DartifactId=jdom -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR] jdom:jdom:jar:1.1
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container 43d84822c10c69237ce11b4679ddc2437e4e4f39231dc3b4f64a85571a353219 is dead
Tue Jul 23 07:09:09 CEST 2019
velo commented 5 years ago

@rultor release, tag=2.9

rultor commented 5 years ago

@rultor release, tag=2.9

@velo OK, I will release it now. Please check the progress here

rultor commented 5 years ago

@rultor release, tag=2.9

@velo Oops, I failed. You can see the full log here (spent 2min)

Running com.lesfurets.maven.partial.utils.DependencyUtilsTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec - in com.lesfurets.maven.partial.utils.DependencyUtilsTest
Running com.lesfurets.maven.partial.utils.PluginUtilsTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in com.lesfurets.maven.partial.utils.PluginUtilsTest
separatePattern(com.lesfurets.maven.partial.utils.PluginUtilsTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.lesfurets.maven.partial.utils.PluginUtils
    at com.lesfurets.maven.partial.utils.PluginUtilsTest.separatePattern(PluginUtilsTest.java:22)

patternEscapeCharacters(com.lesfurets.maven.partial.utils.PluginUtilsTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.lesfurets.maven.partial.utils.PluginUtils
    at com.lesfurets.maven.partial.utils.PluginUtilsTest.patternEscapeCharacters(PluginUtilsTest.java:28)

Results :

Tests in error: 
  ChangedProjectsTest.list:29 ? Provision Unable to provision, see the following...
  ConfigurationTest.userProperties:28 ? ExceptionInInitializer
  DifferentFilesJGitTest>DifferentFilesTest.fetch:106->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.fetchNonExistent:127->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.list:61->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.listComparedToMergeBase:91->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.listInSubdir:74->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.listIncludingOnlyUncommited:39->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.listIncludingOnlyUntracked:47->getInstance:13 ? NoClassDefFound
  DifferentFilesJGitTest>DifferentFilesTest.listWithCheckout:55->getInstance:13 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.fetch:106->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.fetchNonExistent:127->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.list:61->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.listComparedToMergeBase:91->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.listInSubdir:74->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.listIncludingOnlyUncommited:39->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.listIncludingOnlyUntracked:47->getInstance:14 ? NoClassDefFound
  DifferentFilesNativeTest>DifferentFilesTest.listWithCheckout:55->getInstance:14 ? NoClassDefFound
  MavenLifecycleParticipantTest.configured:33 ? Provision Unable to provision, s...
  MavenLifecycleParticipantTest.disabled:23 ? Provision Unable to provision, see...
  PluginUtilsTest.patternEscapeCharacters:28 NoClassDefFound Could not initializ...
  PluginUtilsTest.separatePattern:22 NoClassDefFound Could not initialize class ...

Tests run: 36, Failures: 0, Errors: 22, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.154 s
[INFO] Finished at: 2019-07-23T05:13:43+00:00
[INFO] Final Memory: 37M/526M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project partial-build-plugin: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
container 1d5a8ca265509c32dba74cfbb6b3966802cd66b029d456b2492a9bf8b92c1d2a is dead
Tue Jul 23 07:14:10 CEST 2019