I just tried it and it worked for me with Java 6 on OS X. Are you behind any sort of firewall or proxy?
$ mvn appfuse:full-source ############################################################# JRebel 3.1.1 (201007141237) (c) Copyright ZeroTurnaround OU, Estonia, Tartu. Over the last 30 days JRebel prevented at least 8 redeploys/restarts saving you about 0.3 hours. Over the last 205 days JRebel prevented at least 232 redeploys/restarts saving you about 9.4 hours. This product is licensed to for up to developer seats on site. The following plugins are disabled at the moment: * Log4j plugin (set -Drebel.log4j-plugin=true to enable) Reloads full configuration of log4j * Stripes plugin 1.0.11 (set -Drebel.stripes_plugin=true to enable) Adds reloading of Stripes ActionBeans. * TopLink Spring Plugin (set -Drebel.toplink_spring_plugin=true to enable) Reloads SeesionFactory when configuration changes * TopLink and EclipseLink Plugin (set -Drebel.toplink_plugin=true to enable) Reloads EntityManagerFactory when configuration changes * WebObjects Plugin (set -Drebel.webobjects_plugin=true to enable) WebObjects JRebel Plugin ############################################################# [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] AppFuse Modular Application [INFO] AppFuse Modular Application - Core [INFO] AppFuse Modular Application - Web (Struts 2) Downloading: http://repo1.maven.org/maven2/org/appfuse/plugins/appfuse-maven-plugin/2.1.0-M1/appfuse-maven-plugin-2.1.0-M1.pom Downloading: http://repo1.maven.org/maven2/org/appfuse/plugins/appfuse-plugins/2.1.0-M1/appfuse-plugins-2.1.0-M1.pom Downloading: http://repo1.maven.org/maven2/org/appfuse/appfuse/2.1.0-M1/appfuse-2.1.0-M1.pom Downloading: http://repo1.maven.org/maven2/org/appfuse/plugins/appfuse-maven-plugin/2.1.0-M1/appfuse-maven-plugin-2.1.0-M1.jar [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application [INFO] task-segment: [appfuse:full-source] [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-core-tiger/2.0.4/spring-security-core-tiger-2.0.4.pom Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-parent/2.0.4/spring-security-parent-2.0.4.pom Downloading: http://s3.amazonaws.com/maven.springframework.org/release/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.pom [INFO] Unable to find resource 'org.springframework.security:spring-security-core:pom:2.0.4' in repository spring-release (http://s3.amazonaws.com/maven.springframework.org/release) Downloading: http://s3.amazonaws.com/maven.springframework.org/external/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.pom [INFO] Unable to find resource 'org.springframework.security:spring-security-core:pom:2.0.4' in repository spring-external (http://s3.amazonaws.com/maven.springframework.org/external) Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.pom Downloading: http://repo1.maven.org/maven2/org/springframework/spring-test/2.5.6/spring-test-2.5.6.jar Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-core-tiger/2.0.4/spring-security-core-tiger-2.0.4.jar Downloading: http://s3.amazonaws.com/maven.springframework.org/release/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.jar [INFO] Unable to find resource 'org.springframework.security:spring-security-core:jar:2.0.4' in repository spring-release (http://s3.amazonaws.com/maven.springframework.org/release) Downloading: http://s3.amazonaws.com/maven.springframework.org/external/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.jar [INFO] Unable to find resource 'org.springframework.security:spring-security-core:jar:2.0.4' in repository spring-external (http://s3.amazonaws.com/maven.springframework.org/external) Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.jar [INFO] [appfuse:full-source {execution: default-cli}] [INFO] [AppFuse] Source successfully exported, modifying pom.xml... [INFO] [AppFuse] Adding dependencies from root module... [INFO] [AppFuse] Updated dependencies in pom.xml... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Core [INFO] task-segment: [appfuse:full-source] [INFO] ------------------------------------------------------------------------ [INFO] [appfuse:full-source {execution: default-cli}] [INFO] [AppFuse] Installing source from data-common module... [INFO] [AppFuse] Installing source from hibernate module... [INFO] [AppFuse] Installing source from service module... [INFO] [AppFuse] Source successfully exported, modifying pom.xml... [INFO] [AppFuse] Adding dependencies from data module... [INFO] [AppFuse] Adding dependencies from data-common module... [INFO] [AppFuse] Adding dependencies from hibernate module... [INFO] [AppFuse] Adding dependencies from service module... [INFO] [AppFuse] Updated dependencies in pom.xml... [INFO] [AppFuse] Renaming packages to 'com.engard'... [info] [AppFuse] Refactored all 'org.appfuse' packages and paths to 'com.engard'. [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Web (Struts 2) [INFO] task-segment: [appfuse:full-source] [INFO] ------------------------------------------------------------------------ [INFO] [appfuse:full-source {execution: default-cli}] [INFO] [AppFuse] Source successfully exported, modifying pom.xml... [INFO] [AppFuse] Adding dependencies from web module... [ maven embedder INFO] Unable to find resource 'org.springframework.security:spring-security-acl:pom:2.0.4' in repository spring-release (http://s3.amazonaws.com/maven.springframework.org/release) [ maven embedder INFO] Unable to find resource 'org.springframework.security:spring-security-acl:pom:2.0.4' in repository spring-external (http://s3.amazonaws.com/maven.springframework.org/external) [ maven embedder INFO] Unable to find resource 'org.springframework.security:spring-security-acl:jar:2.0.4' in repository spring-release (http://s3.amazonaws.com/maven.springframework.org/release) [ maven embedder INFO] Unable to find resource 'org.springframework.security:spring-security-acl:jar:2.0.4' in repository spring-external (http://s3.amazonaws.com/maven.springframework.org/external) [INFO] [AppFuse] Adding dependencies from web-common module... [INFO] [AppFuse] Adding dependencies from struts module... [INFO] [AppFuse] Updated dependencies in pom.xml... [INFO] [AppFuse] Renaming packages to 'com.engard'... [info] [AppFuse] Refactored all 'org.appfuse' packages and paths to 'com.engard'. [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] AppFuse Modular Application ........................... SUCCESS [12.184s] [INFO] AppFuse Modular Application - Core .................... SUCCESS [47.546s] [INFO] AppFuse Modular Application - Web (Struts 2) .......... SUCCESS [21.605s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 25 seconds [INFO] Finished at: Mon Aug 02 07:55:18 MDT 2010 [INFO] Final Memory: 20M/89M [INFO] ------------------------------------------------------------------------ On Aug 2, 2010, at 3:00 AM, Ferenc Engárd wrote: > I hope so. > > f...@fery-engineering:~$ java -version > java version "1.6.0_20" > Java(TM) SE Runtime Environment (build 1.6.0_20-b02) > Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) > f...@fery-engineering:~$ ls -l /etc/alternatives/java > lrwxrwxrwx 1 root root 36 2010-03-09 14:51 /etc/alternatives/java -> > /usr/lib/jvm/java-6-sun/jre/bin/java > f...@fery-engineering:~$ aptitude search java|grep ^i|grep sun > i A sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) > 6 ( > i sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6 > i A sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) > 6 ( > i sun-java6-plugin - The Java(TM) Plug-in, Java SE 6 > f...@fery-engineering:~$ set|grep JAVA > JAVA_HOME=/usr/lib/jvm/java-6-sun > > Thanks, > Ferenc > > On Mon, Aug 2, 2010 at 2:05 AM, Matt Raible <m...@raibledesigns.com> wrote: >> Hmmmm, I haven't seen this issue before. Are you using Sun's JDK? >> >> On Aug 1, 2010, at 5:46 PM, Ferenc Engárd <ferenc.eng...@gmail.com> wrote: >> >>> Hi all, >>> >>> First of all I would like to welcome everybody on this list, as this >>> is my first post. >>> >>> I tried to download and get the full-source of the modular struts >>> archetype, but encountered an error. Here is the commands and output >>> (I have cut a lot, tell me if you need the whole log): >>> >>> f...@fery-engineering:~/magan/zk/ws$ mvn archetype:generate -B >>> -DarchetypeGroupId=org.appfuse.archetypes >>> -DarchetypeArtifactId=appfuse-modular-struts-archetype >>> -DarchetypeVersion=2.1.0-M1 -DgroupId=com.engard >>> -DartifactId=zkproject >>> [...] >>> [INFO] BUILD SUCCESSFUL >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 1 minute 4 seconds >>> [INFO] Finished at: Mon Aug 02 01:28:15 CEST 2010 >>> [INFO] Final Memory: 13M/109M >>> [INFO] >>> ------------------------------------------------------------------------ >>> f...@fery-engineering:~/magan/zk/ws$ cd zkproject >>> f...@fery-engineering:~/magan/zk/ws/zkproject$ ls >>> core pom.xml README.txt src web >>> f...@fery-engineering:~/magan/zk/ws/zkproject$ mvn appfuse:full-source >>> [...] >>> Downloading: >>> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar >>> >>> [INFO] [appfuse:full-source {execution: default-cli}] >>> [INFO] [AppFuse] Source successfully exported, modifying pom.xml... >>> [INFO] [AppFuse] Adding dependencies from root module... >>> ----------------------------------------------------- >>> this realm = plexus.core >>> Number of imports: 0 >>> ----------------------------------------------------- >>> [ maven embedder WARNING] Unable to get resource 'junit:junit:pom:4.4' >>> from repository central (http://repo1.maven.org/maven2): Unsupported >>> Protocol: 'http': Cannot find wagon which supports the requested >>> protocol: http >>> ----------------------------------------------------- >>> this realm = plexus.core >>> Number of imports: 0 >>> ----------------------------------------------------- >>> [ maven embedder WARNING] Unable to get resource 'junit:junit:jar:4.4' >>> from repository central (http://repo1.maven.org/maven2): Unsupported >>> Protocol: 'http': Cannot find wagon which supports the requested >>> protocol: http >>> ----------------------------------------------------- >>> this realm = plexus.core >>> Number of imports: 0 >>> ----------------------------------------------------- >>> [ maven embedder WARNING] Unable to get resource >>> 'commons-collections:commons-collections:jar:3.2' from repository >>> spring-release (http://s3.amazonaws.com/maven.springframework.org/release): >>> Unsupported Protocol: 'http': Cannot find wagon which supports the >>> requested protocol: http >>> [...] >>> org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: >>> Missing: >>> ---------- >>> 1) junit:junit:jar:4.4 >>> >>> Try downloading the file manually from the project website. >>> >>> Then, install it using the command: >>> mvn install:install-file -DgroupId=junit -DartifactId=junit >>> -Dversion=4.4 -Dpackaging=jar -Dfile=/path/to/file >>> >>> Alternatively, if you host your own repository you can deploy the file >>> there: >>> mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit >>> -Dversion=4.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] >>> -DrepositoryId=[id] >>> >>> Path to dependency: >>> 1) org.appfuse:appfuse:pom:2.1.0-M1 >>> 2) junit:junit:jar:4.4 >>> >>> 2) commons-collections:commons-collections:jar:3.2 >>> >>> Try downloading the file manually from the project website. >>> >>> Then, install it using the command: >>> mvn install:install-file -DgroupId=commons-collections >>> -DartifactId=commons-collections -Dversion=3.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=commons-collections >>> -DartifactId=commons-collections -Dversion=3.2 -Dpackaging=jar >>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>> >>> Path to dependency: >>> 1) org.appfuse:appfuse:pom:2.1.0-M1 >>> 2) org.springframework.security:spring-security-core-tiger:jar:2.0.4 >>> 3) org.springframework.security:spring-security-core:jar:2.0.4 >>> 4) commons-collections:commons-collections:jar:3.2 >>> >>> ---------- >>> 2 required artifacts are missing. >>> >>> for artifact: >>> org.appfuse:appfuse:pom:2.1.0-M1 >>> >>> from the specified remote repositories: >>> central (http://repo1.maven.org/maven2), >>> appfuse-snapshots >>> (http://oss.sonatype.org/content/repositories/appfuse-snapshots) >>> [...] >>> >>> >>> Ubuntu 9.10, Apache Maven 2.2.1 (rdebian-1), empty local repository (I >>> deleted the .m2 dir), empty (default) global settings.xml, missing >>> user settings.xml. >>> >>> I have found similar issues, but no solutions, especially not for >>> ubuntu. Any ideas? >>> >>> Ferenc >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net