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: 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 easy way to skip javadoc generation

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

2007-08-02 Thread jp4
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. When I start my container in development env=dev in production it's env=prod. I then use

Modified WAR Plugin

2006-09-13 Thread jp4
) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453) Thanks, JP4 -- View this message in context: http

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 typewar/type 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 while. I

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.

Need Local Repository variable for ant script

2006-09-19 Thread jp4
this and it 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.nabble.com

Re: Need Local Repository variable for ant script

2006-09-19 Thread jp4
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 local repository. I am working with jibx and in order to create my jibx binding classes, I have to extract

Method for synching Devlopment Repository to Remote Repository

2006-10-31 Thread jp4
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 Nabble.com

Maven equivalent of ant depend optional task

2006-11-03 Thread jp4
I have been searching for the Maven2 equivalent of the ant depend 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 -

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

Re: Maven equivalent of ant depend optional task

2006-11-03 Thread jp4
: On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I have been searching for the Maven2 equivalent of the ant depend task but I can't seem to find it. Can someone help me out with a link? Everything in Maven centers around the build lifecycle. http://maven.apache.org/guides/introduction

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 of common libraries across these projects

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

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.com/Where

mvn site running test cases twice

2006-11-03 Thread jp4
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 Nabble.com

Re: Where can I get the nightly Maven2 build?

2006-11-04 Thread jp4
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 will run twice when I run mvn site. I am hoping it's fixed in the new

Re: mvn site running test cases twice

2006-11-07 Thread jp4
? Thanks, jp4 Wendy Smoak-3 wrote: On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I am using the surefire report plugin as well as coberatura, javadoc and checkstyle.. When I do a mvn site it runs my test cases twice. Does it happen if you remove the Cobertura plugin? We use surefire, javadoc

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... Here is what I have in my pom

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: TestFailureIgnore

Using Cargo and Cobertura to get in container code coverage

2006-11-15 Thread jp4
and 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

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

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 message

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-repository

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

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 that seems

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: Clearing out local repository during nightly builds

2007-01-18 Thread jp4
, 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, not all projects reference the new version. I have tried to mitigate this by making use of the dependencyManagement section which

Site Documentation in a Multi Project

2007-01-23 Thread jp4
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 Sent

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

Parent pom file usage

2007-01-31 Thread jp4
. 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. Thanks, jp4

POM Inheritance

2007-02-02 Thread jp4
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 Sent from

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 which includes

POM Inheritance

2007-02-27 Thread jp4
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 in context: http://www.nabble.com

Re: [m2] POM Inheritance

2007-02-27 Thread jp4
I have been doing some reading and it looks like the pluginManagement 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

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 pluginManagement 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

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 typepom/type 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 this: JDBC POM

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

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 typepom/type. I have encountered two issues and I

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 you're

Versioning Site Documentation

2007-04-25 Thread jp4
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 - Users

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, http://www.foo.com/project1/1.0-SNAPSHOT http://www.foo.com/project1

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

Filtering Changes Jira Report By Version

2007-05-09 Thread jp4
, 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: [EMAIL

Install Deploy an artifact generated with Assembly Plugin

2007-06-21 Thread jp4
/plugin /plugins 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 Nabble.com

Re: Install Deploy an artifact generated with Assembly Plugin

2007-06-22 Thread jp4
Tim, That was exactly what I was looking for. Thanks! John Tim Kettler wrote: John, you can attach the jar file with the attach:artifact goal from build-helper-maven-plugin [1] over at the mojo project. -Tim [1] http://mojo.codehaus.org/build-helper-maven-plugin/ jp4 schrieb