Re: Antrun and profiles

2009-10-15 Thread Sven Preßler
I just found http://jira.codehaus.org/browse/MNG-1847 and http://jira.codehaus.org/browse/MNG-1701 This doesn't solve my problem, but answers my question, I think. --Sven 2009/10/15 Sven Preßler sven.press...@gmail.com Hi, I've got 2 antrun tasks: The first one should delete some files

Antrun and profiles

2009-10-15 Thread Sven Preßler
Hi, I've got 2 antrun tasks: The first one should delete some files, the second copies some files. The copy-task is in a profile, since I don't need it every time. However, if I need it, the configuration of the ant-tasks get merged. Apart from the problem that the tasks get merged in the wrong

Re: Antrun and profiles

2009-10-15 Thread Sven Preßler
executions execution .. execution executions configuration .. configuration /plugin 2009/10/15 Sven Preßler sven.press...@gmail.com Hi, I've got 2 antrun tasks: The first one should delete some files, the second copies some files. The copy-task is in a profile, since

Re: Antrun and profiles

2009-10-15 Thread Sven Preßler
2009/10/15 Jörg Schaible joerg.schai...@gmx.de and you can define the phase for an execution. Typically a delete task can be run in the clean phase while copy is often something for generate-resources. yes, I did that already as I saw that the above solution worked perfectly, but thanks

Re: Including a local jar

2009-09-10 Thread Sven Preßler
Hi, There is a difference between dependencies and dependencyManagement, see [1]. dependencyManagement manages versions of dependencies, it doesn't include them. In this case: just discard the dependencyManagement-tag and it should work. -Sven [1]

Re: Can we write a custom webapp plugin that uses the war plugin and its configruation?

2009-08-26 Thread Sven Preßler
Hi Jörg, never thought of that, thanks. Didn't have any problems so far, though. -Sven 2009/8/26 Jörg Schaible joerg.schai...@gmx.de Hi Sven, Sven Preßler wrote: You might want to take a look at the maven-inherit-plugin: http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin

Re: Can aggregator be other type than pom?

2009-08-25 Thread Sven Preßler
What's so bad about having one extra pom for your project structure? 2009/8/25 Edelson, Justin justin.edel...@mtvstaff.com no. not sure about that: In a project with packagingpom/packaging you could define a build/ tag and do some stuff. So it is possible to do something like this: POMA

Re: Can we write a custom webapp plugin that uses the war plugin and its configruation?

2009-08-25 Thread Sven Preßler
You might want to take a look at the maven-inherit-plugin: http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/ -Sven 2009/8/25 Anil-C achalamalase...@gmail.com I am trying to create a new plugin webapp with two goals clean and refresh to extend the functionality of the

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Sven Preßler
hmm, no response for a week, I guess that answers my question with 'no, no, yes'... 2009/8/12 Sven Preßler sven.press...@gmail.com Hello, I'm currently using maven 2.0.9. I've got a project X which uses a Plugin my-plugin with version 1.0-SNAPSHOT. How do I force maven to update

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Sven Preßler
2009/8/20 Stephen Connolly stephen.alan.conno...@gmail.com 2009/8/12 Sven Preßler sven.press...@gmail.com: Hello, I'm currently using maven 2.0.9. I've got a project X which uses a Plugin my-plugin with version 1.0-SNAPSHOT. How do I force maven to update this plugin from

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Sven Preßler
2009/8/20 Sven Preßler sven.press...@gmail.com: 2009/8/20 Stephen Connolly stephen.alan.conno...@gmail.com 2009/8/12 Sven Preßler sven.press...@gmail.com: Hello, I'm currently using maven 2.0.9. I've got a project X which uses a Plugin my-plugin with version 1.0-SNAPSHOT

Problem with updating non-unique snapshot versions of a plugin

2009-08-12 Thread Sven Preßler
Hello, I'm currently using maven 2.0.9. I've got a project X which uses a Plugin my-plugin with version 1.0-SNAPSHOT. How do I force maven to update this plugin from the repository, no matter what? I tried the following: make some changes to the plugin, build it with mvn package and upload the