getting a pom property value in runtime

2010-02-21 Thread eyal edri
hi, is it possible to read a property that is calculated by maven in runtime: modelVersion4.0.0/modelVersion groupIdcom.company.install/groupId artifactIdJavaInstaller/artifactId packagingpom/packaging version0.0.2-SNAPSHOT/version nameJava Installer/name descriptionInstaller for

Help with appessembler plugin

2010-02-21 Thread Ryan Connolly
Greetings fellow maven-appassembler-plugin users, This question may be more relevant to the JSW lists so that was the first place I turned to pose this question. As I've seen zero activity from that list I'm hoping someone familiar with the m-a-p and the generate-daemons goal for jsw platform

Re: building, installing, using maven COMPLETELY OFFLINE (setting up local mini repository)

2010-02-21 Thread eyal edri
you can also try artifactory: http://www.jfrog.org/products.php http://www.jfrog.org/products.phpvery nice and easy repository. Eyal. On Thu, Feb 18, 2010 at 5:25 PM, Ron Wheeler rwhee...@artifact-software.com wrote: Brett Porter wrote: I run a repository manager (Archiva) on my local

Re: getting a pom property value in runtime

2010-02-21 Thread eyal edri
I found a cool way to iterate pom's dependencies with GMaven: *project.dependencies.each () {* *log.info(extracting project ${it.artifactId} version ${it.version})* * }* but still, it gives me the predefined literal version: (0.0.1-SNAPSHOT,), instead of the range calculated one: 0.0.16

Re: getting a pom property value in runtime

2010-02-21 Thread Stephen Connolly
the problem with that us always going to be transitives... if I depend on your module, unless I know how to get the property values, I will be unable to get your transitive dependencies... so as such the only way maven could determine what your transitive dependencies are, would be to fire

Re: getting a pom property value in runtime

2010-02-21 Thread eyal edri
Well, i think some won't like my end goal, saying it's not the MAVEN WAY, or say that maven was not designed for it. but i'll explain nonetheless, since some might like the idea and make use of it also. In the beginning there were a few friends: Perl, MAKE and RPM. they all played together and

[ANN] Maven EAR Plugin 2.4.1 Released

2010-02-21 Thread Stephane Nicoll
The Maven team is pleased to announce the release of the Maven EAR Plugin, version 2.4.1 This version fixes namely a regression in the application.xml compliance introduced in 2.4. http://maven.apache.org/plugins/maven-ear-plugin/ You should specify the version in your project's plugin

Re: Help with appessembler plugin

2010-02-21 Thread rynam0
I've solved this and as usual it was my silly mistake... i was not calling setThreshold(Priority p) on the NTEventLogAppender... sorry for the noise, folks. rynam0 wrote: Greetings fellow maven-appassembler-plugin users, This question may be more relevant to the JSW lists so that was the

tomcat blocks maven

2010-02-21 Thread Douglas Ferguson
I have a pre-integration-test execution of the ant task plugin that installs my snapshot so that the integration tests can run against the new snapshot. After my install script exits maven hangs. I tracked this down to the fact that my install script stops and starts tomcat. If I stop tomcat at

Re: getting a pom property value in runtime

2010-02-21 Thread Stephen Connolly
there is a different getter that should give you the correct one... or you might have to run through project.artifacts. certainly you can get the info from a java based maven plugin, not sure about the gmaven bindings Sent from my [rhymes with tryPod] ;-) On 21 Feb 2010, at 13:51, eyal

Re: getting a pom property value in runtime

2010-02-21 Thread Stephen Connolly
I think that your goal is a noble one, but also one that most likely cannot be generically solved by a single plugin... you can certainly solve it for your company with a single plugin. for example, we have a virtual machine based solution to which our EAR and RARs and custom thingamys

Manually installing artifacts - Maven 1

2010-02-21 Thread David Nemer
Hello Everyone, I'm using Maven 1 to build some projects, and it can't download a JAR. - Attempting to download jdom:jdom:b10:jar from http://repo1.maven.org/maven How do I manually install that to Maven 1? Thank you in advance -- David Nemer Sent from Saarbrucken, SL, Germany

[ANN] Maven Filtering 1.0-beta-4 Released

2010-02-21 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of Maven Filtering, version 1.0-beta-4. Maven Filtering is an API that allows plugin developers to filter text-based resources using values supplied by a MavenProject instance, a MavenSession instance, and an arbitrary set of properties files.

[ANN] Maven Resources Plugin 2.4.2 Released

2010-02-21 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Resources Plugin, version 2.4.2. This plugin filters non-Java resource files, replacing expressions with values from the POM or any of the filtering properties files you choose to configure. Please see the plugin's site for details:

Re: Manually installing artifacts - Maven 1

2010-02-21 Thread Siegfried Goeschl
Hi David, +) copy the library to ~/.maven/repository/jdom/jars/jdom-b10.jar +) migrate to M2 if possible because M1 know-how is becoming difficult to find Cheers, Siegfried Goeschl David Nemer wrote: Hello Everyone, I'm using Maven 1 to build some projects, and it can't download a JAR. -

Re: Manually installing artifacts - Maven 1

2010-02-21 Thread David Nemer
Works fine! Thank you! The project I'm building.. builds up with maven 1.. is it possible to build maven 1 projects with maven 2? Cheers, -- David Nemer Sent from Saarbrucken, SL, Germany On Sun, Feb 21, 2010 at 9:55 PM, Siegfried Goeschl siegfried.goes...@it20one.at wrote: Hi David, +)

Re: Manually installing artifacts - Maven 1

2010-02-21 Thread Wayne Fay
The project I'm building.. builds up with maven 1.. is it possible to build maven 1 projects with maven 2? Sure, just convert it to M2's pom.xml etc. ;-) Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: Manually installing artifacts - Maven 1

2010-02-21 Thread Siegfried Goeschl
Well, the migration takes some time depending on your Maven 1 2 know-how but +) the central M1 repo is not properly maintained any longer +) my IntelliJ project generation was somehow broken +) using M2 transitive dependencies is a huge plus Cheers, Siegfried Goeschl I spend two days this

Releasing parent poms

2010-02-21 Thread jcaddel
Could someone from the dev team possibly post the sequence of commands used to release parent poms such as: http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml I've read the http://maven.apache.org/plugins/maven-release-plugin/faq.html faq that talks about using -N mvn -N

Re: Releasing parent poms

2010-02-21 Thread Benson Margulies
There's a much simpler solution. Don't aggregate through your parent. Don't put modules in it. Put it in directory by itself, and then the release process is completely straightforward. On Sun, Feb 21, 2010 at 7:56 PM, jcaddel jcad...@yahoo.com wrote: Could someone from the dev team possibly

Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-21 Thread Kai Hackemesser
Hi, I would like to execute another Mojo (the ResolveDependenciesMojo) from inside my own Mojo. I wasn't yet successful in adding it with the @component annotation. What is a proper way to do that? Cheers, Kai

Re: Releasing parent poms

2010-02-21 Thread jcaddel
snip There's a much simpler solution. Don't aggregate through your parent. Don't put modules in it. Put it in directory by itself, and then the release process is completely straightforward. snip That would make the releasing of a standalone parent pom easier, but isn't what I am looking for.

Re: Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-21 Thread James William Dumay
Hey Kai, You might want to checkout the Mojo Executor project :) http://code.google.com/p/mojo-executor/ James Kai Hackemesser wrote: Hi, I would like to execute another Mojo (the ResolveDependenciesMojo) from inside my own Mojo. I wasn't yet successful in adding it with the @component

Re: tomcat blocks maven

2010-02-21 Thread Anders Hammar
Why aren't you using a real maven plugin to start tomcat and to deploy to tomcat? http://mojo.codehaus.org/tomcat-maven-plugin/ or http://cargo.codehaus.org/Maven2+plugin /Anders On Sun, Feb 21, 2010 at 17:33, Douglas Ferguson doug...@douglasferguson.uswrote: I have a pre-integration-test