Skip to content

Instantly share code, notes, and snippets.

@fxthomas
Created November 25, 2016 23:11
Show Gist options
  • Save fxthomas/2c211e1a0bacec4525ec1f215b13e16e to your computer and use it in GitHub Desktop.
Save fxthomas/2c211e1a0bacec4525ec1f215b13e16e to your computer and use it in GitHub Desktop.
> mvn clean package install -DbuildNumber=$(git describe --tags) develop [81730fe] untracked
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Libresonic
[INFO] Libresonic REST API
[INFO] Sonos API
[INFO] Libresonic Main
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Libresonic 6.1.beta2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ libresonic ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (analyze) @ libresonic ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ libresonic ---
[INFO] Installing /home/fx/Projects/libresonic/pom.xml to /home/fx/.m2/repository/org/libresonic/player/libresonic/6.1.beta2/libresonic-6.1.beta2.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Libresonic REST API 6.1.beta2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ libresonic-rest-api ---
[INFO] Deleting /home/fx/Projects/libresonic/libresonic-rest-api/target
[INFO]
[INFO] --- maven-jaxb2-plugin:0.8.3:generate (default) @ libresonic-rest-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libresonic-rest-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ libresonic-rest-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 61 source files to /home/fx/Projects/libresonic/libresonic-rest-api/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ libresonic-rest-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/fx/Projects/libresonic/libresonic-rest-api/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ libresonic-rest-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ libresonic-rest-api ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ libresonic-rest-api ---
[INFO] Building jar: /home/fx/Projects/libresonic/libresonic-rest-api/target/libresonic-rest-api-6.1.beta2.jar
[INFO]
[INFO] --- maven-jaxb2-plugin:0.8.3:generate (default) @ libresonic-rest-api ---
[INFO] Skipped XJC execution. Generated sources were up-to-date.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libresonic-rest-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ libresonic-rest-api ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ libresonic-rest-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/fx/Projects/libresonic/libresonic-rest-api/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ libresonic-rest-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ libresonic-rest-api ---
[INFO] No tests to run.
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ libresonic-rest-api ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (analyze) @ libresonic-rest-api ---
[INFO] No dependency problems found
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ libresonic-rest-api ---
[INFO] Installing /home/fx/Projects/libresonic/libresonic-rest-api/target/libresonic-rest-api-6.1.beta2.jar to /home/fx/.m2/repository/org/libresonic/player/libresonic-rest-api/6.1.beta2/libresonic-rest-api-6.1.beta2.jar
[INFO] Installing /home/fx/Projects/libresonic/libresonic-rest-api/pom.xml to /home/fx/.m2/repository/org/libresonic/player/libresonic-rest-api/6.1.beta2/libresonic-rest-api-6.1.beta2.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sonos API 6.1.beta2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ libresonic-sonos-api ---
[INFO] Deleting /home/fx/Projects/libresonic/libresonic-sonos-api/target
[INFO]
[INFO] --- cxf-codegen-plugin:2.4.2:wsdl2java (generate-sources) @ libresonic-sonos-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libresonic-sonos-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ libresonic-sonos-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 99 source files to /home/fx/Projects/libresonic/libresonic-sonos-api/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ libresonic-sonos-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/fx/Projects/libresonic/libresonic-sonos-api/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ libresonic-sonos-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ libresonic-sonos-api ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ libresonic-sonos-api ---
[INFO] Building jar: /home/fx/Projects/libresonic/libresonic-sonos-api/target/libresonic-sonos-api-6.1.beta2.jar
[INFO]
[INFO] --- cxf-codegen-plugin:2.4.2:wsdl2java (generate-sources) @ libresonic-sonos-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libresonic-sonos-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ libresonic-sonos-api ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ libresonic-sonos-api ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/fx/Projects/libresonic/libresonic-sonos-api/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ libresonic-sonos-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ libresonic-sonos-api ---
[INFO] No tests to run.
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ libresonic-sonos-api ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (analyze) @ libresonic-sonos-api ---
[INFO] No dependency problems found
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ libresonic-sonos-api ---
[INFO] Installing /home/fx/Projects/libresonic/libresonic-sonos-api/target/libresonic-sonos-api-6.1.beta2.jar to /home/fx/.m2/repository/org/libresonic/player/libresonic-sonos-api/6.1.beta2/libresonic-sonos-api-6.1.beta2.jar
[INFO] Installing /home/fx/Projects/libresonic/libresonic-sonos-api/pom.xml to /home/fx/.m2/repository/org/libresonic/player/libresonic-sonos-api/6.1.beta2/libresonic-sonos-api-6.1.beta2.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Libresonic Main 6.1.beta2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ libresonic-main ---
[INFO] Deleting /home/fx/Projects/libresonic/libresonic-main/target
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (default) @ libresonic-main ---
[INFO] Executing tasks
main:
[copy] Copying 1 file to /home/fx/Projects/libresonic/libresonic-main/target/classes/org/libresonic/player/i18n
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libresonic-main ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 109 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ libresonic-main ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 280 source files to /home/fx/Projects/libresonic/libresonic-main/target/classes
[INFO] /home/fx/Projects/libresonic/libresonic-main/src/main/java/org/libresonic/player/controller/UserSettingsController.java: Some input files use or override a deprecated API.
[INFO] /home/fx/Projects/libresonic/libresonic-main/src/main/java/org/libresonic/player/controller/UserSettingsController.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/fx/Projects/libresonic/libresonic-main/src/main/java/org/libresonic/player/dao/AbstractDao.java: Some input files use unchecked or unsafe operations.
[INFO] /home/fx/Projects/libresonic/libresonic-main/src/main/java/org/libresonic/player/dao/AbstractDao.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ libresonic-main ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/fx/Projects/libresonic/libresonic-main/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ libresonic-main ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /home/fx/Projects/libresonic/libresonic-main/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ libresonic-main ---
[INFO] Surefire report directory: /home/fx/Projects/libresonic/libresonic-main/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.libresonic.player.util.HttpRangeTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.libresonic.player.util.StringUtilTestCase
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
Running org.libresonic.player.service.MusicIndexServiceTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.libresonic.player.service.metadata.MediaFileTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.libresonic.player.service.metadata.MetaDataParserTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.libresonic.player.service.StatusServiceTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.libresonic.player.service.SonosServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.libresonic.player.service.SettingsServiceTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.libresonic.player.service.SecurityServiceTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.libresonic.player.controller.StreamControllerTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.libresonic.player.controller.HLSControllerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.libresonic.player.io.RangeOutputStreamTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.libresonic.player.dao.UserDaoTestCase
Resetting test database: /tmp/libresonic/db
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.744 sec
Running org.libresonic.player.dao.InternetRadioDaoTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.532 sec
Running org.libresonic.player.dao.PlayerDaoTestCase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.158 sec
Running org.libresonic.player.dao.MusicFolderDaoTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
Running org.libresonic.player.dao.TranscodingDaoTestCase
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.006 sec
Running org.libresonic.player.dao.PodcastDaoTestCase
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.586 sec
Running org.libresonic.player.domain.VersionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.libresonic.player.domain.CacheElementTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.libresonic.player.domain.MediaFileComparatorTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.libresonic.player.domain.PlayQueueTestCase
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.libresonic.player.domain.SortableArtistTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running org.libresonic.player.domain.TranscodeSchemeTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Shutting down database...
Shutting down database - Done!
Results :
Tests run: 87, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ libresonic-main ---
[INFO] Packaging webapp
[INFO] Assembling webapp [libresonic-main] in [/home/fx/Projects/libresonic/libresonic-main/target/libresonic]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/fx/Projects/libresonic/libresonic-main/src/main/webapp]
[INFO] Webapp assembled in [307 msecs]
[INFO] Building war: /home/fx/Projects/libresonic/libresonic-main/target/libresonic.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (default) @ libresonic-main ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libresonic-main ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 109 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ libresonic-main ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ libresonic-main ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/fx/Projects/libresonic/libresonic-main/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ libresonic-main ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ libresonic-main ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ libresonic-main ---
[INFO] Packaging webapp
[INFO] Assembling webapp [libresonic-main] in [/home/fx/Projects/libresonic/libresonic-main/target/libresonic]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/fx/Projects/libresonic/libresonic-main/src/main/webapp]
[INFO] Webapp assembled in [179 msecs]
[INFO] Building war: /home/fx/Projects/libresonic/libresonic-main/target/libresonic.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (analyze) @ libresonic-main ---
[WARNING] Used undeclared dependencies found:
[WARNING] org.springframework.security:spring-security-core:jar:3.2.9.RELEASE:compile
[WARNING] Unused declared dependencies found:
[WARNING] org.springframework.security:spring-security-config:jar:3.2.9.RELEASE:compile
[WARNING] org.springframework.security:spring-security-ldap:jar:3.2.9.RELEASE:compile
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Libresonic ......................................... SUCCESS [ 0.869 s]
[INFO] Libresonic REST API ................................ SUCCESS [ 2.069 s]
[INFO] Sonos API .......................................... SUCCESS [ 2.493 s]
[INFO] Libresonic Main .................................... FAILURE [ 15.501 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.036 s
[INFO] Finished at: 2016-11-26T00:10:18+01:00
[INFO] Final Memory: 50M/568M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:analyze-only (analyze) on project libresonic-main: Dependency problems found -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :libresonic-main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment