As suggested in the tutorial,

I created the tapestry archetype with the following command:
mvn archetype:create -DarchetypeGroupId=org.appfuse .archetypes -
DarchetypeArtifactId=appfuse-modular-tapestry -DremoteRepositories=
http://static.appfuse .org/releases -DarchetypeVersion=2.0 -DgroupId=
com.mycompany.app -DartifactId=AppfuseTapestry

Then I ran:
mvn eclipse:eclipse
for using this project with eclipse.

Unfortunately, this error happened:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 updates from appfuse
Downloading: http://repo1.maven.org/maven2/com/mycompany/app/AppfuseTapestry
-core/1.0-SNAPSHOT/AppfuseTapestry-core-1.0-SNAPSHOT.jar
Downloading: http://static.appfuse.org/repository/com/mycompany/app/
AppfuseTapestry -core/1.0-SNAPSHOT/AppfuseTapestry-core-1.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.mycompany.app:AppfuseTapestry -core:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.mycompany.app -DartifactId=
AppfuseTapestry-core \
          -Dversion=1.0-SNAPSHOT -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.mycompany.app -DartifactId
=AppfuseTapestry-core \
          -Dversion =1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
           - Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.mycompany.app:AppfuseTapestry-webapp:war:1.0-SNAPSHOT
        2) com.mycompany.app:AppfuseTapestry-core:jar:1.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  com.mycompany.app:AppfuseTapestry-webapp:war:1.0-SNAPSHOT

from the specified remote repositories:
  appfuse ( http://static.appfuse.org/repository),
  central (http://repo1.maven.org/maven2 )
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


I wonder what could be wrong.

Regards,
Marc

Reply via email to