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

Reply via email to