Maven project in IDEA

2008-05-04 Thread FlashXL
How can I generate POM-file form existing IDEA project? -- View this message in context: http://www.nabble.com/Maven-project-in-IDEA-tp17043607s177p17043607.html Sent from the Maven - Users mailing list archive at Nabble.com.

Maven project in IDEA

2008-05-04 Thread FlashXL
How can I generate POM-file form existing IDEA project? -- View this message in context: http://www.nabble.com/Maven-project-in-IDEA-tp17043606s177p17043606.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Maven project in IDEA

2008-05-04 Thread Maria Odea Ching
I don't think the maven-idea-plugin has support for this. It can only generate IDEA descriptor files from a maven project but not the other way around. Sounds like a good feature for the idea plugin though, you can file a new feature request for it in jira :-) Thanks, Deng On Sun, May 4, 2008 at

Re: Maven project in IDEA

2008-05-04 Thread Tim Kettler
FlashXL schrieb: How can I generate POM-file form existing IDEA project? I don't think this is possible at the moment. Neither the maven provided idea plugin nor IDEA itself support this. There was a 'Idea Maven2 Kick Start Plugin' mentioned for last years plugin contest [1] but I don't

GMaven 1.0-rc-1 released

2008-05-04 Thread Jason Dillon
The latest incarnation of Groovy support for Maven, GMaven has been released! This is the first release of the code-base since it was moved from the Mojo project to the Groovy project. For more details on whats included in this release please see the release notes:

Re: [groovy-user] GMaven 1.0-rc-1 released

2008-05-04 Thread Jason Dillon
Thanks, fixed. --jason On May 4, 2008, at 3:43 PM, Russel Winder wrote: On Sun, 2008-05-04 at 15:14 +0700, Jason Dillon wrote: The latest incarnation of Groovy support for Maven, GMaven has been released! This is the first release of the code-base since it was moved from the Mojo project to

Re: maven ant task, copy local libs

2008-05-04 Thread Hervé BOUTEMY
Hi Roman, If I understand what you're trying to do, I'd say it's the same as the Declaring Dependencies section of the documentation: http://maven.apache.org/ant-tasks.html look at For example, to populate WEB-INF/lib with your dependencies you could use the following: If the doc is not

Can't run ant task in maven 2.0.9

2008-05-04 Thread Matthew Milliss
I've just installed maven 2.0.9 and added the 2.0.9 Maven tasks for ant into my ant install lib directory (ant 1.7) and now when I run my antrun plugin it fails with the message: Embedded error: The following error occurred while executing this line:

Re: Forcing the execution of a phase before a goal

2008-05-04 Thread carioca
Hi, I am still looking for a solution to this problem. Can anyone help? Thanks. -- View this message in context: http://www.nabble.com/Forcing-the-execution-of-a-phase-before-a-goal-tp16005279s177p17046880.html Sent from the Maven - Users mailing list archive at Nabble.com.

RE: Can't run ant task in maven 2.0.9

2008-05-04 Thread Brian E. Fox
Can you try to isolate this to the Ant task or Maven update? Ie don't update them both at the same time and see which one actually causes the breakage. -Original Message- From: Matthew Milliss [mailto:[EMAIL PROTECTED] Sent: Sunday, May 04, 2008 5:14 AM To: users@maven.apache.org

Re: Forcing the execution of a phase before a goal

2008-05-04 Thread carioca
Hi, I am still looking for a solution to this problem. Can anyone help? Thanks. -- View this message in context: http://www.nabble.com/Forcing-the-execution-of-a-phase-before-a-goal-tp16005279s177p17047261.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Forcing the execution of a phase before a goal

2008-05-04 Thread Tim Kettler
Hi carioca, A maven build consists of a lifecycle. A lifecycle is defined by an ordered list of phases (like compile, test, install ...) each phase execution includes the execution of all other phases before it. And finally there are goals that are bound to a specific phase of the lifecycle.

RE: Forcing the execution of a phase before a goal

2008-05-04 Thread Brian E. Fox
Can you include your poms to take a look at? I went back to see your original message and it looks like you're on the right track, but without seeing the whole picture it's hard to say why it's not working. -Original Message- From: carioca [mailto:[EMAIL PROTECTED] Sent: Sunday, May 04,

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: I have a plugin config to fix the version numbers of OSGi bundles for snapshot version. Eg. change 1.1.0-SNAPSHOT to 1.1.0.SNAPSHOT. The full plugin config is shown at the end of this message. It works by: - unzipping the bundle jar - fixing the

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Maybe timing related...? As an experiment, inserting a sleep second=10 / between the unzip and the replace worked for all of the projects except for the two latest projects (which consistently failed). But 1. I still don't know why the two last

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: [snip! Things that didn't work] I added a delete of the original jar file, before the zip task, and then it worked. Ie. unzip replace delete zip So it was probably something about zip and overwriting of the existing file that caused the flaky behaviour.

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Jason van Zyl
Does it work in a simple ant script. On 4-May-08, at 9:47 AM, Steinar Bang wrote: Steinar Bang [EMAIL PROTECTED]: [snip! Things that didn't work] I added a delete of the original jar file, before the zip task, and then it worked. Ie. unzip replace delete zip So it was probably something

Re: [POLL] Why are you not able to use the most recent maven release?

2008-05-04 Thread Wendy Smoak
On Fri, Mar 7, 2008 at 5:22 PM, Wendy Smoak [EMAIL PROTECTED] wrote: Some time after 2.0.5, Maven seems to have lost the ability to deal with multiple repositories containing different versions of the same plugin. For example: * a 'third-party' repository with maven-whatever-plugin

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Steinar Bang
Jason van Zyl [EMAIL PROTECTED]: Does it work in a simple ant script. You mean to just do: unzip replace zip ? I don't know. I haven't tried (I don't know ant very well, outside of googling for ant tasks, to be put inside a tasks configuration element of antrun executions...).

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Jason van Zyl
Just trying to determine if it's a Ant problem, or an Ant inside Maven problem. On 4-May-08, at 11:08 AM, Steinar Bang wrote: Jason van Zyl [EMAIL PROTECTED]: Does it work in a simple ant script. You mean to just do: unzip replace zip ? I don't know. I haven't tried (I don't know ant

Re: Flaky antrun:run behaviour with unzip and zip

2008-05-04 Thread Steinar Bang
Jason van Zyl [EMAIL PROTECTED]: Just trying to determine if it's a Ant problem, or an Ant inside Maven problem. If the behaviour wasn't so unpredictable, I would have tried to create a simple test case to make it appear, and then reported the issue to antrun, and if it was revealed to be an

Re: Can't run ant task in maven 2.0.9

2008-05-04 Thread Hervé BOUTEMY
and give the exact version of the maven-antrun-plugin used Le dimanche 04 mai 2008, Brian E. Fox a écrit : Can you try to isolate this to the Ant task or Maven update? Ie don't update them both at the same time and see which one actually causes the breakage. -Original Message- From:

Re: Can't run ant task in maven 2.0.9

2008-05-04 Thread Matt Milliss
The problem only happens with maven 2.0.9. If I rollback maven to 2.0.8 it works fine with ant tasks 2.0.9. And maven 2.0.9 still doesn't work with ant tasks 2.0.8. The maven antun plugin version is 1.1. I even tried rolling ant back to 1.6.5 as I noticed that the antrun plugin has a

[Assembly] Creating Source Archive

2008-05-04 Thread Gregg Bolinger
I'm using the Assembly plugin 2.2-beta-1 (because beta-2 is doubling all the dependency JARs) and am trying to create an archive that contains the source code of all my modules. This is the assembly file I am using: assembly idsrc/id formats formattar.gz/format /formats

Re: Central Repo Issues?

2008-05-04 Thread Brett Porter
I can't see any issues. Perhaps it was metadata in your local repository that got corrupted? - Brett 2008/5/2 Randall Fidler [EMAIL PROTECTED]: Hello, Has something occurred recently (past few days) with the maven central server? Project was working fine then it starting

Assembly outputDirectory and filtering - possible to access major and minor versions?

2008-05-04 Thread noahz_tt
I have an assembly descriptor with the following line: outputDirectory${artifactId}-${artifact.version}/outputDirectory Which works fine. However, I would like to do the following: outputDirectory${artifactId}-${artifact.version.major}.${artifact.version.minor}/outputDirectory which doesn't