Release Plugin: How to specify next version

2008-03-04 Thread jp4
I am trying to find a way to specify the next version to be used by the maven release plugin on the command line. Basically, I have a project that is currently at version 1.0.9-SNAPSHOT and would like the next release to be 1.1.0-SNAPSHOT after the 1.0.9 version is released. I saw another thre

Re: What is the Best practice for generating variations of an artifacts?

2007-08-02 Thread jp4
your spring xml > files with the parameters value during build, instead of spring having to > resolve it. > > > > jp4 wrote: >> >> I have found a solution that works well for me. I use spring in >> conjuction with a bootstrap variable called "env". W

Re: Disable javadoc during site

2007-07-22 Thread jp4
Wendy, Thanks, I neglected to check the parent pom file that all of my project parents inherit from. I commented out the javadoc plugin section. Thanks, John Wendy Smoak-3 wrote: > > On 7/22/07, jp4 <[EMAIL PROTECTED]> wrote: > >> I was wondering if there is an eas

Disable javadoc during site

2007-07-22 Thread jp4
I was wondering if there is an easy way to skip javadoc generation while invoking mvn clean deploy site site:deploy I have a project with a tremendous amount of javadoc. Generation of site docs takes forever, I want the other reports, but javadoc isn't cruical. Thanks, jp4 -- View

Re: Install & Deploy an artifact generated with Assembly Plugin

2007-06-22 Thread jp4
g/build-helper-maven-plugin/ > > jp4 schrieb: >> I use the assembly plugin to create an executable jar file that contains >> all >> of it's dependencies. The file name is >> foo-1.0-SNAPSHOT-jar-with-dependencies.jar. I would like to be able to >> install thi

Install & Deploy an artifact generated with Assembly Plugin

2007-06-21 Thread jp4
ST.MF assembly Thanks, jp4 -- View this message in context: http://www.nabble.com/Install---Deploy-an-artifact-generated-with-Assembly-Plugin-tf3960408s177.html#a11238491 Sent from the Maven - Users mailing list archive at Nabbl

Filtering Changes Jira Report By Version

2007-05-09 Thread jp4
hanks, jp4 -- View this message in context: http://www.nabble.com/Filtering-Changes-Jira-Report-By-Version-tf3719358s177.html#a10406319 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread jp4
I have found a solution that works well for me. I use spring in conjuction with a bootstrap variable called "env". When I start my container in development env=dev in production it's env=prod. I then use spring to resolve properties based on the environment. For example, a property file would

Re: Versioning Site Documentation

2007-04-25 Thread jp4
? Thanks, jp4 Wendy Smoak-3 wrote: > > On 4/25/07, jp4 <[EMAIL PROTECTED]> wrote: > >> I was wondering if there is a way to deploy the site documentation to two >> different locations so that it is versioned properly... >> >> For example, >> htt

Versioning Site Documentation

2007-04-25 Thread jp4
make sure that the release versions are not overwritten. Right now, they are both writing to the same location, which is not optimal. Any ideas? Thanks, jp4 -- View this message in context: http://www.nabble.com/Versioning-Site-Documentation-tf3648383s177.html#a10190677 Sent from the Maven -

Re: POM for common libraries

2007-04-19 Thread jp4
Wayne, Thanks for the reply. What you have described makes sense. I guess I am just looking for a way to avoid including the same test and provided scoped dependencies in multiple projects that follow essentially the same design patterns. Thanks, jp4 Wayne Fay wrote: > > What

POM for common libraries

2007-04-19 Thread jp4
I have a project (common-data-access) of type pom that is used to group a set of common libraries for reuse. In this case, I group all libraries that I need for a data access project. In each data access project in include common-data-access as pom. I have encountered two issues and I was hopin

Re: [m2] POM Inheritance

2007-02-28 Thread jp4
This is exactly what I was looking for. I didn't realize that you could include a pom as a dependency. This makes things much cleaner. Thanks again, jp4 Eric Redmond wrote: > > Abstract it? I don't understand. The JDBC pom is just a seperate project. > Like

Re: [m2] POM Inheritance

2007-02-28 Thread jp4
So how to you use this abstract jdbc pom file? Do you include it as a dependency in your data access modules?Do you use it as the parent of your data access modules? jp4 Eric Redmond wrote: > > Yeah, I do this quite a lot - for example, to abstract jdbc > implementations >

Re: [m2] POM Inheritance

2007-02-27 Thread jp4
thoughts our ideas would be greatly appreciated. jp4 jp4 wrote: > > I have been doing some reading and it looks like the > section will allow me to achieve part of what I want to do with reusing > plugin configurations. > > jp4 > > jp4 wrote: >> >> I hav

Re: [m2] POM Inheritance

2007-02-27 Thread jp4
I have been doing some reading and it looks like the section will allow me to achieve part of what I want to do with reusing plugin configurations. jp4 jp4 wrote: > > I have posted about this question several times before but haven't > received many responses. I am hoping th

POM Inheritance

2007-02-27 Thread jp4
The solution may be that I have to redefine the spring and hibernate dependencies as well as plugins in each data access project. I can do that, but I wanted to explore a more elegant solution before resorting to that. Any help would be greatly appreciated. Thanks, jp4 -- View this message

Re: [m2] POM Inheritance

2007-02-22 Thread jp4
I still haven't found a good solution for this and I was hoping to spark some discussion with a follow up post. jp4 wrote: > > I was wondering if there is any way to achieve multiple pom inheritance > with maven. I have created several pom abstractions (i.e. data access &g

POM Inheritance

2007-02-02 Thread jp4
ata access project to inherit from both the data access pom as well as the projectA pom. Is there any way to do this? Or is there a different approach to achieve the desired results? Thanks, jp4 -- View this message in context: http://www.nabble.com/POM-Inheritance-tf3164691s177.html#a8779117 Sen

Parent pom file usage

2007-01-31 Thread jp4
ach things. It is kinda of a chicken and egg scenario. I want the power of inheriting dependencies from dependencyManagement as well as plugin configurations, but I have to have a better way to deal with updates to the maven-build pom.xml file. Any suggestions would be greatly appreciated. Th

Are clovered files supposed to be deployed to the remote repo?

2007-01-30 Thread jp4
clovered files are not deployed to the development repo. Any insight would be greatly appreciated. Thanks, jp4 -- View this message in context: http://www.nabble.com/Are-clovered-files-supposed-to-be-deployed-to-the-remote-repo--tf3143783s177.html#a8714082 Sent from the Maven - Users mailing

Site Documentation in a Multi Project

2007-01-23 Thread jp4
e the site documentation to be fully integrated so that I can easily navigate to sub modules and view aggregated reports. Any help would be greatly appreciated. Thanks, jp4 -- View this message in context: http://www.nabble.com/Site-Documentation-in-a-Multi-Project-tf3065703s177.html#a8526690

Re: Clearing out local repository during nightly builds

2007-01-18 Thread jp4
; OK I've also been waiting for an answer on this. Anyone know? > > On 1/15/07, jp4 <[EMAIL PROTECTED]> wrote: >> >> >> Recently I have had some issues with version management where we upgrade >> a >> particular artifact to a new version, but some how, n

Multi Project Module Order

2007-01-16 Thread jp4
? Thanks, jp4 -- View this message in context: http://www.nabble.com/Multi-Project-Module-Order-tf3021371s177.html#a8391433 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Can you compile test cases without running them

2007-01-15 Thread jp4
I just ran mvn clean install -Dtest=foo where foo is not a valid test and this seems to do what I want. If anyone has a cleaner way, please let me know. jp4 wrote: > > I would like to be able to compile my test cases without actually running > them. I use maven.test.skip=true but t

Can you compile test cases without running them

2007-01-15 Thread jp4
it via the command line like -Dmaven.test.skip=true. Thanks, jp4 -- View this message in context: http://www.nabble.com/Can-you-compile-test-cases-without-running-them-tf3016005s177.html#a8375655 Sent from the Maven - Users mailing list archive at Nabble.com

Clearing out local repository during nightly builds

2007-01-15 Thread jp4
This works fine if I do a mvn clean then a mvn install, but if I do a mvn clean install, the last thing that happens is the delete. Is there any way to have this run before any of the modules are built? Thanks, jp4 -- View this message in context: http://www.nabble.com/Clearing-out-local-repos

Maven, clover and the Axis2 aar plugin

2006-12-28 Thread jp4
if anyone has had the same issue, and if so how did you resolve it? Like I said before, all of the artifacts are built properly see below, but the foo-1.0-clover.aar isn't installed in the repository properly. target/foo-1.0.aar target/clover/foo-1.0-clover.aar Thanks, jp4 -- View this me

Deploying clover instrumented war using cargo

2006-11-16 Thread jp4
merge the unit test case files with the ones that run in container? thanks, jp4 -- View this message in context: http://www.nabble.com/Deploying-clover-instrumented-war-using-cargo-tf2644958s177.html#a7383666 Sent from the Maven - Users mailing list archive at Nabble.com

Using Cargo and Cobertura to get in container code coverage

2006-11-15 Thread jp4
integration tests. Has anyone done this successfully, if so can you please share your pom file? thanks, jp4 -- View this message in context: http://www.nabble.com/Using-Cargo-and-Cobertura-to-get-in-container-code-coverage-tf2639446s177.html#a7367963 Sent from the Maven - Users mailing list archive at

Re: Continue Build and Site Generation on Junit failure

2006-11-07 Thread jp4
I am interested in what you did. We use CC as well. Any info you can provide would be greatly appreciated. This is very important as we have a huge codebase and would like to identify all errors every night (NOT JUST THE FIRST ONE!) Thanks, jp4 Jon SlinnHawkins wrote

Re: mvn site running test cases twice

2006-11-07 Thread jp4
would want to clean, compile, instrument, test, install create site docs. Has anyone found a workaround? Thanks, jp4 Wendy Smoak-3 wrote: > > On 11/7/06, jp4 <[EMAIL PROTECTED]> wrote: > >> I removed the coberatura plugin and unit test cases run only once... >> H

Re: mvn site running test cases twice

2006-11-07 Thread jp4
org.codehaus.mojo cobertura-maven-plugin Any ideas? Looks like the test cases get run during instrumentation? Thanks, jp4 Wendy Smoak-3 wrote: > > On 11/3/06, jp4 <[EMAIL PROTECTED]> wrote: > >> I am using the surefire report plugin as well as co

Re: Where can I get the nightly Maven2 build?

2006-11-04 Thread jp4
I am not sure. Thanks, jp4 Wendy Smoak-3 wrote: > > On 11/3/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: >> On 11/3/06, jp4 <[EMAIL PROTECTED]> wrote: >> > >> > I was hoping to get a nightly build so that I can see if my unit test >> cases >&

mvn site running test cases twice

2006-11-03 Thread jp4
now I know why the build takes so long. Any feedback would be greatly appreciated. jp4 -- View this message in context: http://www.nabble.com/mvn-site-running-test-cases-twice-tf2571386s177.html#a7168325 Sent from the Maven - Users mailing list archive at Nabbl

Where can I get the nightly Maven2 build?

2006-11-03 Thread jp4
I was hoping to get a nightly build so that I can see if my unit test cases will run twice when I run mvn site. I am hoping it's fixed in the new version, but I haven't been able to find a link to the nightly builds. Thanks, jp4 -- View this message in context: http://www.nabble

Re: M2 project type for a standalone utility

2006-11-03 Thread jp4
I have used the maven assembly plugin before to build an executable jar file that contains all of the necessary runtime libraries. In order to run the app all you have to do is type java -jar foo.jar arg1 arg2... If this sounds like something you want, I can post the pom.xml jp4 David

Re: Mechanism to import common depdencies into your pom files?

2006-11-03 Thread jp4
Exactly what I was looking for and it works quite well! Thanks, jp4 Wendy Smoak-3 wrote: > > On 11/3/06, jp4 <[EMAIL PROTECTED]> wrote: > >> I have a client with many different maven projects. I am trying to >> figure >> out a way to manage the versions

Re: Maven equivalent of ant optional task

2006-11-03 Thread jp4
R); } } Wendy Smoak-3 wrote: > > On 11/3/06, jp4 <[EMAIL PROTECTED]> wrote: > >> I have been searching for the Maven2 equivalent of the ant task >> but >> I can't seem to find it. Can someone help me out with a link? > > Everything in Maven centers

Mechanism to import common depdencies into your pom files?

2006-11-03 Thread jp4
pom file to do this, but I don't want all of my projects to include everything in the parent pom. Is there a way to import or include a dependency in your pom... So for example, define a file with common-lang dependency and include that in all pom files that need to reference it? Thanks,

Maven equivalent of ant optional task

2006-11-03 Thread jp4
I have been searching for the Maven2 equivalent of the ant task but I can't seem to find it. Can someone help me out with a link? -- View this message in context: http://www.nabble.com/Maven-equivalent-of-ant-%3Cdepend%3E-optional-task-tf2568454s177.html#a7159353 Sent from the Maven - Users ma

Continue Build and Site Generation on Junit failure

2006-11-01 Thread jp4
NOT on unit test failure. Basically, I was hoping to run all of our unit tests, run a site generation report and then fail the build. I was hoping that this would give us a much easier way to view unit test errors (via site docs). Does anyone know how to do this? Thanks, jp4 -- View this

Method for synching Devlopment Repository to Remote Repository

2006-10-31 Thread jp4
the SUPER POM? Thanks, jp4 -- View this message in context: http://www.nabble.com/Method-for-synching-Devlopment-Repository-to-Remote-Repository-tf2548291s177.html#a7102345 Sent from the Maven - Users mailing list archive at

Re: Need Local Repository variable for ant script

2006-09-19 Thread jp4
s a plugin); You can find the repository location via the > "localRepository" property. > > Eric > > On 9/19/06, jp4 <[EMAIL PROTECTED]> wrote: >> >> >> Does anyone know if there is a variable which contains the location of >> the >> lo

Need Local Repository variable for ant script

2006-09-19 Thread jp4
works with a hard-coded location, but I need a better solution. Is there a way to get a specific dependency location to an ant script... For example, could I specify this jar file as a dependency and pass it's location to the ant script? jp4 -- View this message in context: http://www.nabbl

Locally Patched Maven War Plugin

2006-09-15 Thread jp4
I have patched the Maven War Plugin locally and installed it into my local repository with mvn install. I bumped the version from 2.0.1 to 2.0.2. It works fine when installed in the local repository, but when I upload to the development repository, other developers can't seem to get it to work.

Re: Modified WAR Plugin

2006-09-14 Thread jp4
How do you refer to the new plugin in your pom.xml file? I thought that a project of packaging war will automatically use the default war plugin... How did you override this behavior? jp4 Max Cooper wrote: > > My project was using a modified version of the war plugin for a wh

Modified WAR Plugin

2006-09-13 Thread jp4
eExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleE