-
1. Re: Weld 1.1.0 final examples deployment
ssachtleben.ssachtleben.gmail.com Feb 1, 2011 6:05 PM (in response to alexman)Try to add the jboss repository:
... </properties> <repositories> <repository> <id>jboss-public-repository</id> <name>JBoss Repository</name> <url>https://repository.jboss.org/nexus/content/groups/public</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>jboss-public-repository</id> <name>JBoss Repository</name> <url>https://repository.jboss.org/nexus/content/groups/public</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> <dependencyManagement> ...
-
2. Re: Weld 1.1.0 final examples deployment
alexman Feb 2, 2011 4:47 AM (in response to alexman)I added the repository that you told me but I get another error...
|check.jboss.home: package: [java] [INFO] Scanning for projects... [java] [INFO] ------------------------------------------------------------- ----------- [java] [INFO] Building Weld Examples: Numberguess (JSF) [java] [INFO] task-segment: [install] [java] [INFO] ------------------------------------------------------------- ----------- [java] Downloading: http://repository.jboss.org/nexus/content/groups/public /org/apache/maven/plugins/maven-surefire-plugin/2.6/maven-surefire-plugin-2.6.ja r [java] Downloading: https://repository.jboss.org/nexus/content/groups/publi c/org/apache/maven/plugins/maven-surefire-plugin/2.6/maven-surefire-plugin-2.6.j ar [java] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ maven-surefire-plugin/2.6/maven-surefire-plugin-2.6.jar [java] [INFO] ------------------------------------------------------------- ----------- [java] [ERROR] BUILD FAILURE [java] [INFO] ------------------------------------------------------------- ----------- [java] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any re pository [java] [java] Try downloading the file manually from the project website. [java] [java] Then, install it using the command: [java] mvn install:install-file -DgroupId=org.apache.maven.plugins -Dar tifactId=maven-surefire-plugin -Dversion=2.6 -Dpackaging=maven-plugin -Dfile=/pa th/to/file [java] [java] Alternatively, if you host your own repository you can deploy the fi le there: [java] mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -Darti factId=maven-surefire-plugin -Dversion=2.6 -Dpackaging=maven-plugin -Dfile=/path /to/file -Durl=[url] -DrepositoryId=[id] [java] [java] [java] org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.6 [java] [java] from the specified remote repositories: [java] jboss-snapshots-repository (http://repository.jboss.org/nexus/cont ent/groups/public), [java] jboss-public-repository-group (http://repository.jboss.org/nexus/c ontent/groups/public), [java] jboss-public-repository (https://repository.jboss.org/nexus/conten t/groups/public), [java] central (http://repo1.maven.org/maven2) [java] [java] [java] org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.6 [java] [java] from the specified remote repositories: [java] jboss-snapshots-repository (http://repository.jboss.org/nexus/cont ent/groups/public), [java] jboss-public-repository-group (http://repository.jboss.org/nexus/c ontent/groups/public), [java] jboss-public-repository (https://repository.jboss.org/nexus/conten t/groups/public), [java] central (http://repo1.maven.org/maven2) [java] [java] [java] [INFO] ------------------------------------------------------------- ----------- [java] [INFO] For more information, run Maven with the -e switch [java] [INFO] ------------------------------------------------------------- ----------- [java] [INFO] Total time: 1 minute 4 seconds [java] [INFO] Finished at: Wed Feb 02 09:36:07 CET 2011 [java] [INFO] Final Memory: 4M/15M [java] [INFO] ------------------------------------------------------------- ----------- BUILD FAILED C:\weld-1.1.0.Final\examples\jsf\numberguess\build.xml:9: The following error oc curred while executing this line: C:\weld-1.1.0.Final\examples\build.xml:154: Java returned: 1|
It's a plugin that its missing or something like that. Adding another repository could fix it??
thank you
-
3. Re: Weld 1.1.0 final examples deployment
ssachtleben.ssachtleben.gmail.com Feb 2, 2011 5:34 AM (in response to alexman)Mhmm..... your build log says:
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.6/maven-surefire-plugin-2.6.jar
If I click on that link I can download the jar file. Maybe the maven repository was down did you tried it again?
-
4. Re: Weld 1.1.0 final examples deployment
alexman Feb 3, 2011 3:54 AM (in response to alexman)I tried it several times but the error is always the same (as I posted yesterday)
any suggestions?¿
thanks Sebastian!
-
5. Re: Weld 1.1.0 final examples deployment
denon82 Feb 19, 2011 10:50 AM (in response to alexman)I have been having the same problem, any solution for it?
-
6. Re: Weld 1.1.0 final examples deployment
hhcofcmds Apr 28, 2011 6:39 AM (in response to alexman)I had the same problem here. Adding the jboss repo (in examples/pom.xml) as mentioned above solved the issue for me.
(Now I'm out for a lunch, I hope maven will finish building my example soon ...)