The install generates the following odd error where it seems to find and download the 2 artifacts that I specified in the pom but then can not find them to build the tar and jar.

Any suggestions?

The assembly descriptor follows the log info.

Ron


[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building lms-deploymentjars
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [assembly:single {execution: create-jar-deployment-archive}]
[INFO] Reading assembly descriptor: src/assembly/lms-deployment-archives.xml
[INFO] Processing DependencySet (output=null)
Downloading: http://xxx/nexus/content/groups/public/com/artifact_software/lms/lms-pom-spring-hibernate-mysql-tomcat/1.8.3-SNAPSHOT/lms-pom-spring-hibernate-mysql-tomcat-1.8.3-20100527.163839-1.jar Downloading: http://xxx/nexus/content/groups/public/com/artifact_software/lms/lms-pom-jsf/1.8.3-SNAPSHOT/lms-pom-jsf-1.8.3-20100527.172209-1.jar [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Failed to create assembly: Failed to resolve dependencies for project: com.artifact_software.lms:lms-deployment-jars:pom:1.8.3-SNAPSHOT

Missing:
----------
1) com.artifact_software.lms:lms-pom-spring-hibernate-mysql-tomcat:jar:1.8.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=com.artifact_software.lms -DartifactId=lms-pom-spring-hibernate-mysql-tomcat -Dversion=1.8.3-20100527.163839-1 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.artifact_software.lms -DartifactId=lms-pom-spring-hibernate-mysql-tomcat -Dversion=1.8.3-20100527.163839-1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) com.artifact_software.lms:lms-deployment-jars:pom:1.8.3-SNAPSHOT
2) com.artifact_software.lms:lms-pom-spring-hibernate-mysql-tomcat:jar:1.8.3-SNAPSHOT

2) com.artifact_software.lms:lms-pom-jsf:jar:1.8.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=com.artifact_software.lms -DartifactId=lms-pom-jsf -Dversion=1.8.3-20100527.172209-1 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.artifact_software.lms -DartifactId=lms-pom-jsf -Dversion=1.8.3-20100527.172209-1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) com.artifact_software.lms:lms-deployment-jars:pom:1.8.3-SNAPSHOT
      2) com.artifact_software.lms:lms-pom-jsf:jar:1.8.3-SNAPSHOT

----------
2 required artifacts are missing.

for artifact:
  com.artifact_software.lms:lms-deployment-jars:pom:1.8.3-SNAPSHOT

from the specified remote repositories:
nexus (http://repo.artifact-software.com:8081/nexus/content/groups/public)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Jun 29 11:56:46 EDT 2010
[INFO] Final Memory: 13M/24M
[INFO] ------------------------------------------------------------------------


My assembly descriptor looks like this:


<assembly>
<id>lms-deployment-jars</id>
<formats>
<format>tar</format>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<includes/>
</dependencySet>
</dependencySets>

</assembly>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to