Re: How can I add path in classpath entry in Manifest file?

2009-08-31 Thread youhaodeyi
Hi, I have read this but this is not what I want. I want to add path on classpath. This only tells me how to add dependent on classpath. Alexander Vaysberg wrote: > > Hi, > > you can it's using this tutorial: - > http://maven.apache.org/shared/maven-archiver/examples/classpath.html. > The j

How to explicitly choose JUnit even if TestNG is in the classpath? (Surefire)

2009-08-31 Thread Alex Ruiz
Greetings, I have a project that has both TestNG and JUnit in the classpath. The project itself is a TestNG extension, but its tests are written in JUnit (mainly to keep consistency with other modules within the parent project.) When I run my tests using Surefire, it says that the project has 0 tes

Re: How to integrate (Flex)asdocs with javadocs?

2009-08-31 Thread Marvin Froeder
Hi Dave, You may found help about flexmojos easier here: http://groups.google.com/group/flex-mojos You can use asdoc-report for that http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/asdoc-report-mojo.html

Re: Are Maven network connection time outs configurable?

2009-08-31 Thread Brett Porter
Yes. http://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/ http://maven.apache.org/guides/mini/guide-http-settings.html - Brett On 01/09/2009, at 12:52 AM, Costin Caraivan wrote: Hello, I know that Java has some properties for configuring network timeouts, see t

Re: difference between snapshot and rc

2009-08-31 Thread Paul Benedict
A Release Candidate is a true release. An RC is typically defined as being "feature complete" but its durability is not yet proved. It is usually good enough to be used for casual situations, but enough bugs probably still exist to prevent its usage in serious applications. A snapshot, however, is

Re: difference between snapshot and rc

2009-08-31 Thread Alexander
Hi, RC = Release CandidateSNAPSHOT = last development build as Roland said 2009/9/1 tubin gen > I don't know the difference between snapshot and rc , when maven > repository has both which one should I use > -- Regards, Alexander

Re: LifecycleExecutionException: Missing

2009-08-31 Thread javaman501
On the Log4j dependency, replace 1.2.15 with 1.2.14. -- View this message in context: http://www.nabble.com/LifecycleExecutionException%3A-Missing-tp25038853p25228808.html Sent from the Maven - Users mailing list archive at Nabble.com. --

Re: difference between snapshot and rc

2009-08-31 Thread Roland Asmann
Probably depends on what you want... If you want a reproducable build, go with an RC (it's like a release - it shouldn't change over time), if you want the latest development-build, go with the SNAPSHOT. On Monday 31 August 2009 19:04, tubin gen wrote: > I don't know the difference between sna

difference between snapshot and rc

2009-08-31 Thread tubin gen
I don't know the difference between snapshot and rc , when maven repository has both which one should I use

Re: How can I drop a custom Velocity tool into archetype:generate?

2009-08-31 Thread stug23
Is there some way to use Plexus injection to accomplish the addition of a custom Velocity tool in an archetype so that archetype:generate can leverage the custom Velocity tool? I recently read an introductory posting on Plexus injection on the Sonatype blog, however I don't know whether it's poss

Are Maven network connection time outs configurable?

2009-08-31 Thread Costin Caraivan
Hello, I know that Java has some properties for configuring network timeouts, see this: http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html -> sun.net.client.defaultConnectTimeout (default: -1) sun.net.client.defaultReadTimeout (default: -1) Does Maven respect these? If not, are there

Re: Need a separate jar from war in assembly

2009-08-31 Thread Jim Collings
BTW, I've tried this by using a dependancySet in the descriptor. This didn't work out. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

How to integrate (Flex)asdocs with javadocs?

2009-08-31 Thread David Hoffer
I have a multi-module build that is mostly Java but we have a couple Flex modules as well. When we generate our website using maven (using site-deploy goal) I want to have asdocs generated and integrated into the website just like the javadocs. And I also want to deploy the asdocs as a jar (class

Maven Jar Dependency

2009-08-31 Thread Eric wais
Hi, I currently have a two projects setup making use of maven generating an ear file for each. The setup is as follows: ProjectAFolder --Project1a --Project2a --Pom.xml ProjectBFolder --Project1b --Project2b --Pom.xml The pom.xml has the projects configured as m

Re: Need a separate jar from war in assembly

2009-08-31 Thread Jim Collings
The question in question was mine rather than Mr. Russo's. ;-) So I've created a SunWebserver module and added the jar as a dependency. What maven is producing now is nothing when I use the compile goal and a jar with manifest.mf, pom.xml, pom.properties etc. Still no jar though. Not even as a su

AW: Re: Re: Force versions plugin to remove snapshots

2009-08-31 Thread Lewis, Eric
> > Well I'm hoping to refactor v-m-p real soon now to split out > the version > checking stuff as an api .jar which would allow writing an > m-enforcer-p rule > to allow you to force projects to only release with the > latest version of > internal dependencies Great, I'm looking forward to th

AW: dependency scope with parent module?

2009-08-31 Thread Lewis, Eric
Hi James I think it would be easier if you include the POMs (at least the relevant parts). Best regards, Eric > -Ursprüngliche Nachricht- > Von: James Russo [mailto:j...@halo3.net] > Gesendet: Montag, 31. August 2009 13:29 > An: Maven Users List > Betreff: Re: dependency scope with pa

Re: dependency scope with parent module?

2009-08-31 Thread James Russo
Can anyone help me out this this? -jr James Russo wrote: Hello, I have a parent module, and 3 "sub?" modules. project-common project-server project-weblogic I have parent setup in all of them, but for some reason when I can't get project-weblogic to compile if I scope set to

Re: How can I add path in classpath entry in Manifest file?

2009-08-31 Thread Alexander Vaysberg
Hi, you can it's using this tutorial: - http://maven.apache.org/shared/maven-archiver/examples/classpath.html. The jar-plugin has many of the properties. It's heir: - http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html. Alexander Vaysberg youhaodeyi schrieb: I have some resource

Debugging a maven-plugin / pin to a explicit version

2009-08-31 Thread Michael Wenig
Hi, I tried to debug a maven-plugin (site) but got messed up that maven used other versions of the transitive dependencies that the eclipse-checkout did provide. So now there are two questions coming uo: 1. what is the best way to get exactly the right versions to debug a maven-module and its de

Re: Re: Force versions plugin to remove snapshots

2009-08-31 Thread Stephen Connolly
2009/8/31 Lewis, Eric > > The whole point is to only remove -SNAPSHOT from dependencies > > _which have > > actually been released_ > > Yes, I know. However, our release build is a bit different, because we have > all the internal versions in one POM, and the build "masters" should release > that

AW: Re: Force versions plugin to remove snapshots

2009-08-31 Thread Lewis, Eric
> The whole point is to only remove -SNAPSHOT from dependencies > _which have > actually been released_ Yes, I know. However, our release build is a bit different, because we have all the internal versions in one POM, and the build "masters" should release that before the actual projects are re

filtering resources

2009-08-31 Thread Manuel Grau
I've generated a *maven-j2ee-simple application*. I'm deploying to OC4J 10.1.3, so, I've created in the ear module two files: * ear/src/main/application/META-INF/data-sources.xml ear/src/main/application/META-INF/orion-application.xml* I'm trying to apply filters in this files, but filtering isn't

Re: Force versions plugin to remove snapshots

2009-08-31 Thread Stephen Connolly
The whole point is to only remove -SNAPSHOT from dependencies _which have actually been released_ If we remove -SNAPSHOT from dependencies which have not been released then we'd break your build. And versions:set is more magic than you think if you have the following structure /pom.xml fo

Re: Why doesn't executions work in my pom?

2009-08-31 Thread Stephen Connolly
executions are to bind the execution to a phase. when you invoke a plugin goal directly (outside of the lifecycle) then you have two options: 1. put the config outside executions as this is the default for the plugin 2. Use Maven 2.2.1+ and put the config in the execution with default-cli -Step

Maven - Hammurapi plugin

2009-08-31 Thread Srinivasan Kannaiyan
Hi all, Do anyone have used maven - hammurapi plugin to get the code violations report ? I just want to get the feedback from the users who used it. Thanks. Thanks & Regards, Srinivasan.K

Re: Maven compiler plugin adds unnecessary dependent classes to output folder

2009-08-31 Thread Andrey Razumovsky
BWT, is it possible to include *only* classes I specify in tag and dependent from my classpath? E.g. my structure is mypackage client A.java B.java server C.java --> C extends A and maven-compiler-plugin contains mypackage/server/** then I want my resulting jar co

AW: Force versions plugin to remove snapshots

2009-08-31 Thread Lewis, Eric
Sorry, I wasn't precise enough. I mean to do this *only* with the dependencies in that POM, not with the version of the POM's project. Best regards, Eric > -Ursprüngliche Nachricht- > Von: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Gesendet: Freitag, 28. August 2009 18

Re: Maven compiler plugin adds unnecessary dependent classes to output folder

2009-08-31 Thread Andrey Razumovsky
Thanks for your answers. Stephen, you are right. javax.servlet is coming from GWT-dev jar, and others from my GWT-based libraries, which must contain sources. How can I exclude them from compilation? Adding org.apache.maven.plugins maven-compiler-plugin