Skip to content

Instantly share code, notes, and snippets.

@jvanzyl
Last active August 29, 2015 13:56
Show Gist options
  • Save jvanzyl/9020379 to your computer and use it in GitHub Desktop.
Save jvanzyl/9020379 to your computer and use it in GitHub Desktop.
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.7.0_21
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x" version: "10.9.1" arch: "x86_64" Family: "mac"
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/master-1.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/master/1/master-1.pom
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/master-1.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/master/1/master-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Feb 15 10:02:57 EST 2014
[INFO] Final Memory: 4M/11M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/master-x.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/master/x-SNAPSHOT/master-x-SNAPSHOT.pom
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/master-x.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/master/x-SNAPSHOT/master-x-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Feb 15 10:02:58 EST 2014
[INFO] Final Memory: 4M/11M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/ejb-1.jar to /Users/jvanzyl/.m2/repository/bugs/maven/issue/ejb/1/ejb-1.jar
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/ejb-1.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/ejb/1/ejb-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Feb 15 10:02:59 EST 2014
[INFO] Final Memory: 4M/11M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/ejb-1-client.jar to /Users/jvanzyl/.m2/repository/bugs/maven/issue/ejb/1/ejb-1-client.jar
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/ejb-1.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/ejb/1/ejb-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Feb 15 10:03:00 EST 2014
[INFO] Final Memory: 4M/11M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/delegate-1.jar to /Users/jvanzyl/.m2/repository/bugs/maven/issue/delegate/1/delegate-1.jar
[INFO] Installing /Users/jvanzyl/js/takari/maven-its/MNG-5207/prepare/delegate-1.pom to /Users/jvanzyl/.m2/repository/bugs/maven/issue/delegate/1/delegate-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Feb 15 10:03:01 EST 2014
[INFO] Final Memory: 4M/11M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Issue EJB
[INFO] Issue EJB Delegate
[INFO] Issue Application
[INFO] Builder for Issue
[INFO] ------------------------------------------------------------------------
[INFO] Building Issue EJB
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /Users/jvanzyl/js/takari/maven-its/MNG-5207/ejb/target
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /Users/jvanzyl/js/takari/maven-its/MNG-5207/ejb/target/classes
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jvanzyl/js/takari/maven-its/MNG-5207/ejb/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] Surefire report directory: /Users/jvanzyl/js/takari/maven-its/MNG-5207/ejb/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [ejb:ejb {execution: default-ejb}]
[INFO] Building EJB ejb-2-SNAPSHOT with EJB version 2.1
[INFO] Building jar: /Users/jvanzyl/js/takari/maven-its/MNG-5207/ejb/target/ejb-2-SNAPSHOT.jar
[INFO] Building EJB client ejb-2-SNAPSHOT-client
[INFO] Building jar: /Users/jvanzyl/js/takari/maven-its/MNG-5207/ejb/target/ejb-2-SNAPSHOT-client.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Issue EJB Delegate
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /Users/jvanzyl/js/takari/maven-its/MNG-5207/delegate/target
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jvanzyl/js/takari/maven-its/MNG-5207/delegate/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jvanzyl/js/takari/maven-its/MNG-5207/delegate/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] Surefire report directory: /Users/jvanzyl/js/takari/maven-its/MNG-5207/delegate/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /Users/jvanzyl/js/takari/maven-its/MNG-5207/delegate/target/delegate-2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Issue Application
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jvanzyl/js/takari/maven-its/MNG-5207/application/src/main/resources
Downloading: http://localhost:8081/nexus/content/groups/public/bugs/maven/issue/ejb/2-SNAPSHOT/ejb-2-SNAPSHOT-client.jar
[INFO] Unable to find resource 'bugs.maven.issue:ejb:ejb-client:client:2-SNAPSHOT' in repository central (http://central)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) bugs.maven.issue:ejb:ejb-client:client:2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=bugs.maven.issue -DartifactId=ejb -Dversion=2-SNAPSHOT -Dclassifier=client -Dpackaging=ejb-client -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=bugs.maven.issue -DartifactId=ejb -Dversion=2-SNAPSHOT -Dclassifier=client -Dpackaging=ejb-client -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) bugs.maven.issue:application:jar:1-SNAPSHOT
2) bugs.maven.issue:delegate:jar:1
3) bugs.maven.issue:ejb:ejb-client:client:2-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
bugs.maven.issue:application:jar:1-SNAPSHOT
from the specified remote repositories:
central (http://localhost:8081/nexus/content/groups/public)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Feb 15 10:03:05 EST 2014
[INFO] Final Memory: 22M/53M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment