Re: Odd failure with maven-checkstyle-plugin in pluginManagement

2011-12-14 Thread Stephen Connolly
Are you sure you know how to spell checkstyle? On 14 December 2011 09:54, Andreas Sewe wrote: > Hi, > > I have encountered a very odd failure when adding the > maven-checkstyle-plugin to my pluginManagement section. Below is the > simplest POM that triggers this error (both under Maven 3.0.3 and

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

2011-12-13 Thread Stephen Connolly
13, 2011 at 7:24 PM, Stephen Connolly > 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 >

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" wrote: > Sorry if this

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 r

Re: maven-shade-plugin, minifyJar removes classes used in Class.forName(...)

2011-12-13 Thread Stephen Connolly
try { Class.forName(oracle.jdbc.driver.OracleDriver.class.getName()) } catch (LinkerError e) { // ignore } :-P On 13 December 2011 12:04, Oliver Schrenk wrote: > Hej, > > I'm using the maven-shade-plugin to create an executable jar. The number of > included jars blows the final jar over 10+

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 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 Maven 3.0.3) with this

[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 "ve

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 minor

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 other

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

2011-12-06 Thread Stephen Connolly
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 o

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

2011-12-06 Thread Stephen Connolly
gt; > On Mon, Dec 5, 2011 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

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

2011-12-05 Thread Stephen Connolly
t exist, the yuicompressor:compress goal will fail. I > just don't understand why the build process actually succeeds given valid > directories, but it doesn't create the files in those directories. It makes > no sense :( > > I thought that maybe it was a filesystem security probl

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

2011-12-05 Thread Stephen Connolly
etting the development/production > >> part > >> > working, and I think I've got it. > >> > > >> > I am still having problems getting the yuicompressor:compress goal to > be > >> > called at the right time. The problem is th

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) wil

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 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. I didn't > mean to im

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 wrote: > This is done through a Javadoc annotation in your Mojo source file

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 wrote: > 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 consumer's pom? Earlier,

Re: download only sources

2011-11-28 Thread Stephen Connolly
o 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 > wrote: >> Assembly plugin is your friend >> >> On 28 November 20

Re: download only sources

2011-11-28 Thread Stephen Connolly
Assembly plugin is your friend On 28 November 2011 12:16, Prashant Neginahal 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, Anders Hammar wr

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

2011-11-26 Thread Stephen Connolly
nterested in it since I'm not willing to declare it in my pom")? > I'm not saying that if a new plugin 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

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 my

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

2011-11-25 Thread Stephen Connolly
2011/11/25 Gabriel Belingueres : > Hi! > > I've runned with -U as you said, and even deleted the jar-plugin and > versions-plugin from my local repo and the same result: No mention of > jar plugin version 2.3.2. > > However, if I declare it in the pluginManagement tag: > >     >       >         >  

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" w

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 usin

Re: Maven surefire 2.11 release date

2011-11-22 Thread Stephen Connolly
On 22 November 2011 08:51, Kristian Rosenvold wrote: > > Den 22.11.2011 09:36, skrev Stephen Connolly (in private message): >> >> Does that major new piece include the per-method threading you >> promised you'd deliver for 2.10 in return for me consolidating the >&

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 sw

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 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, in which case yo

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 ha

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 wrote: > Hi, > > So- we don't need to re-compile them again using maven 3? just try and run? > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Migrating-plugi

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 wrote: > Hi, > > I am using today maven 2, and would like to migrate to maven 3. > > I am having few plugins that I c

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: 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, Kar

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 wrote: > ** ** > > Hi, > > ** ** > > how

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

2011-11-15 Thread Stephen Connolly
r should allow you to override some bits of the provide jars > should they not? > > /James > > -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 set

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

2011-11-15 Thread Stephen Connolly
nd of issues somehow. Before you remove support you must provide > an > >>>>>> alternate solution. Requiring that hundreds of proprietary jars have > >>> to > >>>> be > >>>>>> put in the maven repo (and updated each time we upg

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 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 a system-sco

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 wrote: > We are using maven 3.0.3 and have problems using property values defined in > our local settings.xml for specify

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 wrote: > Hi, > > I want to read the values for the Javadoc options > -bottom and -footer from files as suggested by > http://download.oracle.com/javas

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" wrote: > Hi there, > > You'll probably

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

2011-11-02 Thread Stephen Connolly
I will give an exhausted > explanation 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 wrote: > >  I want to write a plugin to mave

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

2011-11-02 Thread Stephen Connolly
On 2 November 2011 09:06, Tim Mickelson 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 > configured in the po

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

2011-10-27 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 02:21

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 extended

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 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 > in the package pha

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 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 section but fail to see if it would >>> help: I'd still have to list all the plugins to be executed in the >>> individual install

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 wrote: > How would you solve this probl

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 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 with Java1.4 it fails,

[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. * cassan

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

2011-10-18 Thread Stephen Connolly
o WEB-INF/bundles/ -Stephen 2011/10/17 Arnaud Héritier : > 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

Re: need a dependency with multiple scopes

2011-10-18 Thread Stephen Connolly
On 18 October 2011 11:20, mickael leduque 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 much like compile, but ind

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 inf

Re: Managing Different Java Versions

2011-10-11 Thread Stephen Connolly
form.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.exit(Ljava/lang/Class;IZ)Z in > P:\Intersystem\main\platform.Java\intersystem-comm

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 th

Re: Managing Different Java Versions

2011-10-10 Thread Stephen Connolly
On 10 October 2011 22:02, Eric Kolotyluk 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 like

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 wrote: > Fair enough. At the time I actually thought I was compiling against 1.5, but > in fact I still had not finished setting up Maven

Re: Managing Different Java Versions

2011-10-10 Thread Stephen Connolly
On 10 October 2011 21:15, Eric Kolotyluk 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 the Java 5 > compile

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 versions-maven

Re: Managing Different Java Versions

2011-10-09 Thread Stephen Connolly
On 9 October 2011 17:08, Eric Kolotyluk 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 the examples are aby

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 wrote: > Hi, > > I see in this link > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > > package sample.plugin

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 plu

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 wrote: > No, th

Re: How to package context.xml based on regions

2011-09-28 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 aft

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

2011-09-27 Thread Stephen Connolly
the CI system: 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 &

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 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 top-tier of a multi-mod

[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. * cassa

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, _every

Re: Why artifact not found on local repository?

2011-09-14 Thread Stephen Connolly
On 13 September 2011 21:48, fgrazi 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 you use mvn install:i

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 : > 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 > (rNON-CANONICAL_2011-06-28_15-20_mock

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ć" wrote: > Hello Maven users, > > Can prepare-mojo of maven-release-plugin be configured

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 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 versions > all matc

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" wrote: >

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 4.0.0 localdomain.localhost dummy 1-SNAPSHOT mvn deploy:deploy-file -DgroupId=my.groupId -DartifactId=my-artifact -Dversion=62.65 -Dfile=... -Dpackaging=... -

[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 ar

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 act

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 14:37, Laird Nelson 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? >> >> N

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 12:41, Laird Nelson 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 talk

Re: Reactor doesn't build parent poms first?

2011-08-21 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 fro

Re: How to ensure that parent is build first?

2011-08-15 Thread Stephen Connolly
... [3.0,) ... On 15 August 2011 11:17, wrote: > Hello, > > is there a way to ensure that the parent of a multi module project will > be build before ist modules? > > Regards, > Bernd > > - > To unsubscribe, e-ma

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
ile them. (But do understand that this will still >> cause you headache 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 &g

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 direct

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 cannot

Re: mvn release is failing with git

2011-08-03 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, wro

Re: Extracting the release portion of the maven version

2011-08-02 Thread Stephen Connolly
gt; -Original 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/buil

Re: Extracting the release portion of the maven version

2011-08-02 Thread Stephen Connolly
portion of the maven version > > 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 &

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) wrote: > Looking for a platform independent solution for during a build. > >> -Original Message----- >> From: Stephen Connolly [mailto:stephen.alan.

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) 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? > ---

[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. http://maven.apache.org/plugins/maven-release-

Re: Tests ok on 3.0.2, fail on 3.0.3

2011-08-01 Thread Stephen Connolly
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 > &

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" wrote: > Hi there, > I have an issue

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 wrote: > activeByDefault only works in the pom.xml in the settings.xml you need > to use activeprofiles > > On 29 July 2011 13:01, Bens

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 wrote: > http://maven.apache.org/guides/introduction/introduction-to-profiles.html > > Is this trying to tell me that in settings.xml is > unconditional, since it

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 wrote: > I was really expecting something very very simple. :) I think that we > should

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 wrote: > On 19 July 2011 03:01, Cem Koc 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 utilize this configuration. The plugin c

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 th

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" wrote: > Are archiva and nexus competing or complementary products? > > Cheers

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

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 artifactI

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 org.apache.maven.plugins:maven-deploy-

Re: Parent Pom and maven goals for only war projects

2011-07-13 Thread Stephen Connolly
On 13 July 2011 11:23, Cem Koc 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 projects > will be

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