I'm upgrading from WebWork-2 to the most recent Struts-2(.1.x) that contains a working instance of Dojo. Following the directions on http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and http://struts.apache.org/2.x/docs/building-with-maven.html, I successfully ran this command:
mvn clean install -Dmaven.test.skip=true -Pextras,plugins,xwork Next I cd'd to assembly directory, and ran the assembly target via: mvn assembly:assembly I get the artifact errors below. Any ideas what may be wrong? ============================================================================= [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'assembly'. [INFO] ------------------------------------------------------------------------ [INFO] Building Struts 2 Assembly [INFO] task-segment: [assembly:assembly] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] Preparing assembly:assembly [INFO] ------------------------------------------------------------------------ [INFO] Building Struts 2 Assembly [INFO] ------------------------------------------------------------------------ Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-core/2.1.2-SNAPSHOT/struts2-core-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-config-browser-plugin/2.1.2-SNAPSHOT/struts2-config-browser-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-jasperreports-plugin/2.1.2-SNAPSHOT/struts2-jasperreports-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-jfreechart-plugin/2.1.2-SNAPSHOT/struts2-jfreechart-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-jsf-plugin/2.1.2-SNAPSHOT/struts2-jsf-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-pell-multipart-plugin/2.1.2-SNAPSHOT/struts2-pell-multipart-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-plexus-plugin/2.1.2-SNAPSHOT/struts2-plexus-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-sitegraph-plugin/2.1.2-SNAPSHOT/struts2-sitegraph-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-sitemesh-plugin/2.1.2-SNAPSHOT/struts2-sitemesh-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-struts1-plugin/2.1.2-SNAPSHOT/struts2-struts1-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-tiles-plugin/2.1.2-SNAPSHOT/struts2-tiles-plugin-2.1.2-SNAPSHOT-jdk14.jar Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-rest-plugin/2.1.2-SNAPSHOT/struts2-rest-plugin-2.1.2-SNAPSHOT-jdk14.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.struts:struts2-core:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-core -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-core -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-core:jar:jdk14:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-config-browser-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-config-browser-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-config-browser-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-config-browser-plugin:jar:jdk14:2.1.2-SNAPSHOT 3) org.apache.struts:struts2-jasperreports-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-jasperreports-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-jasperreports-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-jasperreports-plugin:jar:jdk14:2.1.2-SNAPSHOT 4) org.apache.struts:struts2-jfreechart-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-jfreechart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-jfreechart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-jfreechart-plugin:jar:jdk14:2.1.2-SNAPSHOT 5) org.apache.struts:struts2-jsf-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-jsf-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-jsf-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-jsf-plugin:jar:jdk14:2.1.2-SNAPSHOT 6) org.apache.struts:struts2-pell-multipart-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-pell-multipart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-pell-multipart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-pell-multipart-plugin:jar:jdk14:2.1.2-SNAPSHOT 7) org.apache.struts:struts2-plexus-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-plexus-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-plexus-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-plexus-plugin:jar:jdk14:2.1.2-SNAPSHOT 8) org.apache.struts:struts2-sitegraph-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-sitegraph-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-sitegraph-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-sitegraph-plugin:jar:jdk14:2.1.2-SNAPSHOT 9) org.apache.struts:struts2-sitemesh-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-sitemesh-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-sitemesh-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-sitemesh-plugin:jar:jdk14:2.1.2-SNAPSHOT 10) org.apache.struts:struts2-struts1-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-struts1-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-struts1-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-struts1-plugin:jar:jdk14:2.1.2-SNAPSHOT 11) org.apache.struts:struts2-tiles-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-tiles-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-tiles-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-tiles-plugin:jar:jdk14:2.1.2-SNAPSHOT 12) org.apache.struts:struts2-rest-plugin:jar:jdk14:2.1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-rest-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-rest-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT 2) org.apache.struts:struts2-rest-plugin:jar:jdk14:2.1.2-SNAPSHOT ---------- 12 required artifacts are missing. for artifact: org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT from the specified remote repositories: ggi-project.org (http://ftp.ggi-project.org/pub/packages/maven2), apache.snapshots (http://people.apache.org/maven-snapshot-repository) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 seconds [INFO] Finished at: Tue Apr 29 19:41:26 CDT 2008 [INFO] Final Memory: 10M/31M [INFO] ------------------------------------------------------------------------ ============================================================================= ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
