I am having a problem generating eclipse project files for this
project. It appears that the pom.xml is referencing "1.0.0-SNAPSHOT"
instead of "1.0-incubator-SNAPSHOT". Am I doing something wrong, or
is this a problem?
As I get this error, I wonder why the ftplet-api is required to be
downloaded. Since its a submodule for the project, why not just
reference it in the pom.xml like the MINA subprojects reference the
MINA trunk pom.xml.
Anyhow, here is the error. I am running maven 2.0.8 on OS X 10.5.2.
-------------------- BEGIN ERROR ------------------------
[INFO] Preparing eclipse:eclipse
[INFO] [enforcer:enforce {execution: default}]
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ftpserver/ftplet-api/1.0.0-SNAPSHOT/ftplet-api-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.ftpserver:ftplet-api:jar:1.0.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.ftpserver
-DartifactId=ftplet-api -Dversion=1.0.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=org.apache.ftpserver
-DartifactId=ftplet-api -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.ftpserver:ftpserver-core:jar:1.0.0-SNAPSHOT
2) org.apache.ftpserver:ftplet-api:jar:1.0.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.ftpserver:ftpserver-core:jar:1.0.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Feb 25 23:18:53 EST 2008
[INFO] Final Memory: 12M/22M
[INFO] ------------------------------------------------------------------------