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

Reply via email to