Hi Again, Thanks for the help so far ...
The command "mvn eclipse:eclipse" fails :( I did the following steps: -) svn checkout from trunk -) cd stage -) mvn clean compile (fails with commons-logging and commons-collection missing, however I did this manual import: "mvn install:install-file -DgroupId=commons-collections -DartifactId=commons-collections -Dversion=3.1 -Dpackaging=jar -Dfile=/path/to/file" and issue "mvn clean compile" again) -) cd .. -) mvn clean package -) mvn eclipse:eclipse (fails with the following output:) [INFO] ------------------------------------------------------------------------ [INFO] Building Apache JAMES Server User Library [INFO] task-segment: [eclipse:eclipse] [INFO] ------------------------------------------------------------------------ [INFO] Preparing eclipse:eclipse Downloading: http://repo1.maven.org/maven2/org/apache/james/james-server-core-api/3.0-M1/ james-server-core-api-3.0-M1.jar [INFO] Unable to find resource 'org.apache.james:james-server-core-api:jar:3.0-M1' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/james/james-server-common-util/3.0- M1/james-server-common-util-3.0-M1.jar [INFO] Unable to find resource 'org.apache.james:james-server-common-util:jar:3.0-M1' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/james/james-server-user-api/3.0-M1/ james-server-user-api-3.0-M1.jar [INFO] Unable to find resource 'org.apache.james:james-server-user-api:jar:3.0-M1' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/james/james-server-domain-api/3.0-M 1/james-server-domain-api-3.0-M1.jar [INFO] Unable to find resource 'org.apache.james:james-server-domain-api:jar:3.0-M1' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.james:james-server-core-api:jar:3.0-M1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.james -DartifactId=james-server-core-api -Dversion=3.0-M1 -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.james -DartifactId=james-server-core-api -Dversion=3.0-M1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.james:james-server-user-library:jar:3.0-M1 2) org.apache.james:james-server-core-api:jar:3.0-M1 2) org.apache.james:james-server-common-util:jar:3.0-M1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.james -DartifactId=james-server-common-util -Dversion=3.0-M1 -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.james -DartifactId=james-server-common-util -Dversion=3.0-M1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.james:james-server-user-library:jar:3.0-M1 2) org.apache.james:james-server-common-util:jar:3.0-M1 3) org.apache.james:james-server-user-api:jar:3.0-M1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.james -DartifactId=james-server-user-api -Dversion=3.0-M1 -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.james -DartifactId=james-server-user-api -Dversion=3.0-M1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.james:james-server-user-library:jar:3.0-M1 2) org.apache.james:james-server-user-api:jar:3.0-M1 4) org.apache.james:james-server-domain-api:jar:3.0-M1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.james -DartifactId=james-server-domain-api -Dversion=3.0-M1 -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.james -DartifactId=james-server-domain-api -Dversion=3.0-M1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.james:james-server-user-library:jar:3.0-M1 2) org.apache.james:james-server-domain-api:jar:3.0-M1 ---------- 4 required artifacts are missing. for artifact: org.apache.james:james-server-user-library:jar:3.0-M1 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), central (http://repo1.maven.org/maven2) ------------------------------------------------------- Any hint is appreciated. Kind regards, Mario >-----Ursprüngliche Nachricht----- >Von: Norman Maurer [mailto:[email protected]] Im Auftrag von >Norman Maurer >Gesendet: Dienstag, 12. Januar 2010 22:20 >An: James Developers List >Betreff: Re: James eclipse projects > >Hi Mario, > >with maven there is the eclipse:eclipse goal: > ># mvn eclipse:eclipse > >If you work with eclipse anyway I would suggest installing the maven >eclipse plugin: > >http://m2eclipse.sonatype.org/ > >Bye, >Norman > >Am 12.01.2010 um 22:08 schrieb Mario Zsilak: > >> Hi all, >> >> I'm not a maven user (so far) and have no experience at all. >> >> AFAIK, there was an ant "target" to create eclipse projects from the >source. >> Now that ant got removed in favour of maven... Is there a similar >functionality in maven? >> >> Kind regards, >> Mario >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
