Closed posix4e closed 12 years ago
Hi Alex,
Thanks for this. When I try to run the build, I am getting the following errors with Struts Hibernate plugin and Hadoop. Also, is it possible that we provide option for both Apache Hadoop as well as Cloudera's version?
Thanks, Sonal
Downloading: http://repo1.maven.org/maven2/com/google/code/struts2-fullhibernatecore-plugin/2.2/struts2-fullhibernatecore-plugin-2.2.jar [INFO] Unable to find resource 'org.apache.hadoop:hadoop-core:jar:0.20.2-cdh3u1' in repository central (http://repo1.maven.org/maven2) [INFO] Unable to find resource 'com.google.code:struts2-fullhibernatecore-plugin:jar:2.2' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact.
1) org.apache.hadoop:hadoop-core:jar:0.20.2-cdh3u1
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=org.apache.hadoop -DartifactId=hadoop-core -Dversion=0.20.2-cdh3u1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.hadoop -DartifactId=hadoop-core -Dversion=0.20.2-cdh3u1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency: 1) co.nubetech.crux:crux:war:1.0-SNAPSHOT 2) org.apache.hadoop:hadoop-core:jar:0.20.2-cdh3u1
2) com.google.code:struts2-fullhibernatecore-plugin:jar:2.2
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=com.google.code -DartifactId=struts2-fullhibernatecore-plugin -Dversion=2.2 -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.google.code -DartifactId=struts2-fullhibernatecore-plugin -Dversion=2.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency: 1) co.nubetech.crux:crux:war:1.0-SNAPSHOT 2) com.google.code:struts2-fullhibernatecore-plugin:jar:2.2
2 required artifacts are missing.
for artifact: co.nubetech.crux:crux:war:1.0-SNAPSHOT
from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://repository.codehaus.org/), java.net (http://download.java.net/maven/2/), JBoss (http://repository.jboss.org/nexus/content/groups/public-jboss), archiva.opensource.fastconnect.org (http://opensource.fastconnect.org/archiva/repository/opensource), maven2-repository.dev.java.net (http://download.java.net/maven/2/), Maven Plugin Repository (http://struts2plugin-maven-repo.googlecode.com/svn/trunk/), apache release (https://repository.apache.org/content/repositories/releases/)
[INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29 seconds [INFO] Finished at: Mon Sep 26 13:59:12 IST 2011 [INFO] Final Memory: 22M/153M [INFO] ------------------------------------------------------------
Hi Alex,
I went ahead and mavenized the build. Please let me know if its ok to close this pull request.
Sonal
mvn run:jetty works. Please verify that we can still use in your use case as a lot of things moved around.