RE: [***SPAM*** Score/Req: 10.4/5.0] SVN url password

2006-01-31 Thread Maciej Mastalarczuk
Are you talking about SVN password or SCM password? The SCM will be picked up from settings.xml assuming you use the reporitory id that matches the server defined in settings.xml. The SVN credentials can be cached in your home directory under ".svn". Regards, Maciej > -Original Message

SVN url password

2006-01-31 Thread Alejandro Nicolas Mascarell
Does anyone know where is the SCM user password provided when using SCM url? As from the specification (and checked on svnScmProviderRepository class) the password is not gathered for the URL, as in the case on CVS. I have checked whether the password was taken from settings.xml file but it seems i

[ANN] first release of Explosion plugin for Maven 1.X

2006-01-31 Thread Christophe Grosjean
http://maven-explosion.sourceforge.net/   “This Maven 1.x plugin (work in progress for Maven 2.x) allows to process an artifact (and its contained artifacts) into an exploded directory structure. The idea of this plugin is to let Maven normally build the artifacts (JARs, WARs and the EA

RE: [***SPAM*** Score/Req: 10.4/5.0] Re: Hibernate with Maven

2006-01-31 Thread Maciej Mastalarczuk
Thanks, I also discovered that you can exclude it from download (if say this jar is already available on the server) You can do the following: org.hibernate hibernate 3.1.1 javax.transaction jta

Re: Hibernate with Maven

2006-01-31 Thread Napoleon Esmundo Ramirez
Hello, AFAIK, javax.transaction:jta:1.0.1B is a Sun jar that can't be redistributed in ibiblio. You'll have to manually install that in your local repository ( http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html). You can download it here: http://java.sun.com/products/jta/

Hibernate with Maven

2006-01-31 Thread Maciej Mastalarczuk
Hi Everyone, I am trying to compile a project that uses Hibernate (3.1.1) with Maven 2. It seems like there is a dependency missing at ibiblio (http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/). Is it a known issue or I'm doing something wrong? Regards, Maciej Mastalarczu

Maven 1.1b Junit tests - Threads close down

2006-01-31 Thread Ashley Hurkoo
Hi, I have a Junit test class, mytest and I am executing maven test. In mytest, I am executing multiple threads, when I execute maven test, the threads starts and close down automatically. I have set maven.junit.fork=true(in maven-test-plugin) but I still have the same problem. I believe this is a

Re: Need help setting up a transitive dependency

2006-01-31 Thread Brad O'Hearne
Thanks all for the help! Brad Stephen Duncan wrote: A needs to be built, and installed in the local repository. It does not have to be deployed to any remote repository. -Stephen On 1/31/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: Dov, Thanks for the reply. That sort of explains thin

Re: Need help setting up a transitive dependency

2006-01-31 Thread Stephen Duncan
A needs to be built, and installed in the local repository. It does not have to be deployed to any remote repository. -Stephen On 1/31/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > Dov, > > Thanks for the reply. That sort of explains things. I think what I am > really getting at is this: when

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread dan tran
It only works if you run the mojo on command line ;-) -D On 1/31/06, Arik Kfir <[EMAIL PROTECTED]> wrote: > > What's more, when I add @execute phase="compile" it still doesn't work... > > On 2/1/06, Arik Kfir <[EMAIL PROTECTED]> wrote: > > I see...but I still don't understand then, how I can

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread Arik Kfir
What's more, when I add @execute phase="compile" it still doesn't work... On 2/1/06, Arik Kfir <[EMAIL PROTECTED]> wrote: > I see...but I still don't understand then, how I can bind my mojo to a > specific phase in the lifecycle, without triggering a parallel > lifecycle run (which is "@execute",

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread Arik Kfir
I see...but I still don't understand then, how I can bind my mojo to a specific phase in the lifecycle, without triggering a parallel lifecycle run (which is "@execute", right?). If I bind to the 'process-classes', and specifiy "@execute phase=compile" I wouldn't want to cause maven to initiate ano

RE: [m2] phases and goals

2006-01-31 Thread Mike Perham
Best I know of: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl e.html -Original Message- From: William Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 6:12 PM To: users@maven.apache.org Subject: [m2] phases and goals Can someone point me to

RE: [m2] binding mojos to lifecycle

2006-01-31 Thread Mike Perham
A mojo is a goal, yes. What's to stop you from having two mojos, each with the same default phase? -Original Message- From: Arik Kfir [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 6:02 PM To: Maven Users List Subject: Re: [m2] binding mojos to lifecycle Hi Mike, I'm not sur

[m2] phases and goals

2006-01-31 Thread William Ferguson
Can someone point me to some doco that explains a phase, goal and mojo and lists the available phases. I thought I vaguely understood, but have become confused by the thread on "binding mojos to lifecycle". William - To unsubscri

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread Arik Kfir
Hi Mike, I'm not sure I follow - I specify the "@phase" inside my mojo (which is basically a goal, right?) so as-far-as-I-understand maven should know which goal to invoke... On 2/1/06, Mike Perham <[EMAIL PROTECTED]> wrote: > Look at it the other way. You've told maven that you are interested

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread Arik Kfir
Hi Dan, Actually, what I want is the first option - I want that users of the plugin *won't* have to define 'executions' - only specify my plugin in their section (along with optional ) and rely on "me" to know at which phase to invoke. Perhaps I'm getting it all wrong: as I understood, if I spec

RE: [m2] binding mojos to lifecycle

2006-01-31 Thread Mike Perham
Look at it the other way. You've told maven that you are interested in having this plugin execute at some point during your lifecycle but you haven't defined which GOAL to execute. Remember a plugin can have N goals. Maven should use the goal's default phase if you don't specify the element of

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread dan tran
@phase xyz means you dont have to define phase in your plugin execution ( use default phase defined mojo). But you still need to define your plugin executions. However if you want hardwire to a phase when mojo is invoked from command line use @execute. See maven-assembly-plugin for example. -D

[m2] binding mojos to lifecycle

2006-01-31 Thread Arik Kfir
Hi, I have a small mojo which I want to bind to the 'process-classes' phase. I've read http://maven.apache.org/developers/mojo-api-specification.html which indicates I should add a "@phase process-classes" to the class comment, and I did: /** * * @goal generate * @phase process-classes * @aut

Re: Need help setting up a transitive dependency

2006-01-31 Thread Brad O'Hearne
Dov, Thanks for the reply. That sort of explains things. I think what I am really getting at is this: when a project (call it project B) has a dependency that is another one of your own projects (call the dependency A) , rather than a third party library (jar), is the dependency (A) being

RE: Need help setting up a transitive dependency

2006-01-31 Thread Dov Wasserman
What type of projects are A and B? Jars? War and jar? Jar is not meant to be deployed, so it doesn't "grab" it dependent projects, it just references them for compiling (or testing). A war is meant to be deployed on its own, so its dependencies are pulled into it's WEB-INF/lib directory along with

Re: Need help setting up a transitive dependency

2006-01-31 Thread Brad O'Hearne
Dov, Thanks for the reply. Ok, so this isn't going to trigger a build of project A, its just going to pull project A from the repository as it would any other dependency. Is this correct, or am I still missing something? How do I get project B to automatically pull all of project A's dependen

Re: [m2] maven-checkstyle-plugin 2.0 can't be retrieved

2006-01-31 Thread Lee Meador
works. thanks On 1/31/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > My mistake. I will correct the metadata. > > On 2/1/06, Lee Meador <[EMAIL PROTECTED]> wrote: > > I have the same thing as Kristof in my parent POM in the > > section. There is no reference in the child POM. > > > > I removed t

problem configuring a maven 2 project

2006-01-31 Thread Jettro Coenradie
Hi all, I am trying continuum. I am having problems getting it to work with a project under tigris. Does anyone have experience with this? thanks is advance

RE: Need help setting up a transitive dependency

2006-01-31 Thread Dov Wasserman
Add a section in project B's pom.xml: my-group project-A 1.0-SNAPSHOT compile ... You might need to configure the scope property to something other than compile if you don't want A's jar file to be included with

Need help setting up a transitive dependency

2006-01-31 Thread Brad O'Hearne
Here's a maven 101 question: I need help setting up a transitive dependency. I have project A, which is properly set up and building using maven. Now I need to configure project B to depend on project A. How do I configure this in my pom.xml to refer to another project? Thanks for your help.

Re: m2 offline: Can't read the url

2006-01-31 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett Porter wrote: > fixed in SVN. Thanks Brett, great. > > On 1/31/06, Joerg Hohwiller <[EMAIL PROTECTED]> wrote: > > Hi there, > > it seems that the projectinfo plugin does not take care of the offline-mode. > If I run "mvn -o site" it fails with

[m2] Discovering the plugin's dependencies inside a Mojo

2006-01-31 Thread Arik Kfir
Hi, I'm writing a small mojo, and I need to invoke an external process. That process needs some of the plugin's dependencies - how do I get the equivalent of "project.getRuntime...()" for the *plugin* itself (rather than the project it is currently building)? Regards,

Packaging dependent jars within a jar project

2006-01-31 Thread Dov Wasserman
I have been trying to find a way to get Maven to produce a jar artifact that includes (some of) its dependent artifacts, without much luck. I have seen a few ways that promise this, but none panned out in the ways that we need. If anyone can suggest a way to do this, I'd be much obliged. I included

Re: Newbie question re maven 1.0.2 genapp

2006-01-31 Thread Arnaud HERITIER
Hi On 1/31/06, Hines, John <[EMAIL PROTECTED]> wrote: > When I run maven genapp I get the following error: > > Attempting to download commons-jelly-tags-interaction-1.0.jar. > Error retrieving artifact from > [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-inte > raction-1.0.ja

Re: Maven 2 EAR, WAR, EJB Common Dependencies

2006-01-31 Thread Piotr Bzdyl
Hi, WAR POM org.apache.maven.plugins maven-war-plugin webApplication image/**,htmlapp/**,WEB-INF/lib/*.jar

Newbie question re maven 1.0.2 genapp

2006-01-31 Thread Hines, John
When I run maven genapp I get the following error: Attempting to download commons-jelly-tags-interaction-1.0.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-inte raction-1.0.jar]: java.net. ConnectException: Connection timed out: connect WARN

using xdoclet2 and maven2

2006-01-31 Thread DJP JEAN-PROST Dominique
Hello, Well, I'm quite new to maven and specially maven2. I would like to use xdoclet2 with maven2. After reading a few docs, I still cannot make it work. I followed what is written on http://xdoclet.codehaus.org/Maven2+Plugin : downloadding the jar and then mvn install blahblah ... It seems ok

Re: Warning messages on remote repository

2006-01-31 Thread Ashish Srivastava
It was just a typo in the email. I double checked it in the repository and it is Thanks, -Ashish --- Lukas Theussl <[EMAIL PROTECTED]> wrote: > What happens if you replace the by > ? > > -Lukas > > > > Ashish Srivastava wrote: > > Hi, > >I created a remote repository for a bunch of > j

Re: I can't get cobertura to work with maven 2.0.2

2006-01-31 Thread Brett Porter
On 2/1/06, David Sag <[EMAIL PROTECTED]> wrote: > > > Okay I have changed my build so that the checkstyle etc all happen on the > verify phase, and have updated to use the latest snapshot version of > cobertura plugin. > > [mvn install] works fine - all is as expected. > > but [mvn site] continues

Re: [M2.1-SNAPSHOT] Activating profiles causes NullPointerException

2006-01-31 Thread Brett Porter
On 2/1/06, Richard Allen <[EMAIL PROTECTED]> wrote: > Am I doing something wrong or is this a bug? I can't see anything from here, but regardless of whether something is wrong, a NullPointException is a bug. Please file it in JIRA. Thanks, Brett --

Re: [m2] maven-checkstyle-plugin 2.0 can't be retrieved

2006-01-31 Thread Brett Porter
My mistake. I will correct the metadata. On 2/1/06, Lee Meador <[EMAIL PROTECTED]> wrote: > I have the same thing as Kristof in my parent POM in the > section. There is no reference in the child POM. > > I removed the checkstyle plugin from my repository. > > But I get version 2.0-beta-1 download

Re: How to customise the, by maven2, generated site

2006-01-31 Thread Brett Porter
The first technique should work, but is limited. The second is implemented in SVN, but not released. That can be expected in February. - Brett On 2/1/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: > Hi, > I would like some advice of how to customise the site maven2 generates. > > I have seen one

Re: Warning messages on remote repository

2006-01-31 Thread Lukas Theussl
What happens if you replace the by ? -Lukas Ashish Srivastava wrote: Hi, I created a remote repository for a bunch of jars we use in our application. The way I did is manually created the library.pom as : 4.0.0 libName libName 1.0 When I compile the project I get the fol

Warning messages on remote repository

2006-01-31 Thread Ashish Srivastava
Hi, I created a remote repository for a bunch of jars we use in our application. The way I did is manually created the library.pom as : 4.0.0 libName libName 1.0 When I compile the project I get the following warning messages (for each such library) but the application gets com

Re: [m2] Cannot find maven-war-plugin

2006-01-31 Thread Mang Jun Lau
Thanks so much. It worked out :) _Mang Brett Porter <[EMAIL PROTECTED]> 01/31/2006 12:25 PM Please respond to "Maven Users List" To Maven Users List cc Subject Re: [m2] Cannot find maven-war-plugin You can use -U to force an update. On 2/1/06, Mang Jun Lau <[EMAIL PROTECTED]> wr

Re: I can't get cobertura to work with maven 2.0.2

2006-01-31 Thread Carlos Sanchez
You need latest cobertura built from sources On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > > Okay I have changed my build so that the checkstyle etc all happen on the > verify phase, and have updated to use the latest snapshot version of > cobertura plugin. > > [mvn install] works fine - a

Re: Forcing the order of plugins bound to the same phase (was Re: M2.02 - mvn site now triggers a compile!)

2006-01-31 Thread Brett Porter
Only the order they are declared in the POM. - Brett On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > Brett Porter <[EMAIL PROTECTED]> wrote on 31-01-2006 11:16:29: > > > On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > > > Either way I probably need to bind checkstyle, pmd, findbugs etc to a

Re: [m2] Cannot find maven-war-plugin

2006-01-31 Thread Brett Porter
You can use -U to force an update. On 2/1/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > I have no proxy. Further, I've downloaded something from the central > repository for another project just now but the war plugin does not work. > When I execute mvn install, it just doesn't seem to even try t

Re: [m2] parent pom

2006-01-31 Thread Fredy
So if I see right, the only way to process multiple Files is the multi project thing. But than the submodules must have a reference to the parent. that is really only nice, if the submodules not referenced from other modules. In the case that is right: I miss a possibility to define processGroup

Re: [m2] Cannot find maven-war-plugin

2006-01-31 Thread Lee Meador
There is a war plugin. I am using it in my build. I just ran the build and it worked fine. Perhaps someone else has more insightful help for you. Sorry. -- Lee Meador On 1/31/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > > I have no proxy. Further, I've downloaded something from the central >

Re: Branch info lost on release [resolved]

2006-01-31 Thread Orjan Austvold
FYI I found some clues on how to deal with branches based on the code of the PerformReleaseMojo and the PrepareReleaseMojo. 1) release:prepare works on a checked out project. This allows for tagging to be made on the correct branch. 2) release:perform works by checking out the project based

RE: [m2] parent pom

2006-01-31 Thread Frank Russo
Does anyone know if the following is doable? I have a project where I build two different artifacts off the same project base. One is a war file, which we use to deploy to a tomcat server. The other is a jar file, which is just an api snapshot of our code for other internal projects to share. The w

Re: maven 1.1 and inherited properties

2006-01-31 Thread Lukas Theussl
Did you set the maven.multiproject.type property for each subproject? -Lukas Nicolas De Loof wrote: I was first thinking about "org.apache.commons.attributes.enable" not beeing correctly set, but I've was wrong. I've created http://jira.codehaus.org/browse/MAVEN-1691 I've attached a minima

RE: Maven integration with WAS5

2006-01-31 Thread Mike Perham
I just start WRD when I know I am going to be going through the deployment process and leave it running. I have an add-app.bat which runs this command: set WAS_HOME=C:\dev\IBM\Rational\SDP\6.0\runtimes\base_v6 %WAS_HOME%\bin\wrd-config.bat -project %1 -style AutoAppInstall so you would just run

Re: maven 1.1 and inherited properties

2006-01-31 Thread Nicolas De Loof
I was first thinking about "org.apache.commons.attributes.enable" not beeing correctly set, but I've was wrong. I've created http://jira.codehaus.org/browse/MAVEN-1691 I've attached a minimalist multiproject to demonstrate the bug. (war) maven war:install generates the attributes classes (jar

Re: commons-attributes and maven 1.1 (Was: maven 1.1 and inherited properties)

2006-01-31 Thread Nicolas De Loof
Sory for this stupid subjet : I was thinking this comes from a properties failure... created [http://jira.codehaus.org/browse/MAVEN-1741] for this with a minimalist test-case Hello, I'm trying to upgrade to maven 1.1-beta2. My project uses commons-attributes and it's maven plugin When I

Re: [m2] Cannot find maven-war-plugin

2006-01-31 Thread Mang Jun Lau
I have no proxy. Further, I've downloaded something from the central repository for another project just now but the war plugin does not work. When I execute mvn install, it just doesn't seem to even try to connect to the internet. It instantly gives me the build error. Is there a command wh

Re: [m2] Cannot find maven-war-plugin

2006-01-31 Thread Lee Meador
If you have a proxy you will need to put some things in the settings.xmlfile. http://maven.apache.org/guides/mini/guide-proxies.html It is also possible that ibiblio is running really slow. You might try again and see if it does any better. I have had to try 3 times to get things downloaded on oc

Re: Maven integration with WAS5

2006-01-31 Thread Lee Meador
Is there a way to turn on the WRD without human interaction? Such as from an ant script within Maven. Do you have a source of information on using it? The IBM docs are totally fragmented with no unified example. (Well ... that I have found) How about disabling it. How is that done? Thanks. -- L

Re: maven 1.1 and inherited properties

2006-01-31 Thread Arnaud HERITIER
Hi Nicolas, Why do you talk about inherited properties ? can it be related to http://jira.codehaus.org/browse/MAVEN-1691 ? Arnaud On 1/31/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm trying to upgrade to maven 1.1-beta2. > My project uses commons-attributes and it's mav

[m2] Cannot find maven-war-plugin

2006-01-31 Thread Mang Jun Lau
Hi, When I execute mvn install on a web project, I get a build error stating that "The plugin 'org.apache.maven.plugins:maven-war-plugin' does not exist or no valid version could be found". I tried googling for this but came up with nothing. Why is it not checking the central repository for

Eclipse libraries as Maven 2 dependencies

2006-01-31 Thread Giles, Nick
Now, I may just be going blind, but I can't find up to date Eclipse components on Ibiblio. If my Maven project depends on the SWT widgets, or Jface, or any other component, is there an alternative to creating my own objects? I found Eclipse 2.1.0 versions in http://www.ibiblio.org/maven2/eclipse/,

Re: [m2] maven-checkstyle-plugin 2.0 can't be retrieved

2006-01-31 Thread Lee Meador
I have the same thing as Kristof in my parent POM in the section. There is no reference in the child POM. I removed the checkstyle plugin from my repository. But I get version 2.0-beta-1 downloading like Yann. This happens if I put no version in the POM (as Kristof) or if I put 2.0 in the POM.

maven 1.1 and inherited properties

2006-01-31 Thread Nicolas De Loof
Hello, I'm trying to upgrade to maven 1.1-beta2. My project uses commons-attributes and it's maven plugin When I run a "maven war:install" on my web sub-project, attributes classes are generated by plugin. When I run a "multiproject:install", everything SEEMS good, but attributes classes are

RE: Maven integration with WAS5

2006-01-31 Thread Mike Perham
For websphere 6 I've found that bypassing the IDE integration and using Websphere Rapid Deploy is the most reliable process so far. My ear build just copies the EAR to the WRD directory and it is auto-reloaded. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: Maven integration with WAS5

2006-01-31 Thread Lee Meador
You have to use the antrun plugin and write ant tasks to do it. Search the web for the ant tasks. There are example scripts here and there. The only information IBM seems to provide on it is in the Websphere docs. Here are the version 6 docs. Look for the same class names: http://publib.boulder

I can't get cobertura to work with maven 2.0.2

2006-01-31 Thread David Sag
Okay I have changed my build so that the checkstyle etc all happen on the verify phase, and have updated to use the latest snapshot version of cobertura plugin. [mvn install] works fine - all is as expected. but [mvn site] continues to break as follows: (disco-davesag) [15:59:16] ~/checkouts/EP

How to customise the, by maven2, generated site

2006-01-31 Thread Mikael Andersson
Hi, I would like some advice of how to customise the site maven2 generates. I have seen one blog which suggests taking a copy of the default velocity template, modify that and then override the template directory. http://blogs.sun.com/roller/page/wilfred?entry=customing_maven_2_site_layout I also

Re: [m2] parent pom

2006-01-31 Thread Richard Allen
See "How do I build more than one project at once?" here: http://maven.apache.org/guides/getting-started/index.html If you are using Eclipse, this can be useful: http://maven.apache.org/guides/mini/guide-ide-eclipse.html Otherwise, search the mail: http://www.nabble.com/Maven---Users-f178.html

RE: [m2] parent pom

2006-01-31 Thread Frank Russo
Do you or anyone else know where (if it exists) the documention is for this? The pom descriptor only shows . If anyone knows how to use this, please pass along. Thanks... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Richard Allen [mailto:[EMAIL PROTECTED] S

Re: svn: Error resolving case of

2006-01-31 Thread Alejandro Nicolas Mascarell
Don't worry. I would like to prepare some docs about the subject (Maven 2 and Subversion) for beginners. I'll make you know if I finally complete it. Another question... where is the SCM user password provided when using SCM url? As from the specification (and checked on svnScmProviderRepository

RE: [m2] parent pom

2006-01-31 Thread Frank Russo
Cool. I missed that. Thanks... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Richard Allen [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 8:57 AM To: Maven Users List Subject: Re: [m2] parent pom If your parent project POM lists , then those projec

Re: [m2] parent pom

2006-01-31 Thread Richard Allen
If your parent project POM lists , then those projects will be built when the parent is built. Richard Allen Frank Russo wrote: I have a question in regards to this. Is there a way to build the projects as a whole, as you say? As of now, I have to run maven on each individual child, and I'm

RE: [m2] parent pom

2006-01-31 Thread Frank Russo
I have a question in regards to this. Is there a way to build the projects as a whole, as you say? As of now, I have to run maven on each individual child, and I'm not sure if there is one way to call maven to run the parent and all children at once. Does anyone know if this is doable? Frank Rus

[M2.1-SNAPSHOT] Activating profiles causes NullPointerException

2006-01-31 Thread Richard Allen
I have defined a profile in my POM which is meant to cause the maven-jar-plugin to sign JARs generated by subprojects. When I activate the profile I get a NPE. Below is my POM and the NPE. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLoc

Re: svn: Error resolving case of

2006-01-31 Thread Emmanuel Venisse
I don't think some docs exists somewhere about it, sorry. Emmanuel Alejandro Nicolas Mascarell a écrit : Thanks for your quick answer! ;) Regarding the space before "-DtabBase", you know... issues of copy & paste from command line. :$ Do you know whether best practices information about Maven

RE: multi-module maven 2 project

2006-01-31 Thread Brian E. Fox
"2- You don't need independant projects for submodules in Continuum. Add a Shell project instead of Maven project and set up the command line to run." This wouldn't check the scm for changes and do a checkout would it? What about removing the -N flag and all the modules? A pain to remove them a

Re: [m2] maven-checkstyle-plugin 2.0 can't be retrieved

2006-01-31 Thread Kristof Vanbecelaere
I manually removed a beta from my local repository. I refer to the plugin using org.apache.maven.plugins maven-checkstyle-plugin checkstyle-jjguidelines.xml and running mvn s

Profiling with Maven 2

2006-01-31 Thread Michael Böckling
Hi all, how did you handle the automatic profiling of code in Maven 2? I was looking for a plugin that does these kind of things, but it seems there isn't one. If I had to resort to making my own plugin, which tool could be suitable? Or maybe someone has experience using ANT tasks for that? An

[m2] maven-checkstyle-plugin 2.0 can't be retrieved

2006-01-31 Thread Yann Le Du
Hi, I've seen maven-checkstyle-plugin 2.0 is available since yesterday, which is good news ! http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/ Though, I'm still retrieving 2.0-beta-1, even with plugin update. maven-metadata still contains 2.0-beta-1 , this may be th

Re: Dependency version problem in multi-module project

2006-01-31 Thread Napoleon Esmundo Ramirez
Hello, I recreated the situation and I got a similar result. Instead of both (B and C) using A-1.0.3-SNAPSHOT, both used A-1.0.2. Looks like I can't answer your question. Haha! Cheers! Nap On 1/31/06, Espen Amble Kolstad <[EMAIL PROTECTED]> wrote: > > Hi, > > Layout: > /pom.xml-- no de

Forcing the order of plugins bound to the same phase (was Re: M2.02 - mvn site now triggers a compile!)

2006-01-31 Thread David Sag
Brett Porter <[EMAIL PROTECTED]> wrote on 31-01-2006 11:16:29: > On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > > Either way I probably need to bind checkstyle, pmd, findbugs etc to a > > phase other than compile then, perhaps verify. Hmm will ponder this. > > The reports, or the checks? The

Re: svn: Error resolving case of

2006-01-31 Thread Alejandro Nicolas Mascarell
Thanks for your quick answer! ;) Regarding the space before "-DtabBase", you know... issues of copy & paste from command line. :$ Do you know whether best practices information about Maven 2 integration with SCM exist somewhere? Regards, Alex On 1/31/06, Emmanuel Venisse <[EMAIL PROTECTED]> wro

Re: svn: Error resolving case of

2006-01-31 Thread Emmanuel Venisse
1- you need a space before "-DtagBase" ;-) 2- tagbase is a svn url ant not a maven scm url, so replace your tagBase with svn://localhost/CVS/maven-deployment/tags You can use Nabble to search in ML archives (http://www.nabble.com/forum/Search.jtp?query=maven) Emmanuel Alejandro Nicolas Masca

svn: Error resolving case of

2006-01-31 Thread Alejandro Nicolas Mascarell
I would appreciate your help to troubleshoot the following error. I can't figure out why it is not working. I have try in several ways with the same result. Command: mvn release:prepare - Dproject.scm.developerConnection=scm:svn:svn://localhost/CVS/maven-deployment/trunk-DtagBase=scm:svn:svn://loc

Re: [m2] Wrong SCM info put by the release plugin

2006-01-31 Thread Emmanuel Venisse
The best practice is to define scm url in parent pom if modules are in a sub-directory. maven will calculate the correct url for submodules. File an issue for 2. Emmanuel Arik Kfir a écrit : Hi, I have a project with several modules in it. The entire project is stored in one SVN repository,

[m2] Wrong SCM info put by the release plugin

2006-01-31 Thread Arik Kfir
Hi, I have a project with several modules in it. The entire project is stored in one SVN repository, in the following layout: myproject | +-- module A | +-- module B | +-- . The root pom has a url like "http://svn.myserver/.../trunk/";, and each sub module also has its own

Dependency version problem in multi-module project

2006-01-31 Thread Espen Amble Kolstad
Hi, Layout: /pom.xml-- no dependencies /A/pom.xml -- no dependencies (Versions 1.0.2 and 1.0.3-SNAPSHOT) /B/pom.xml -- Depends on A-1.0.2 /C/pom.xml -- Depends on A-1.0.3-SNAPSHOT Here's the problem: When building all modules using the reactor: /> mvn clean package B contai

RE: Executing mvn test (JUnit)

2006-01-31 Thread Manoj Jain
Hi There is also a naming pattern for test cases. May be your testcases doesn't match the default pattern. You may configure your pom for test cases as follows:- org.apache.maven.plugins maven-surefire-plugin **/*Test.java

Re: Maven 2 and Eclipse

2006-01-31 Thread Tom Joad
Hello, I'm a little desesperate with this m2 eclipse plugin while everything works so good with configuring externa tools like indicate on maven sit guide http://maven.apache.org/guides/mini/guide-ide-eclipse.html I never succeed to build anyone with. I get error below on compile or package. I se

Branch info lost on release

2006-01-31 Thread Orjan Austvold
We're using Maven 2 with CVS on several multi-module projects and we have successfully performed releases in the last 3 months. Yesterday we ran into problems with releases on a CVS branch. I added a on the element for the parent pom on the branched project. When I did a release the pom chec

[m2] Error in dependencyCheck starting tomcat -> Bug or Feature?

2006-01-31 Thread Fredy
Hi, the last weeks, I often test to deploy an axis webapp depending on an jar and have always the following error: SCHWERWIEGEND: Error in dependencyCheck java.io.IOException: invalid header field Today I have searched for the error and found the Problem in my Manifest.mf of the jar. Maven take

Re: M2.02 - mvn site now triggers a compile!

2006-01-31 Thread Brett Porter
On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > the version jason sent me was 2.0-SNAPSHOT Yep, still a snapshot: http://maven.apache.org/guides/development/guide-testing-development-plugins.html > so site *does* invoke compile and test then. for after all imho what use > is the site without

Re: M2.02 - mvn site now triggers a compile!

2006-01-31 Thread David Sag
Brett Porter <[EMAIL PROTECTED]> wrote on 31-01-2006 10:44:57: > On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > > > I'll deploy a snapshot, so you can follow the instructions on the maven > > > website to use it. > > > > > > > Okay that would be great. Will you announce it to this list whe

How to inject settings into an EAR archive?

2006-01-31 Thread Grothaus, Christoph
Hi maven-users! I want to use m2 to build a J2EE app. So far I've set up a multiproject layout with modules for EJB-JAR, WAR and for EAR. Pretty straightforward. Now there come some extra requirements into play. I produce artefacts for different appservers, which all need slightly different setti

Re: M2.02 - mvn site now triggers a compile!

2006-01-31 Thread Brett Porter
On 1/31/06, David Sag <[EMAIL PROTECTED]> wrote: > > I'll deploy a snapshot, so you can follow the instructions on the maven > > website to use it. > > > > Okay that would be great. Will you announce it to this list when you do > please? I'll focus on something else until that point. Yep, alread

RE: Maven 2 and Eclipse

2006-01-31 Thread Jörg Schaible
Maciej Mastalarczuk wrote on Tuesday, January 31, 2006 3:39 AM: > Hi, > > Has anyone had any luck with using Maven 2 with Eclipse? It > can be easily > integrated through external launch configuration, but Eclipse > build paths > are pain. I know there is a plugin for Eclipse > (http://m2eclipse.

Re: Executing mvn test (JUnit)

2006-01-31 Thread Allan Ramirez
Hmmm.. thats weird, I think you got it right. Could you paste the stacktrace and your directory layout ? Regards, -allan Edgar Silva wrote: Hi Allan, Thanks to help me, but it doesn't work yet. I am not doing nothing really HARD, is just a simple test using just one class, my folders as acc

Re: M2.02 - mvn site now triggers a compile!

2006-01-31 Thread David Sag
Brett Porter <[EMAIL PROTECTED]> wrote on 30-01-2006 22:22:47: > On 1/30/06, David Sag <[EMAIL PROTECTED]> wrote: > > > > so my questions: > > 1) could someone with a working (with maven 2.0.2) cobertura plugin please > > send it to me with the correct pom.xml - jason z only sent me the compiled

RE: Maven-Proxy

2006-01-31 Thread Fredy
Cool, so i should throw away my print version of "Using+Maven+in+a+corporate+enviro". Thanks! "Maven Users List" schrieb am 30.01.06 23:32:03: > -Original Message- > From: Fredy [mailto:[EMAIL PROTECTED] > Sent: Monday, 30 January 2006 11:02 PM > To: users@maven.apache.org > Subject: M

Re: Maven-Proxy

2006-01-31 Thread Fredy
THANKS! I don't know realy why, but it seems to work now. I think the problem was the pathes. if i replaced it with ./ so the rep was in my tomcat/bin ;-)) Now i've changed it and it works. In the moment it is hard-working on downloading. Hope there are no more promlems!! Thank y

Re: Maven 1.1b2 - Junit Tests

2006-01-31 Thread Gisbert Amm
Maven uses the optional Ant JUnit task as you can see in plugin.jelly whithin ~/.maven/cache/maven-test-plugin... (your version at the end here) You might want to have a look at the source of this task to find out how it does run the tests. Regards, Gisbert Amm Ashley Hurkoo wrote: Hi doe