[jboss-dev-forums] [Embedded JBoss Development] - Re: Maven JBoss AS Embedded Build

pgmjsd do-not-reply at jboss.com
Sat Nov 28 17:23:30 EST 2009


Having the same issue today.   I re-build JBoss AS with mvn -Pdist-zip clean install

Then I get the following when building embedded-trunk:

  |  $ mvn clean install
  | ... blah blah blah ...
  | [INFO] [dependency:unpack {execution: unpack}]
  | [INFO] Configured Artifact: org.jboss.jbossas:jboss-as-distribution:6.0.0.M1:zip
  | Downloading: http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-distribution/6.0.0.M1/jboss-as-distribution-6.0.0.M1.zip
  | Downloading: http://repo1.maven.org/maven2/org/jboss/jbossas/jboss-as-distribution/6.0.0.M1/jboss-as-distribution-6.0.0.M1.zip
  | [INFO] ------------------------------------------------------------------------
  | [ERROR] BUILD ERROR
  | [INFO] ------------------------------------------------------------------------
  | [INFO] Unable to find artifact.
  | 
  | Embedded error: Unable to download the artifact from any repository
  | 
  | Try downloading the file manually from the project website.
  | 
  | Then, install it using the command: 
  |     mvn install:install-file -DgroupId=org.jboss.jbossas -DartifactId=jboss-as-distribution -Dversion=6.0.0.M1 -Dpackaging=zip -Dfile=/path/to/file
  | 
  | Alternatively, if you host your own repository you can deploy the file there: 
  |     mvn deploy:deploy-file -DgroupId=org.jboss.jbossas -DartifactId=jboss-as-distribution -Dversion=6.0.0.M1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  | 
  | 
  |   org.jboss.jbossas:jboss-as-distribution:zip:6.0.0.M1
  | 
  | from the specified remote repositories:
  |   snapshots.jboss.org (http://snapshots.jboss.org/maven2),
  |   central (http://repo1.maven.org/maven2),
  |   repository.jboss.org (http://repository.jboss.org/maven2)
  | 

I looked in ~/.m2/repository and there was no zip file.  Maybe that profile is something in settings.xml that I'm missing?

Environment: 
* http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_6_0_0_M1
* http://anonsvn.jboss.org/repos/jbossas/projects/embedded/trunk
* Java 1.6.0_07  64 bit server version
* Maven 2.0.9
* Darwin (Mac OSX)



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267924#4267924

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267924



More information about the jboss-dev-forums mailing list