Re: 2.0.9 Release Candidate

2008-03-31 Thread Paul Benedict
Brian, I hope the release process can be refined to allow substantial usage of the RC builds by syncing with the central repo. Since Apache requires a "release" to have binding votes, you could publish them for a week or two and collect feedback rather than rapidly producing RC after RC. Maybe you

Re: rmic-maven-plugin issues

2008-03-31 Thread Trenton Adams
How do I document this for the plugin? The plugin should probably default to including interfaces that implement "Remote" in the rmi-classes, so that a person doesn't have to write a plugin configuration for rmic-maven-plugin. But, here's what I added to "". org.codehaus.mojo

RE: force dependency sources & javadocs to be retrieved

2008-03-31 Thread Brian E. Fox
Maven core doesn't use the dependency plugin, actually it's the other way around. Yes you can bind this to your lifecycle if you want. There's no way to tell core to retrieve all the sources/javadocs...that's why the plugin is there ;-) -Original Message- From: nodje [mailto:[EMAIL PROTECT

eclipse:install-plugins 2.5 does not add qualifier to jar, 2.4 did.

2008-03-31 Thread Barrie Treloar
My PDE build has stopped working after upgrading to maven-eclipse-plugin:2.5 The install-plugin goal is now copying my dependencies as: com.ibm.icu_3.4.5.jar instead of (version 2.4 did this) com.ibm.icu_3.4.5.20061213.jar This means my package.org.eclipse.pde.build.container.feature.win32.w

RE: force dependency sources & javadocs to be retrieved

2008-03-31 Thread nodje
I assumed Maven was resolving dependencies using the plugin goal 'resolve'. If so, what would be a better place to tell Maven to fetch sources along with the libraries? Otherwise can a call to dependency:sources be added somewhere in the lifecycle? -nodje Brian E Fox wrote: > > The dependency

Re: Best practices for java version?

2008-03-31 Thread Dirk Olmes
Milos Kleint wrote: On Mon, Mar 31, 2008 at 2:57 AM, Dirk Olmes <[EMAIL PROTECTED]> wrote: Milos Kleint wrote: > check the toolchains proposal that is supposed to address this issue. > > http://docs.codehaus.org/display/MAVEN/Toolchains The way the toolchain proposal chooses is somewhat doa

Re: cvs ssh problem

2008-03-31 Thread Jon Strayer
On Mon, Mar 31, 2008 at 5:13 PM, Jon Strayer <[EMAIL PROTECTED]> wrote: > I fixed this by performing the update via cvs on the command line. After > that Maven worked fine. > > It seems it was hanging on the prompt about host authentication. > > I take that back. mvn scm:checkout works, but the

Re: Class files not generated when compiler argument sourcepath is used

2008-03-31 Thread simon
Hi Jarod, I can't offer any specific advice on the -sourcepath issue. However you should be aware of something about Maven: Maven is NOT as flexible as ant. And that is deliberate. Ant is pretty much a Turing-complete programming language that can do anything. But the disadvantage is that because

2.0.9 Release Candidate

2008-03-31 Thread Brian E. Fox
In an attempt to raise quality and reduce/eliminate regressions in the core releases, we are experimenting with a new release process. The old process had a few informal staged builds followed by one or more official staged builds that where voted on. Clearly this didn't attract enough testing prio

maven vs openmake mesiter

2008-03-31 Thread Jason Chaffee
I came across OpenMake's meister over the weekend and wondered if anyone on this list has any experience with or any comparison with Maven? I was just curious what the maven community's impression/response would be because they claim to have maven-like features, but they also claim to go "above an

Class files not generated when compiler argument sourcepath is used

2008-03-31 Thread Jarod Rose
Hello, I'm in the middle of a project to convert a bunch of ant build scripts over to maven 2. The section that I'm working with right now is fairly large (approx. 2600 java files) and the ant scripts take these files and generates multiple jars from the files. Unfortunately, these jars are so

Re: cvs ssh problem

2008-03-31 Thread Jon Strayer
I fixed this by performing the update via cvs on the command line. After that Maven worked fine. It seems it was hanging on the prompt about host authentication. On Mon, Mar 31, 2008 at 8:16 AM, Jon Strayer <[EMAIL PROTECTED]> wrote: > On Sun, Mar 30, 2008 at 11:54 PM, Barrie Treloar <[EMAIL PR

RE: Build child module in multi-module project

2008-03-31 Thread Dhruva Reddy
That was my question--thanks! -Original Message- From: simon [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2008 4:44 PM To: Maven Users List Subject: RE: Build child module in multi-module project If you try to build a module in the middle of a hierarchy, maven does NOT automatically

RE: Build child module in multi-module project

2008-03-31 Thread simon
If you try to build a module in the middle of a hierarchy, maven does NOT automatically build the projects it depends on. Simply not supported. All dependencies must already be in a repository (on the local machine, or remote) or the build will fail. You can build in a directory, causing the submo

RE: Build child module in multi-module project

2008-03-31 Thread Dhruva Reddy
Let's try depicting this again... master-project (pom) midlevel-project1 (pom) war-project (war) ear-project (ear) midlevel-project2 (jar) -Original Message- From: Dhruva Reddy [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2008 3:52 PM

Re: [m2] cobertura code coverage for dbunit test classes with testNG and OpenJPA?

2008-03-31 Thread Mick Knutson
So I am still having this intermittant issue. I looked at http://mojo.codehaus.org/cobertura-maven-plugin/usage.html and have a small question about the clean So does this mean that cobertura instruments the code during the clean? I am suspecting that there is an issue with my openJPA plugin try

RE: Multi-module archetypes

2008-03-31 Thread Prystash,John
Hey Raphaƫl, I added the settings to my settings.xml as you described and ran archetype:create-from-project. The POM file referenced 2.0-alpha-2. $ mvn -P apache-snapshots archetype:create-from-project $ cat target/generated-sources/archetype/pom.xml ... 1.0-SNAPSHOT

Re: null in artifact name

2008-03-31 Thread Jon Strayer
On Mon, Mar 31, 2008 at 3:34 PM, Jon Strayer <[EMAIL PROTECTED]> wrote: > I have a project with several modules. All of the modules are packaged in > a file named null-1.0.0-SNAPSHOT. > > I generated the effective pom for one of the modules and got: > > freehost3270-proxy > > ${artifactId}-1.0

Build child module in multi-module project

2008-03-31 Thread Dhruva Reddy
Apologies for the length, but it's mostly sample code... I am reworking a multi-module project, using Maven 2.0.8, with the following structure: master-project (pom) midlevel-project1 (pom) midlevel-project2 (jar) war-project (war) ear

Re: Exclude module from deploy phase

2008-03-31 Thread Olivier Lamy
Hi, Have a look at http://jira.codehaus.org/browse/MDEPLOY-63. It's in the current deploy plugin trunk. But you must take care and remove this configuration when you release your project (remove this in a release profile). -- Olivier 2008/3/31, Andrew Uhm <[EMAIL PROTECTED]>: > Hello, > > Is it

Re: Exclude module from deploy phase

2008-03-31 Thread Wendy Smoak
On Mon, Mar 31, 2008 at 12:18 PM, Andrew Uhm <[EMAIL PROTECTED]> wrote: > Is it possible to configure a module to be excluded from the mvn deploy > phase? The next version of Maven Deploy Plugin will allow you to configure individual modules to skip deployment. http://jira.codehaus.org/browse/

Re: null in artifact name

2008-03-31 Thread logachandru . x . rajamanickam
It should be ${pom.artifactId} there. Thanks & Regards, Logu Rajamanickam "Jon Strayer" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/31/2008 02:34 PM Please respond to "Maven Users List" To "Maven Users List" cc Subject null in artifact name I have a project with several mod

Re: null in artifact name

2008-03-31 Thread Wendy Smoak
On Mon, Mar 31, 2008 at 12:34 PM, Jon Strayer <[EMAIL PROTECTED]> wrote: > I have a project with several modules. All of the modules are packaged in a > file named null-1.0.0-SNAPSHOT. > I generated the effective pom for one of the modules and got: > freehost3270-proxy > ${artifactId}-1.0.0

Exclude module from deploy phase

2008-03-31 Thread Andrew Uhm
Hello, Is it possible to configure a module to be excluded from the mvn deploy phase? For instance, in a single project I have 3 modules: Domain Repository Web My domain and repository modules are dependencies to other projects, but the web module is not. The web module tends to be rather large

null in artifact name

2008-03-31 Thread Jon Strayer
I have a project with several modules. All of the modules are packaged in a file named null-1.0.0-SNAPSHOT. I generated the effective pom for one of the modules and got: freehost3270-proxy ${artifactId}-1.0.0-SNAPSHOT Given those two entries, how do I end up with "null" in the package name?

release : Unable to check for local modifications

2008-03-31 Thread Oscar Picasso
Hi, When I do a release:prepare I get an "Unable to check for local modifications" (see below). >From the logs it seems the problem come when maven tries to execute svn --non-interactive status. However if I execute svn --non-interactive status, it works fine. Any idea ? Thanks ===

RE: deleting things out of a repository

2008-03-31 Thread robert . egan
This is a very valid scenario and one that I need to address before I formally replace our Ant build with Maven. The build currently runs about 600Mb before it's done and will (fairly) quickly exhaust the diskspace on our build machine. Even today, the last thing we do is archive the complete b

RE: deleting things out of a repository

2008-03-31 Thread EJ Ciramella
Pretend for a moment maven will still be in use in 10 years - you will truly keep around something generated today? Additionally, that's just repo1, what about people managing their own repositories? For organizations managing a live site, a jar artifact or set of web binaries from a year ago

Is there a way to set my SNAPSHOT number?

2008-03-31 Thread NoMojoMofo
-- View this message in context: http://www.nabble.com/Is-there-a-way-to-set-my-SNAPSHOT-number--tp16397181s177p16397181.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PR

Re: deleting things out of a repository

2008-03-31 Thread Wayne Fay
Almost by definition, Maven does not support "undeploy". That would imply that the repo is not write-once but rather changeable. While this is acceptable for SNAPSHOTs, it is not acceptable for releases. So, I think you'll have to do this manually. I just don't see this EVER making it into a core

RE: deleting things out of a repository

2008-03-31 Thread EJ Ciramella
Well, we manage a live site so artifacts released a month ago are more often than not, useless cruft. We don't have a snapshot repository (just yet) so that isn't a problem (just yet). But I don't want to go in with a sword and start chopping out bits when there is data about said bits everywh

Classpath issues for mvn:exec

2008-03-31 Thread Thomas Larsson
Hello, This is probably most related to how to specify the classpath to the mvn:exec plugin. I have a project that needs to do some setup before its test are run. These setup tasks are doing use the mvn exec plugin that is configured to run during the test-compile phase. However, I also want to

unable to find mojo

2008-03-31 Thread Julien Marti
Hi, I'm working on a multiple module project, and I encountered an error when running mvn install on a child module. The weird thing is that the same command worked before and no modifications have been made. The jar maven-resources-plugin is in the local repository so I don't get why there is an

Re: How to delete JSPs after precompilation?

2008-03-31 Thread Glen Mazza
Thanks for the help Oliver. This was a much more time-consuming task with Maven than I had was expecting. We had Jasper errors trying to run the subsequent WAR on WebLogic, forcing us to revert the tasks to a more manual process. For my goal of (1) precompiling the JSPs and (2) removing the JSP

Javadoc fails when running aggregated from the root on a multimodule project

2008-03-31 Thread Thomas Larsson
Hello, I've found this issue before on the mailing list but I want to report that I still have it with maven 2.0.8 and the javadoc plugin version 2.4. I get several errors but all seem related to my test time dependencies in the subprojects. For example cannot find symbol @NonTransactional pack

Re: How create 2 *.jar

2008-03-31 Thread Wayne Fay
Assuming you have things configured, you would use "mvn deploy" to deploy your jar to a Maven repository. Also, you use "mvn install" to install your jar into your local Maven repo cache (in ~/.m2/repository). You can find plenty of documentation online about "mvn deploy". Wayne On 3/31/08, auth

Re: manipulating properties

2008-03-31 Thread Wayne Fay
I believe you'll need to write a plugin that does the manipulation and then binds the new property back to the MavenProject. Wayne On 3/31/08, Ittay Dror <[EMAIL PROTECTED]> wrote: > Hello, > > Can I manipulate property values in pom.xml? My use case is that I need > to standardize ${os.version}

manipulating properties

2008-03-31 Thread Ittay Dror
Hello, Can I manipulate property values in pom.xml? My use case is that I need to standardize ${os.version} by removing dots, hiphens, suffixes etc. and then store the result in another property. (I want to avoid doing that in some wrapper script that then calls maven) Thanks, Ittay -- Itta

My submodules seems like not connected to svn in eclipse

2008-03-31 Thread Taner Diler
Hi all, I have a question about maven2 project (contains submodules), subversion and eclipse integration. my maven project structure is like this: parent pom.xml submodule_1 pom.xml submodule_2 pom.xml

Re: antrun plugin - GWT - add the source directory to the classpath

2008-03-31 Thread nicolas de loof
Can I suggest you to test the Mojo-sandbox gwt-maven-plugin ? I just upgrade it to fix GWTCompiler issue, and it now comes with a DTO generator from JPA entities. Some dependencies are not yet available in central, but the MAVENUPLOAD request is created for them. Nicolas. 2008/3/31, Bernard Lup

antrun plugin - GWT - add the source directory to the classpath

2008-03-31 Thread Bernard Lupin
Hi all, Using the antrun plugin, I'm trying to call an ant task which is launching the GWT compiler. This ant task is based on the Joachim work at http://braindump.dk/tech/gwt-task-for-ant/. Something specific with GWT is that you must include the java source directory in your classpath before ca

RE: force dependency sources & javadocs to be retrieved

2008-03-31 Thread Brian E. Fox
The dependency:sources is the better one to modify as the resolve should stay generic. -Original Message- From: nodje [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2008 2:38 AM To: users@maven.apache.org Subject: force dependency sources & javadocs to be retrieved I'd like to make s

RE: dependency:sources, dependency:javadoc???

2008-03-31 Thread Brian E. Fox
Use dependency:resolve -Dclassifier=javadocs (dependency:sources is the equivalent of dependency:resolve -Dsources). -Original Message- From: nodje [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2008 2:01 AM To: users@maven.apache.org Subject: dependency:sources, dependency:javadoc???

Re: cvs ssh problem

2008-03-31 Thread Jon Strayer
On Sun, Mar 30, 2008 at 11:54 PM, Barrie Treloar <[EMAIL PROTECTED]> wrote: > On Mon, Mar 31, 2008 at 12:31 PM, Jon Strayer <[EMAIL PROTECTED]> wrote: > > Given this scm entry from a pom: > > > > > > scm:cvs:ext:${cvs.user)@ > > freehost3270.org:/home/jstrayer/cvsroot:fr

Re: webstart question

2008-03-31 Thread walterw
Hi, I've looked at the site numerous times trying to dicern how to include the plugins into the web app pom.xml so it would just be one step as I thought that is how it would work. So you're saying that I need to first build the webstart application by specifying an alternative pom.xml file: mv

settings for maven-plugin-testing-harness

2008-03-31 Thread Dominik Heller
I started working with the maven-plugin-testing-harness and right now I am looking for a way to stop the building of the plugin I am testing if the harness has a failure. So basically I have a plugin A which I am testing with the harness plugin. If the harness throws an assertion I want the buil

Re: How create 2 *.jar

2008-03-31 Thread author
My remote folder is a simple folder in my computer. Also, it is interesting, how automatically (when i run 'mvn package' ) adding my jar to my aven repository -- View this message in context: http://www.nabble.com/How-create-2-*.jar-tp16325044s177p16394702.html Sent from the Maven - Users mail

Re: Unable to find project model

2008-03-31 Thread Maria Odea Ching
On Mon, Mar 31, 2008 at 4:25 PM, hackaton <[EMAIL PROTECTED]> wrote: > > I am using Archiva 1.0.1 > > I got the following error while I tried to browse the ant-1.6.5.jar > "Unable to find project model for [ant:ant:1.6.5]." > > The ant-1.6.5.pom was actually there and it came from > http://repo1.m

Re: webstart question

2008-03-31 Thread Geoffrey De Smet
Normally you got a my-gui pom.xml which uses the webstart plugin and assembly to build a zip which contains the jnlp and all GUI jars. Then you use the dependency plugin in my-web pom.xml to unpack that gui webstart zip into the target/webapp dir. Take a look at the webstart plugin website, it e