Re: [m2] compiling a generic method with maven fails

2008-03-08 Thread Adrian Herscu
VUB Stefan Seidel wrote: Now, I discovered that under Maven 2 with the following maven-compiler-plugin configuration: 1.6 1.6 Add true Stefan Why should that work? Adrian. - To un

How can I use snapshot version when deploying application?

2008-03-08 Thread youhaodeyi
This is my distributionManagement section of pom.xml: local deploy Repository Name ftp://192.168.1.100/deploy repo Repository Name file://d:/snapshot

Re: generate jar with exec:java and install it

2008-03-08 Thread Wayne Fay
I'd write a proper plugin. Its really simple. Wayne On 3/8/08, Jan Torben Heuer <[EMAIL PROTECTED]> wrote: > Dennis Lundberg wrote: > > > Just out of curiosity, why would you want to use exec-maven-plugin to > > create a jar-file instead of maven-jar-plugin? > > Creating java beans from rdf files

RE: How can I download all the packages from a remote repository?

2008-03-08 Thread Brian E. Fox
Umm, see my message below. Scraping the entire repo will get you blocked. Use a repository manager if you need to be network independent. -Original Message- From: youhaodeyi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2008 2:05 AM To: users@maven.apache.org Subject: RE: How can I

RE: Re: Downloading Sources

2008-03-08 Thread Brian E. Fox
Actually dependency:sources will do it too. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jan Torben Heuer Sent: Saturday, March 08, 2008 2:25 PM To: users@maven.apache.org Subject: Re: Downloading Sources Alan Gutierrez wrote: > I am able to download sources using

Re: generate jar with exec:java and install it

2008-03-08 Thread Jan Torben Heuer
Dennis Lundberg wrote: > Just out of curiosity, why would you want to use exec-maven-plugin to > create a jar-file instead of maven-jar-plugin? Creating java beans from rdf files. Like xmlbeans does it from xsd files. However xmlbeans produces class files and my compiler a jar file. Jan --

Re: Reporting of multi-module project

2008-03-08 Thread Ingo Düppe
Hi, thx, but this doesn't help me. My problem is that andromda-maven-plugin will run once or even more for each report plugin in the reporting section. Each code generation will take two minutes and more. So the best way would be to stop the andromda-maven-plugin during site generation. Thi

Re: generate jar with exec:java and install it

2008-03-08 Thread Dennis Lundberg
Just out of curiosity, why would you want to use exec-maven-plugin to create a jar-file instead of maven-jar-plugin? Jan Torben Heuer wrote: Hi, I can generate a jarfile with exec:java org.codehaus.mojo e

generate jar with exec:java and install it

2008-03-08 Thread Jan Torben Heuer
Hi, I can generate a jarfile with exec:java org.codehaus.mojo exec-maven-plugin

Re: Downloading Sources

2008-03-08 Thread Jan Torben Heuer
Alan Gutierrez wrote: > I am able to download sources using ... > > mvn eclipse:eclipse -DdownloadSources=true > > How can I do this without regenerating .classpath and .project ? mvn dependency:resolve -DdownloadSources=true (for example) will keep the eclipse configuration untouched. Jan -

Downloading Sources

2008-03-08 Thread Alan Gutierrez
I am able to download sources using ... mvn eclipse:eclipse -DdownloadSources=true How can I do this without regenerating .classpath and .project ? -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/ -

Re: is there a POM Java API?

2008-03-08 Thread Nick Stolwijk
I know that the Release plugin does POM changes (version), so I would look in their sourcecode how they do it. With regards, Nick S. konkere wrote: hi there. my question is simple: has Maven got a reusable API to do with POM fiddling? what i want to do is to integrate mvn with our existing b

Re: Reporting of multi-module project

2008-03-08 Thread simon
On Sat, 2008-03-08 at 17:44 +0100, Ingo Düppe wrote: > Hello, > > I like to exclude some of my modules within my multi-module projects > from beeing considered by report generating. For instance, I do like to > generate a aggregated javadoc report for all jar modules but not of the > model - m

Reporting of multi-module project

2008-03-08 Thread Ingo Düppe
Hello, I like to exclude some of my modules within my multi-module projects from beeing considered by report generating. For instance, I do like to generate a aggregated javadoc report for all jar modules but not of the model - module of andromda. So how can I configure which modules should

Re: How can I download all the packages from a remote repository?

2008-03-08 Thread Wayne Fay
Does that sound like a reasonable thing the Maven developers would have implemented?? "This project depends on all artifactIds in all groupIds with all/any versions." No chance. Wayne On 3/8/08, youhaodeyi <[EMAIL PROTECTED]> wrote: > > Can I write the dependency with wildcard characters? For ex

is there a POM Java API?

2008-03-08 Thread konkere
hi there. my question is simple: has Maven got a reusable API to do with POM fiddling? what i want to do is to integrate mvn with our existing build/release system and especially generate/automatically correct POMs. and i just don't want to deal with parsing and validating POMs myself, so i wond