Re: Plugin configuration and property precedence question

2011-12-13 Thread Stephen Connolly
i think of it like so... if no value in plugin configuration in pom, then evaluate expression, if expression evaluates to null, then use default value, if still here, don't inject into the field (so the fields initializer from the jvm/class applies) - Stephen --- Sent from my Android phone, so

Re: Failed to determine Java version for profile jdk* @

2011-12-13 Thread Stephen Connolly
sounds like cxf have been really bold and are adding deps in a profile - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 14 Dec 2011 00:02, jaybytez jayby...@yahoo.com wrote:

Re: Failed to determine Java version for profile jdk* @

2011-12-13 Thread Stephen Connolly
, Dec 13, 2011 at 7:24 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: sounds like cxf have been really bold and are adding deps in a profile Yes indeed. *purely for testing* we have profiles that change the dependencies. Got another suggestion? - Stephen --- Sent from my

Re: skip cobertura for a module

2011-12-12 Thread Stephen Connolly
Is it that the skip mojo is skipping the report but not the forked execution? On 12 December 2011 21:58, Jim McCaskey jim.mccas...@pervasive.com wrote: I created a small example of the problem and put it here: http://pastebin.com/QDhx2kVf Just run that pom.xml (I have tried Maven 2.2.1 and

[ANN] Mojo's Mock Repository Manager Maven Plugin 1.0-alpha-1 released

2011-12-09 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of the Mock Repository Manager version 1.0-alpha-1. The Mock Repository Manager suite of projects are used to provide mock or lightweight Maven Repository Managers for use during integration testing of Maven plugins. http://mojo.codehaus.org/mrm

Re: web-app version in all app screens

2011-12-08 Thread Stephen Connolly
It doesn't. You can use Maven to help get the application version into a property file on the classpath of the webapp. (Just as you can use other build tools... but it is trivially easy with Maven (as it does this by default /META-INF/maven/groupId/artifactId/pom.properties there is a property

Re: Building war for different project structure from maven j2ee statndard one

2011-12-07 Thread Stephen Connolly
if you are not allowed to change the web app structure in any way, don't use maven... use ant. maven is opinionated... maven's opinion is the structure you want to follow is a load of rubbish... maven will fight you all the way... and any time you fight maven, you will loose. btw. with some

Re: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-06 Thread Stephen Connolly
at 8:07 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I know nothing about yuicompressor or it's maven plugin Hopefully somebody else can help you make some progress there, glad you have made progresss from where you were! -S On 5 December 2011 12:54, Ken Egervari

Re: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-06 Thread Stephen Connolly
on at the same time here, and I was thinking that perhaps I would figure this css problem before then. Ken On Tue, Dec 6, 2011 at 5:08 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I personally despise this habit people have of posting on stackoverflow rather than emailing

Re: Mvn Not Returning Error

2011-12-06 Thread Stephen Connolly
the line [exec] Result 1 is coming from Ant and saying mvn returned exit code 1 which is mvn saying i had an error looks like an issue with your ant tasks, maven is doing what you ask - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and

Re: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-05 Thread Stephen Connolly
just after it copies the webResources directory. If I can solve that, I think I am golden. But I don't know if that can be done. Ken On Sun, Dec 4, 2011 at 4:02 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: this is a perfect use case for profiles

Re: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-05 Thread Stephen Connolly
it was a filesystem security problem, but that isn't it either. I am genuinely baffled as to why this doesn't work. I would appreciate any assistance on this little problem too. After this, I'm good to go ;) Ken On Mon, Dec 5, 2011 at 4:39 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote

Re: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-04 Thread Stephen Connolly
this is a perfect use case for profiles. in the release profile you use yui-compress to copy them into the war in a development profile you add warResources to construct the war from the direct sources that (assuming the tomcat maven plugin is written right... jetty can do this for sure)

Re: Handling Non-Public runtime packages

2011-12-03 Thread Stephen Connolly
Ahhh well you should be able to use the pom's they have as templates for EAP 5.0 poms On 3 December 2011 01:10, Steve Cohen sco...@javactivity.org wrote: Sorry, it's our company who will not bless use of EAP 6.0 at all, but will bless it EAP 7.0 soon. Hopefully there will be Maven for that.

Re: writing a maven plugin that transparently adds a new source folder

2011-11-30 Thread Stephen Connolly
On 30 November 2011 22:45, Andrew Eisenberg andrew.eisenb...@gmail.comwrote: Sorry for asking so many questions, but I am now confused. When you say You must bind your mojo to a specific phase, where does this binding happen? Inside the pom associated with the mojo or inside the plugin

Re: writing a maven plugin that transparently adds a new source folder

2011-11-30 Thread Stephen Connolly
That just defined the default phase that the goal will bind to if you don't specify a phase... but you need to bind a goal to a phase in the consumer's pom or the packaging lifecycle On 30 November 2011 23:00, Jeff MAURY jeffma...@jeffmaury.com wrote: This is done through a Javadoc annotation

Re: download only sources

2011-11-28 Thread Stephen Connolly
Assembly plugin is your friend On 28 November 2011 12:16, Prashant Neginahal prashu.n...@gmail.com wrote: My requirements is actually zip the complete maven project not just sources. It should include maven folder structure (src/main..) and POM file in that. On Mon, Nov 28, 2011 at 5:12 PM,

Re: download only sources

2011-11-28 Thread Stephen Connolly
to deliver and use standard zip command. Or make sure it is only included it in the release build. I believe ASF releases do something like this. On Mon, Nov 28, 2011 at 13:18, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Assembly plugin is your friend On 28 November 2011 12:16

Re: versions plugin does not show the maven-jar-plugin 2.3.2 as a new version

2011-11-26 Thread Stephen Connolly
version is discovered, then blindly replace the ones in the super pom (which would be very dangerous of course). I just want to know they exists. Now...do the versions plugin have already the needed machinery to provide a functionality like this? 2011/11/25 Stephen Connolly stephen.alan.conno

Re: writing a maven plugin that transparently adds a new source folder

2011-11-25 Thread Stephen Connolly
either mandate a parent pom... they will have to reference your plugin in their pom and the execution from the pluginmgmt will be pulled in, or custom lifecycle (they will need to ref the plugin and set extensions to true... themselves the only two ways to skin the cat - Stephen --- Sent from

Re: How do I configure only certain tests to run during my integration-test phase?

2011-11-22 Thread Stephen Connolly
i suggest your life will be easier if you use failure to run the integration tests... easier still if all your integration tests end with IT instead of Test - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of

Re: How do I configure only certain tests to run during my integration-test phase?

2011-11-22 Thread Stephen Connolly
damn you autocorrect use failsafe not failure! what an epic #fail - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 22 Nov 2011 18:58, Stephen Connolly stephen.alan.conno

Re: maven-dependency-plugin fails when using maven's multi-thread feature

2011-11-21 Thread Stephen Connolly
the copy goal works best for dependencies outside the reactor. if your copying dependencies from within the reactor you should use the copy-dependencies goal instead (side effect is you will have to add the artifacts as dependencies thus giving maven the required build ordering info) - Stephen

Re: Migrating plugin to maven 3

2011-11-21 Thread Stephen Connolly
They should just work. M3 is supposed to be 99.999% compat with m2 Note the 0.001 is to cover the hacks people have used that they shouldn't On 21 November 2011 09:42, Eyal Goren eyalg1...@gmail.com wrote: Hi, I am using today maven 2, and would like to migrate to maven 3. I am having few

Re: Migrating plugin to maven 3

2011-11-21 Thread Stephen Connolly
no need to recompile... there is a need to re-test but not a major one! On 21 November 2011 11:05, Eyal Goren eyalg1...@gmail.com wrote: Hi, So- we don't need to re-compile them again using maven 3? just try and run? -- View this message in context:

Re: maven-dependency-plugin fails when using maven's multi-thread feature

2011-11-21 Thread Stephen Connolly
The only way to avoid is to have the upstream modules as dependencies of the downstream modules... IIRC I updated dependency:copy to consider the reactor as a source of dependencies, in which case you don't have to switch from dependency:copy to dependency:copy-dependencies... but you will still

Re: maven-dependency-plugin fails when using maven's multi-thread feature

2011-11-21 Thread Stephen Connolly
FYI I recall correctly... ;-) On 21 November 2011 12:45, Stephen Connolly stephen.alan.conno...@gmail.com wrote: The only way to avoid is to have the upstream modules as dependencies of the downstream modules... IIRC I updated dependency:copy to consider the reactor as a source of dependencies

Re: Maven surefire 2.11 release date

2011-11-21 Thread Stephen Connolly
i cannot recall if kristian is aiming fir an 8 or 12 week average cycle... but it is likely to be close to one of those... we are volunteers you know ;-) - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using

Re: What is the test list for mvn test?

2011-11-18 Thread Stephen Connolly
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#runOrder can make the order a bit more predictable, though the recommendation would be to use either random or hourly in order to ensure that there is no sequence relationships masking bad tests On 18 November 2011 10:14, Karl

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-15 Thread Stephen Connolly
. In our case it resides where the user has installed Weblogic. /Bengt 2011/11/11 Stephen Connolly stephen.alan.conno...@gmail.com On 11 November 2011 16:31, Wayne Fay wayne...@gmail.com wrote: System scoped dependencies are dead. Ignore their zombie like walking about

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-15 Thread Stephen Connolly
-Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: 15 November 2011 08:26 To: Maven Users List Subject: Re: Properties in settings.xml does not work for system scoped dependencies the correct scope for those deps should be provided imho. the problem you

Re: Execution control for self developed maven plugins

2011-11-15 Thread Stephen Connolly
execute the process-resources phase... but beware if you are binding your plugin to the lifecycle you would be better giving the default phase as process-resources rather than forking a lifecycle with @execute On 15 November 2011 10:28, Jan Bernhardt jbernha...@talend.com wrote: ** **

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-11 Thread Stephen Connolly
System scoped dependencies are dead. Ignore their zombie like walking about. Stop fighting maven and just install the jars into a repo On 11 November 2011 16:02, Bengt Rodehav be...@rodehav.com wrote: We are using maven 3.0.3 and have problems using property values defined in our local

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-11 Thread Stephen Connolly
On 11 November 2011 16:31, Wayne Fay wayne...@gmail.com wrote: System scoped dependencies are dead. Ignore their zombie like walking about. Stop fighting maven and just install the jars into a repo I agree, but shouldn't we kill system entirely at some point (I mean in the code) -- if we see

Re: maven-javadoc-plugin: command line argument files not supported?

2011-11-04 Thread Stephen Connolly
Did you look at the docs? http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#additionalparam On 4 November 2011 11:52, Rod Woo r...@gmx.de wrote: Hi, I want to read the values for the Javadoc options -bottom and -footer from files as suggested by

Re: Maven Project - in repository or in current modular project

2011-11-02 Thread Stephen Connolly
On 2 November 2011 09:06, Tim Mickelson mickel...@ietservizi.it wrote:  I want to write a plugin to maven that copies the flex modules from a flex project (type swf) which contains modules. This  because the flexmojos does not do this. My problem is that independent of how the flexmodules are

Re: Maven Project - in repository or in current modular project

2011-11-02 Thread Stephen Connolly
how I went about it so that future users searching this thread see me through.   Tim On 02/11/2011 10.15, Stephen Connolly wrote: On 2 November 2011 09:06, Tim Mickelson mickel...@ietservizi.it wrote:  I want to write a plugin to maven that copies the flex modules from a flex project (type

RE: How to use MAVEN Generated Artifacts in ANT Build.xml file ?

2011-11-02 Thread Stephen Connolly
maven ant tasks can be better for interoperability - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 2 Nov 2011 18:52, Jim McCaskey jim.mccas...@pervasive.com wrote: Hi

Re: Maven Antrun doesn't compile the project well.

2011-10-28 Thread Stephen Connolly
why not add a separate ant file that calls the ruby one and then forks maven to do the install to your repo - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 28 Oct 2011

Re: Trouble getting antrun plugin to run in package phase

2011-10-25 Thread Stephen Connolly
your tests are failing... so you never get past the test phase On 25 October 2011 14:34, laredotornado-3 laredotorn...@gmail.com wrote: Hi, I'm using Maven 3.0.3.  I'm trying to copy my WAR file to a container before I run integration tests.  So I thought I'd bind the copying of the WAR file

Re: Is there a workaround for this bug: http://jira.codehaus.org/browse/MRESOURCES-132

2011-10-25 Thread Stephen Connolly
How would such a build work on windows? When those resources get bundled up in a jar, there will not be execute permissions reflected in the jar. IOW the jar command does not store the extended permissions information that a zip file can hold. If you are looking to create zip files with

Re: writing a parent pom that does not execute its plugins

2011-10-20 Thread Stephen Connolly
On 20 October 2011 06:38, Dirk Olmes d...@xanthippe.ping.de wrote: On 20.10.2011, at 00:21, Ansgar Konermann wrote: Am 18.10.2011 13:28, schrieb Dirk Olmes: I am aware of the pluginManagement section but fail to see if it would help: I'd still have to list all the plugins to be executed in

Re: need a dependency with multiple scopes

2011-10-18 Thread Stephen Connolly
On 18 October 2011 11:20, mickael leduque mickael.leduque.se...@gmail.com wrote: Hello, I need to have the same dependency with two different scopes : test and provided. http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope provided This is

Re: How to build of an eclipse infocenter webapp with Maven

2011-10-18 Thread Stephen Connolly
/ -Stephen 2011/10/17 Arnaud Héritier aherit...@gmail.com: ok thx Stephen Let's see what we can do together (damned eclipse ecosystem ) Arnaud On Mon, Oct 17, 2011 at 3:45 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I was trying this earlier last week... Here's

[ANN] Mojo's Cassandra Maven Plugin 1.0.0-1 released

2011-10-18 Thread Stephen Connolly
The Mojo team is pleased to announce the release of Mojo's Cassandra Maven Plugin version 1.0.0-1. Mojo's Cassandra Plugin is used when you want to install and control a test instance of Apache Cassandra from within your Apache Maven build. The Cassandra Plugin has the following goals. *

Re: Java version compatibility for maven-dependency-plugin2.3

2011-10-18 Thread Stephen Connolly
m-d-p 2.2 2.3 Requires JRE 1.5 m-d-p 2.1 is the last version to work with 1.4 On 18 October 2011 15:17, Nazia Ghawte ngha...@premierfarnell.com wrote: Hi, Could anyone please tell me the if the maven-dependency-plugin(version 2.3) is incompatible with Java1.4? whenever i build my project

Re: EAR as WAR dependency?

2011-10-18 Thread Stephen Connolly
Sounds like you want to unpack the EAR, add the WAR and repack it again... that would be a 2nd EAR module that depends on the first EAR and the WAR... might need some massaging, or perhaps a m-d-p:unpack-dependencies On 18 October 2011 16:59, Brian Topping topp...@codehaus.org wrote: How would

Re: How to build of an eclipse infocenter webapp with Maven

2011-10-17 Thread Stephen Connolly
I was trying this earlier last week... Here's the issues I have hit: 1. It seems that the servlet bridge does not (obviously) work with Jetty 8 2. Most of the deps are not in central If you can live with Jetty 6, it's quite easy though... you just abandon half the maven machinary, expand the

Re: Problems with MAVEN's-ANT on OpenVMS

2011-10-11 Thread Stephen Connolly
Could you have a non-OpenVMS machine running behind your firewall to host Nexus? All you really want to use nexus as is a service to front the proxy servers that you are working with. It seems like overkill to port your entire toolchain to running on OpenVMS just because you need to build some

Re: Managing Different Java Versions

2011-10-11 Thread Stephen Connolly
/common/Application.exit(Ljava/lang/Class;IZ)Z in P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class com/kodak/intersystem/common/Application java/lang/Integer On 2011-10-10 1:54 PM, Stephen Connolly wrote: When you are on a Mac you

Re: Managing Different Java Versions

2011-10-10 Thread Stephen Connolly
On 10 October 2011 21:15, Eric Kolotyluk eric.koloty...@gmail.com wrote: OK, I still clearly do not understand how sniffer is supposed to work, and it does not look like am going to any time soon, even after all these explanations. As it is, I am making better progress now just by specifying

Re: Managing Different Java Versions

2011-10-10 Thread Stephen Connolly
When you are on a Mac you cannot compile with a 1.5 JDK... Have a look at http://mojo.codehaus.org/signatures/java15/ On 10 October 2011 21:49, Eric Kolotyluk eric.koloty...@gmail.com wrote: Fair enough. At the time I actually thought I was compiling against 1.5, but in fact I still had not

Re: Managing Different Java Versions

2011-10-10 Thread Stephen Connolly
On 10 October 2011 22:02, Eric Kolotyluk eric.koloty...@gmail.com wrote: On 2011-10-10 1:41 PM, Wayne Fay wrote: OK, I still clearly do not understand how sniffer is supposed to work, and it does not look like am going to any time soon, even after all these explanations. A signature is

Re: Managing Different Java Versions

2011-10-09 Thread Stephen Connolly
On 9 October 2011 17:08, Eric Kolotyluk eric.koloty...@gmail.com wrote: Thanks for the info Brett. The rest of my response is not directed at you, I just need to vent after trying to understand animal-sniffer. The documentation for the animal-sniffer-maven-plugin is terrible - in particular

Re: Managing Different Java Versions

2011-10-09 Thread Stephen Connolly
in fairness i think i wrote most of the docs. Kohsuke's original docs were less than minimal. most of the docs were written while on public transport on a shitty little netbook. i don't currently have the time to prettify the docs further, and when i have time i want to sort out the

Re: why annotation is in comment line for plugin class

2011-10-03 Thread Stephen Connolly
mojo's can be written in Java 1.4, which does not support annotations. These are not annotations but actually javadoc tags On 3 October 2011 10:00, justin tian tyj1...@gmail.com wrote: Hi, I see in this link http://maven.apache.org/guides/plugin/guide-java-plugin-development.html package

Re: How to package context.xml based on regions

2011-09-29 Thread Stephen Connolly
if local builds are being run using jetty:run there are some tricks to allow jetty to add the file to the effective webapp so that the war never needs context.xml and there is just one and only one war built (thus avoiding the nasty profile produces different artifact complaint that people make

Re: Using Maven with custom libraries which are not in repository.

2011-09-29 Thread Stephen Connolly
Rule of thumb: If you feel like you are fighting Maven then either: 1. You are doing it wrong, do it the Maven way and you won't be fighting; or 2. You maybe should be using a different build tool that does not have its own way. -Stephen On 29 September 2011 09:59, Wayne Fay wayne...@gmail.com

Re: Skip Pom deployment

2011-09-29 Thread Stephen Connolly
Rule of thumb: If you feel like you are fighting Maven then either: 1. You are doing it wrong, do it the Maven way and you won't be fighting; or 2. You maybe should be using a different build tool that does not have its own way. In your case you are probably trying to double-use the deploy

Re: Can cobertura and surefire-report plugins be run without running the tests twice?

2011-09-27 Thread Stephen Connolly
: it delays quick feedback to the developer locally anyway. Miguel Almeida On Mon, Sep 26, 2011 at 4:08 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: http://maven.40175.n5.nabble.com/Cobertura-and-Surefire-td3338334.html On 26 September 2011 15:46, Miguel Almeida

[ANN] Mojo's Cassandra Maven Plugin 0.8.6-1 released

2011-09-26 Thread Stephen Connolly
The Mojo team is pleased to announce the release of Mojo's Cassandra Maven Plugin version 0.8.6-1. Mojo's Cassandra Plugin is used when you want to install and control a test instance of Apache Cassandra from within your Apache Maven build. The Cassandra Plugin has the following goals. *

Re: Can cobertura and surefire-report plugins be run without running the tests twice?

2011-09-26 Thread Stephen Connolly
http://maven.40175.n5.nabble.com/Cobertura-and-Surefire-td3338334.html On 26 September 2011 15:46, Miguel Almeida migueldealme...@gmail.com wrote: I am using the cobertura plugin to create test coverage reports, and surefire-report for test reports. See [1] for my maven 3 configuration on the

Re: Can I configure the version used as default for Maven plugins?

2011-09-25 Thread Stephen Connolly
The best practice for poms is to always specify a version of plugins. before Maven 2.0.8 the plugins used in the standard lifecycle did not have their version specified in the superpom that is baked into Maven itself. This meant that if a plugin was updated and cause a breakage for people,

Re: Why artifact not found on local repository?

2011-09-14 Thread Stephen Connolly
On 13 September 2011 21:48, fgrazi graziosifra...@gmail.com wrote: I am trying to debug a strange case. The project needs an artifact that is not on any online repository (a Google library), so I deployed on my local repository. Still Maven seems unable to find it. and insistes in checking Did

Re: maven-release-plugin and tag content

2011-09-09 Thread Stephen Connolly
no. - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 9 Sep 2011 04:15, Stevo Slavić ssla...@gmail.com wrote: Hello Maven users, Can prepare-mojo of maven-release-plugin

Re: Compiling error with Maven Ant Tasks, not Maven

2011-09-09 Thread Stephen Connolly
try turning on fork. 2011/9/9 Benoît Thiébault thieba...@artenum.com: I everyone, I am using Maven Ant Tasks to call Maven to compile my code. When I compile it with Maven directly from command line, it works perfectly well. My version of Maven is: Apache Maven 3.0.3

Re: resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

2011-09-01 Thread Stephen Connolly
On 1 September 2011 15:51, Eric Kolotyluk eric.koloty...@gmail.com wrote: @guillaume OK, it seems that because the version in my child POMs had version 0.0.1-SNAPSHOT for the parent, but the parent was assuming everything was 0.0.2-SNAPSHOT, things were just not building properly. Now that my

Re: maven 3, deploy:deploy-file and dav:http

2011-08-29 Thread Stephen Connolly
Just create a pom.xml with dummy coords and run from the directory with that pom using deploy:deploy-file project modelVersion4.0.0/modelVersion groupIdlocaldomain.localhost/groupId artifactIddummy/artifactId version1-SNAPSHOT/version build extensions !-- put required

Re: maven 3, deploy:deploy-file and dav:http

2011-08-29 Thread Stephen Connolly
Jason. it would be great if we had this documented somewhere in the maven site. - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 29 Aug 2011 08:30, Jason van Zyl

[ANN] Maven GPG Plugin 1.4 and Maven Deploy Plugin 2.7 Released

2011-08-27 Thread Stephen Connolly
Subject: The Maven team is pleased to announce the release of the Maven GPG Plugin, version 1.4 and the Maven Deploy Plugin, version 2.7 The Maven GPG plugin signs all of the project's attached artifacts with GnuPG. The Maven Deploy plugin is primarily used during the deploy phase, to add your

Re: Multi modules and profiles

2011-08-26 Thread Stephen Connolly
I am wondering if the OP is hitting the must have a named profile in the aggregation root that I have observed, but not determined whether it is a bug or a feature. If I have a multi-module project and one module 'web' has a profile called run. mvn -Prun clean install -f web/pom.xml will

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
if the versions do not match, then the reactor does not have a constraint. when relative path is set, you get a warning of a version mismatch (or maybe an error, cannot remember exactly) it is perfectly legal to have a reactor with C depending on the previous release of B - Stephen --- Sent

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 12:41, Laird Nelson ljnel...@gmail.com wrote: On Mon, Aug 22, 2011 at 2:45 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: if the versions do not match, then the reactor does not have a constraint. Should have mentioned I was talking about SNAPSHOTs; sorry

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 14:37, Laird Nelson ljnel...@gmail.com wrote: On Mon, Aug 22, 2011 at 7:48 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Should have mentioned I was talking about SNAPSHOTs; sorry.  Does that change the picture? Nope. Just to be clear, then: You're

Re: How to ensure that parent is build first?

2011-08-15 Thread Stephen Connolly
project ... prerequisites maven[3.0,)/maven /prerequisites ... /project On 15 August 2011 11:17, bernd.v...@bosch-si.com wrote: Hello, is there a way to ensure that the parent of a multi module project will be build before ist modules? Regards, Bernd

Re: MAVEN version 2.2.1 and maven-antrun-plugin 1.6 want to compile classes with Java 1.4.2 version

2011-08-11 Thread Stephen Connolly
should you try to use m2eclipse v1.0+, as it will not know how to treat the antrun execution. It is then much better to have specific plugin for the code generation.) /Anders On Thu, Aug 11, 2011 at 07:45, Stephen Connolly stephen.alan.conno...@gmail.com wrote: sounds like he'd be better off

Re: Artifacts not getting installed in local repository.

2011-08-10 Thread Stephen Connolly
There is only one way I could see of this happening... If some ***idiot*** has decided that the parent project being installed in the local repo is a bad plan and configured the install plugin in the parent to skip... which then gets picked up by all the children... never mind that you then

Re: MAVEN version 2.2.1 and maven-antrun-plugin 1.6 want to compile classes with Java 1.4.2 version

2011-08-10 Thread Stephen Connolly
sounds like he'd be better off pitching the ant build for a full maven build and using toolchains to get m-compiler-p compiling with 1.4... or pitching maven and using ant. - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a

Re: mvn release is failing with git

2011-08-04 Thread Stephen Connolly
release activates some profiles which will result in the active by default profiles no longer being so - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 4 Aug 2011 03:10,

[ANN] Maven Release Plugin 2.2.1 Released

2011-08-02 Thread Stephen Connolly
The Maven team is pleased to announce the release of the Maven Release Plugin, version 2.2.1. This plugin is used to release a project with Maven, saving a lot of repetitive, manual work. Releasing a project is made in two steps: prepare and perform.

Re: Extracting the release portion of the maven version

2011-08-02 Thread Stephen Connolly
echo 1.0-SNAPSHOT | sed -e s/-SNAPSHOT// On 2 August 2011 16:30, Thiessen, Todd (Todd) tthies...@avaya.com wrote: Consider a maven version of: 1.0-SNAPSHOT Does anyone know of a plugin or easy way to get the release portion of the version?  Ie: just the 1.0 part?

Re: Extracting the release portion of the maven version

2011-08-02 Thread Stephen Connolly
http://mojo.codehaus.org/build-helper-maven-plugin/regex-property-mojo.html On 2 August 2011 16:36, Thiessen, Todd (Todd) tthies...@avaya.com wrote: Looking for a platform independent solution for during a build. -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno

Re: Extracting the release portion of the maven version

2011-08-02 Thread Stephen Connolly
Looking for a platform independent solution for during a build. -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Tuesday, August 02, 2011 11:34 AM To: Maven Users List Subject: Re: Extracting the release portion of the maven version echo 1.0

Re: Extracting the release portion of the maven version

2011-08-02 Thread Stephen Connolly
Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Tuesday, August 02, 2011 11:38 AM To: Maven Users List Subject: Re: Extracting the release portion of the maven version http://mojo.codehaus.org/build-helper-maven-plugin/regex-property- mojo.html On 2

Re: Tests ok on 3.0.2, fail on 3.0.3

2011-08-01 Thread Stephen Connolly
dependency:tree reports incorrect results on maven 3 - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 1 Aug 2011 18:17, Mirko Caserta mirko.case...@gmail.com wrote: Hi

Re: Tests ok on 3.0.2, fail on 3.0.3

2011-08-01 Thread Stephen Connolly
01.08.2011 19:49 schrieb Stephen Connolly stephen.alan.conno...@gmail.com: dependency:tree reports incorrect results on maven 3 Why is that? Any pointers to previous list threads, jira tickets or similar? Thanks in advance. Ansgar - Stephen --- Sent from my Android phone, so random

Re: clarification on activeByDefault

2011-07-29 Thread Stephen Connolly
activeByDefault only works in the pom.xml in the settings.xml you need to use activeprofiles On 29 July 2011 13:01, Benson Margulies bimargul...@gmail.com wrote: http://maven.apache.org/guides/introduction/introduction-to-profiles.html Is this trying to tell me that activeByDefault in

Re: clarification on activeByDefault

2011-07-29 Thread Stephen Connolly
Cannot make head nor tail of what exactly that page is trying to say in that regard... needs some rewrite On 29 July 2011 13:07, Stephen Connolly stephen.alan.conno...@gmail.com wrote: activeByDefault only works in the pom.xml in the settings.xml you need to use activeprofiles On 29 July 2011

Re: Relative path to parent directory at multi module maven project

2011-07-20 Thread Stephen Connolly
what happens if you have not checked out the parent but only the child module? in that case the parent is resolved from the local repo. You really are pursing an anti-pattern On 20 July 2011 08:10, Cem Koc cemalettin@gmail.com wrote: I was really expecting something very very simple. :) I

Re: How to exclude a child-module from being released during release:perform

2011-07-19 Thread Stephen Connolly
If all you want to do is ensure that the child2 is not deployed to the maven repo, then you would turn on the http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skipparameter in that module, ideally by using a release profile and having that release profile with a definition in

Re: Relative path to parent directory at multi module maven project

2011-07-19 Thread Stephen Connolly
On 19 July 2011 16:44, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 19 July 2011 03:01, Cem Koc cemalettin@gmail.com wrote: I have 3 level multi module maven project. I want to utilize a common plugin configuration at parent pom and the rest of the 2nd and 3rd level modules will

Re: Dependency Plugin behavior changed to copy timestamped snapshot jars

2011-07-16 Thread Stephen Connolly
Brian, the changes in 2.2 were in the copy goal. the copy-dependencies goal is the one being used by Reinhart Reinhart, are you sure this is a change between 2.2 and 2.1, and nite some side-effect of having run the install phase on your dependencies locally? if the artifact is resolved from the

Re: Archiva vs. Nexus

2011-07-16 Thread Stephen Connolly
competing - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 16 Jul 2011 17:51, Eric Kolotyluk eric.koloty...@gmail.com wrote: Are archiva and nexus competing or

Re: Enabling functionality for all profiles BUT one?

2011-07-14 Thread Stephen Connolly
With version 2.3 of the m-dependency-p the copy and unpack goals will now resolve from the reactor. you seem to be using dependency:copy-dependencies and not dependency:copy if you are referring to MDPE-259 If you replace dependency:copy-dependencies with dependency:copy you can use the

Re: Parent Pom and maven goals for only war projects

2011-07-13 Thread Stephen Connolly
On 13 July 2011 11:23, Cem Koc cemalettin@gmail.com wrote: Hi, I have a multi module maven project. It has 5 module and 2 of them are web projects. I want to customize my plugins to be run at only war projects. I mean at parent pom level I would like to trigger my goals and only my war

Re: uploading existing jar+pom as one artifact

2011-07-13 Thread Stephen Connolly
mvn deploy:deployFile -Dfile=... -DpomFile=... -Durl=... should deploy both the jar and the pom. If it is not doing so can you raise a JIRA. Note that you might have to force the version of the deploy plugin as it could be an issue with an older version, mvn

[ANN] Maven Dependency Plugin 2.3 Released

2011-07-11 Thread Stephen Connolly
The Maven team is pleased to announce the release of the Maven Dependency Plugin, version 2.3 This plugin is used to copy and unpack artifacts and dependencies. It also provides visualization and optimization tools for your project dependencies.

[ANN] Mojo's Build Helper Maven Plugin 1.7 released.

2011-07-11 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of the Build Helper Maven Plugin version 1.7. This plugin contains various small independent goals to assist with the Maven build lifecycle. http://mojo.codehaus.org/build-helper-maven-plugin/ To get this update, simply specify the version

[ANN] Animal Sniffer version 1.7 Released

2011-07-11 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of Animal Sniffer version 1.7. This is the fifth release of Animal Sniffer (http://mojo.codehaus.org/animal-sniffer/) since it moved from java.net to the mojo project at codehaus. We have fixed a number of bugs

Re: Status of Maven Ant Tasks in Maven 3

2011-07-11 Thread Stephen Connolly
http://maven.apache.org/ant-tasks/download.html and http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/ Don't mind the 2.x version number it can fork Maven 3 if you need it to -Stephen On 11 July 2011 10:41, Paul King pa...@asert.com.au wrote: Hi, I was trying to find

<    5   6   7   8   9   10   11   12   13   14   >