Hi Tim, That was the hint I needed! Actually I thought that I can't use m2eclipse since I don't have eclipse projects yet :)
Thank you and thanks to Norman again. Kind regards, Mario >-----Ursprüngliche Nachricht----- >Von: Tim-Christian Mundt [mailto:[email protected]] >Gesendet: Mittwoch, 13. Januar 2010 11:34 >An: James Developers List >Betreff: Re: AW: James eclipse projects > >Mario, > >you can create the eclipse project from within the subdirectories. >Suppose you want to work on the jpa module: >cd jpa >mvn eclipse:eclipse >This will create the project for the jpa module. > >OR, as Norman already suggested: m2eclipse works really well and can >import Maven projects (instead of Eclipse projects), so there is no need >to explicitely create them. > >Best >Tim > > >Mario Zsilak schrieb: >> 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] >> > > >--------------------------------------------------------------------- >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]
