A little help with Netbeans plugin

2007-04-05 Thread Craig L Russell
Hi, Please reply all; I'm not subscribed to the users list. I'm running into some issues with mvn Netbeans plugin (Netbeans 5.5 . I've configured the "run project" using the Netbeans plugin and it apparently does work. But it fails in execution. Two problems: 1. I can't figure out how to g

Maven Assembly:Assembly plugin issue

2007-04-05 Thread Kishor Patil
Greetings !! Maven's assembly:assembly mojo Invokes the execution of the lifecycle phase package prior to executing itself. In my project I have reuirement to invoke this plugin after process-resources. Is there a way to change the package association. I have a web application which i'm packagin

Re: Problems installing 3rd party jar

2007-04-05 Thread franz see
Good day to you, Colin, You should be able to see that jar in your /relique/csvjdbc/1.0.0/csvjdbc-1.0.0.jar . If you can't, then your install-file probably failed. If you do, then I guess you have to recheck how you add reference to that with your eclipse. Btw, if the project you're working on

tapestry.apache.org sub-module sites b0rken

2007-04-05 Thread Jessek
The pom's are here: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/ Sometime recently something changed so that my submodule site.xml files containing their own menu structure linking to their own documentation sets got mangled in such a way that now it universally only displays the parent

Re: [m2] assembly: dependencySets - include one artifact with its transitive dependencies?

2007-04-05 Thread Kalle Korhonen
On 4/5/07, Christin Wolfram <[EMAIL PROTECTED]> wrote: I'm using maven 2.0.6 and maven-assembly-plugin to package some zip-distributions of my project. Doing that I couldn't find an answer to the following question: How does the assembly plugin handle includes in dependencySets? What is the res

Problems installing 3rd party jar

2007-04-05 Thread Colin Young
I"m trying to install a third-party jar so that I can add a reference to it. I've used the following command-line: mvn install:install-file -Dfile=csvjdbc-1.0.0.jar -DgroupId=relique -DartifactId=csvjdbc -Dversion=1.0.0 -Dpackaging=jar but when I try to add a reference (in Eclipse) I can't find t

Re: Local Repository

2007-04-05 Thread franz see
Good day to you, Petr, You may want to setup your own Archiva ( see [1] ). Cheers, Franz [1] http://maven.apache.org/archiva/ Great Man wrote: > > Greetings, > > We have some jar files that are not found from ibiblio repository such as > Microsoft sqa jar etc. > > What we are thinking that

Re: Parent build clean issue

2007-04-05 Thread franz see
Good day to you, amorgovsky, No need for that. Usually, you delcare the maven-clean-plugin in your pom if you have something to clean that is outside your target directory. Other than that, you don't have to put it in :) Cheers, Franz amorgovsky wrote: > > Thank you, I will try this. Do you

Local Repository

2007-04-05 Thread Great Man
Greetings, We have some jar files that are not found from ibiblio repository such as Microsoft sqa jar etc. What we are thinking that we create our own repository within company network and all developers could use that repository as first choice for them... Is that possible ?? Any pointers ar

Re: Problem with replaceregexp in maven 2

2007-04-05 Thread Jerome Lacoste
On 4/5/07, Lacoste, Dana <[EMAIL PROTECTED]> wrote: OK, well, I still don't have a solution as to why this doesn't work :) But I've figured out a way to "make it go" at least :) http://www.nabble.com/Classloader-issue-with-ant-optional-tasks-in-a-hie rarchical-structure-tf2431669s177.html#a6780

Re: How can I insert a (non-default?) lifecycle phase?

2007-04-05 Thread Wayne Fay
There have been several discussions on this topic on the Maven Dev list, in particular, I'd suggest you read this thread (on Nabble): Maven Developers List dateDec 3, 2006 4:28 PM subject [m2] New pre-package phase? There are over 40 posts in that thread -- I'm sure y

RE: Problem with replaceregexp in maven 2

2007-04-05 Thread Lacoste, Dana
OK, well, I still don't have a solution as to why this doesn't work :) But I've figured out a way to "make it go" at least :) http://www.nabble.com/Classloader-issue-with-ant-optional-tasks-in-a-hie rarchical-structure-tf2431669s177.html#a6780357 That earlier post (October 12, 2006) showed someo

Report url

2007-04-05 Thread Oscar Picasso
Hi, I use continuum to build some ant based projects. For these projects I have set an email notification in the web interface. But this notification report url points to a wrong host and a wrong port. I get: Online report : http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild

How can I insert a (non-default?) lifecycle phase?

2007-04-05 Thread Tommy Knowlton
Hello, I've created a plugin that I'm using to create "installer" type artifacts. That is, installer in POM's will use my plugin's defined lifecycle mapping to build the desired artifact. Now, I'm trying to get the builder to do some work "just before" the package phase. I've tried adding: org

Maven2 equivalent to CvsTagDiff Ant Task

2007-04-05 Thread Gonzalo Vásquez Sáez
Is there anything in Maven2 equivalent to the Ant task described in http://ant.apache.org/manual/CoreTasks/cvstagdiff.html ?? I've used the the scm:goal diff, but it's output is just in plain diff-like format, not in XML as the Ant task, and XML is just what I need, as I have to build an elaborat

Re: Cannot deploy using webdav with Maven 2.0.6

2007-04-05 Thread jrduncans
Created http://jira.codehaus.org/browse/MNG-2934 -Stephen Carlos Sanchez-4 wrote: > > open a jira http://jira.codehaus.org/browse/MNG and attach a sample > with as much detailas possible > > On 4/2/07, jrduncans <[EMAIL PROTECTED]> wrote: >> >> Sorry, I realize I wasn't clear. That IS how I

RE: [MAVEN][2.0.5] JXR files not included in site report when using a custom build directory

2007-04-05 Thread Ephemeris Lappis
Hello. Now, using first this other repository, and then the new JXR, it works !!! Thanks... -- Ephemeris Lappis > -Message d'origine- > De : Dennis Lundberg [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 5 avril 2007 16:30 > À : Maven Users List > Objet : Re: [MAVEN][2.0.5] JXR files not incl

Re: Cannot deploy using webdav with Maven 2.0.6

2007-04-05 Thread jrduncans
Created http://jira.codehaus.org/browse/MNG-2934 -Stephen Carlos Sanchez-4 wrote: > > open a jira http://jira.codehaus.org/browse/MNG and attach a sample > with as much detailas possible > > On 4/2/07, jrduncans <[EMAIL PROTECTED]> wrote: >> >> Sorry, I realize I wasn't clear. That IS how I

RE: Manipulating the surefire booter classpath

2007-04-05 Thread David Jackman
Unfortunately, it appears that adding dependencies to the surefire plugin does not affect the booter classpath in any way. Any other ideas? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 3:10 PM To: Maven Users List Subject: Re: Manipulatin

Plugin Maven developpement

2007-04-05 Thread Marouane Amraoui
How can i execute a my maven plugin on eclipse ?? I develop a small plugin and I want to test it in eclipse environnement before using mvn insall. --- Merouane AMRAOUI Consultant Expert Division Développement Email.: [EMAIL P

Problem with replaceregexp in maven 2

2007-04-05 Thread Lacoste, Dana
After much googling and attempting to find out how to make this work, I'm emailing for help :) The ant optional task "replaceregexp" replaces the contents of a file by using a regular expression. Because there are multiple regexp libraries, ant loads the regexp class selected by a property after

Javadoc configuration lost with UmlGraph doclet?

2007-04-05 Thread Manos Batsis
When using the UmlGraph doclet to include UML diagrams in my javadocs some parts of the config (header, stylesheet) are ignored. Does anyone have the slightest idea of why this happens? I cant figure where to attack this and hoped someone can point me to the right direction gr.spinellis.um

RE: Maven : generate my own project structure

2007-04-05 Thread Marouane Amraoui
Good day :); 1. ( btw, your structure must be src > main > java. Archetype won't > understand it if it's just src > java ) I think is not true , because I have just generate a my structure project (with fixed modules not filtred ) using src/java. And in the pom file of my archetype I puted

Re: How to pass M2 properties to surefire plugin's argLine

2007-04-05 Thread Jacek Laskowski
On 4/5/07, David Jackman <[EMAIL PROTECTED]> wrote: I'm trying to do almost exactly the same thing (different agent jar, though). Rather than trying to have the agent point to the repo, I used the dependency plugin to copy the jar from the repository to a location under the build directory, then

Re: Parent build clean issue

2007-04-05 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thank you, I will try this. Do you think that I should define the mvn clean plugin in the parent POM in the definition? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not

RE: How to pass M2 properties to surefire plugin's argLine

2007-04-05 Thread David Jackman
I'm trying to do almost exactly the same thing (different agent jar, though). Rather than trying to have the agent point to the repo, I used the dependency plugin to copy the jar from the repository to a location under the build directory, then reference it there. That much is working okay. Wha

Re: [MAVEN][2.0.5] JXR files not included in site report when using a custom build directory

2007-04-05 Thread Dennis Lundberg
Ephemeris Lappis wrote: OK. Thus, it seems a bit difficult, just to test if the JXR update works or not... Anyway, I've learned the way to do it ! Just for my information : is it right to have some plugins or projects that set dependencies on a module that have no matching version in the reposit

Re: Adding the same resource dir in a profile ends up twice in the effective pom

2007-04-05 Thread Dirk Olmes
franz see wrote: > Good day to you, dir, Hi Franz, > If you do this ( your pom resources setup without the profiles ) > > > > > > src/main/resources > > > > > src/main/resources > > ... > > > > >

How to pass M2 properties to surefire plugin's argLine

2007-04-05 Thread Jacek Laskowski
Hi, I wonder how people work out the issue with passing properties to surefire plugin's argLine attribute? I'd like to execute tests with Cayenne's java agent and don't know how to point it out to the artifact in the m2 local repo. I'd like to run m2-ized project with the following in its pom.xm

Re: Adding the same resource dir in a profile ends up twice in the effective pom

2007-04-05 Thread franz see
Good day to you, dir, If you do this ( your pom resources setup without the profiles ) src/main/resources src/main/resources ... Maven resources plugin would copy everything from src/main/resourc

Re: Maven : generate my own project structure

2007-04-05 Thread franz see
Good day, I guess I may have posted this message a bit to hastily :) ...I forgot that you also can't create your archetypes with varying filenames ( meaning you can't filter files, and directories ). I guess, that means you have to submit your patch to maven-archetype-plugin...or use ant :) Ch

Re: Maven : generate my own project structure

2007-04-05 Thread franz see
Good day, Furthermore, you can create that by running archetype:create several times in one module by placing the following in your archetype.xml ... true ... This will allow your archetype to be created on a directory that already contains a pom.xml. Or if you want, you can modify the

Re: Property

2007-04-05 Thread franz see
Good day to you, Christian, You cannot do that AFAIK. However, you can do something like this. ... ... ${some.var} put version here Then access that ${some.var} somewhere else in your pom. Cheers, Franz Christian Clauss wrote: > > Hi everybody. >

[m2] Multiple ear generation

2007-04-05 Thread Warren Crossing
Use XSLT target from ant to generate your application.xml then run maven - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Adding the same resource dir in a profile ends up twice in the effective pom

2007-04-05 Thread Dirk Olmes
Hi, I have a pom that declares the resources in a build section and re-declares the same resource directory in a profile, albeit with excludes. Example: src/main/resources src/main/resources

[m2] assembly: dependencySets - include one artifact with its transitive dependencies?

2007-04-05 Thread Christin Wolfram
Hi there, I'm using maven 2.0.6 and maven-assembly-plugin to package some zip-distributions of my project. Doing that I couldn't find an answer to the following question: How does the assembly plugin handle includes in dependencySets? What is the result when I include an artifact that come

Re: Classloader issue? -- Solved

2007-04-05 Thread James CE Johnson
> Problem Solved! > > It was, of course, a classloader issue. To solve the problem I created my > own URLClassLoader instance and gave it the URLs in of my MoJo's > classloader. Then it was a simple matter to load and instantiate my > utility class from there. > > Because I also need access to the

RE: [MAVEN][2.0.5] JXR files not included in site report when using a custom build directory

2007-04-05 Thread Ephemeris Lappis
OK. Thus, it seems a bit difficult, just to test if the JXR update works or not... Anyway, I've learned the way to do it ! Just for my information : is it right to have some plugins or projects that set dependencies on a module that have no matching version in the repositories, as the plexus-utils

RE: Maven : generate my own project structure

2007-04-05 Thread Marouane Amraoui
Hi, Is good idea , but the structure that i mentiened is a simple example only. Imagine we have this : MyProject-Appli : --> src --> java --> com.omni.application --> module1 --> process1

Junit: maven-test-plugin: System.out not going to the .txt or .xml file

2007-04-05 Thread Sankara Rameswaran
I'm using maven-test-plugin to run my junit test cases. I can see that the output from junit e.g the summary, the exception thrown when an assertion fails ...etc are going to the corresponding .txt and .xml file. But the output of System.out.println is always going to the console and not to the re

Re: build failures, warnings and continuum

2007-04-05 Thread Emmanuel Venisse
In 1.1, you can force a build without changes (and re-do a complete checkout) And if you have 2 build definitions, the second build definition won't look if you have changes since the latest update of the working copy but since the latest execution of the current build definition to prevent to sk

Re: Maven : generate my own project structure

2007-04-05 Thread Raphaël Piéroni
Hi Marouane, What "ap_i" is meaning ? Application number i ? If i guessed correctly, why don't you split your project into N modules each generated using the same archetype and giving it a different packageName ? Hope this helps. Raphaël 2007/4/5, Marouane Amraoui <[EMAIL PROTECTED]>: This

Maven : generate my own project structure

2007-04-05 Thread Marouane Amraoui
This structure below i can't generate it only using archetype developpement if the ap1, .., apn is a parameter and not fixed in the archetype. Please , I want to have some directive from maven users which is the best way to do that : 1. Develop a plugin ???, in this case if there is a example

Re: eclipse and maven discrepancies

2007-04-05 Thread Rolf Strijdhorst
Yes I've read the conversation. and it works. I can finally go on with cavaeatemptor On 4/5/07, Wayne Fay <[EMAIL PROTECTED]> wrote: I actually sent another email to the list with some more details: dateApr 3, 2007 10:25 AM subject Surefire TestNG troubles

Re: Enable Assertions

2007-04-05 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mac, Do you want them enabled when simply running maven or in (for example) surefire? To enable when running maven, you should be able to use the environment variable MAVEN_OPTS and set it to include '-ea' (without the quotes) For enabling (for e

Re: Java 6, JAXWS and Maven

2007-04-05 Thread Subhash Chandran
I have figured it out. In the pom.xml: ... maven-antrun-plugin compile

test-jar not working in maven-clover-plugin (related to MCLOVER-35)

2007-04-05 Thread Ionut S
Hi, We have maven-clover-plugin v2.2 installed and, although I see the MCLOVER-35: http://jira.codehaus.org/browse/MCLOVER-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel is resolved in v.2.2, it's still not working for me. The build is working just fine.. it's only the clover

Property

2007-04-05 Thread Christian Clauss
Hi everybody. I would like to acces a value defined in the pom.xml "Here's the one I want" How can I access this value in the same pom.xml? I tried ${project.dependenc

Re: [MAVEN][2.0.5] JXR files not included in site report when using a custom build directory

2007-04-05 Thread Dennis Lundberg
Ephemeris Lappis wrote: Hello. I've tried what you said, but I have another problem when I explicitly change the JXR plugin version to snapshot : it seems that this indirectly activate some dependency on "org.codehaus.plexus:plexus-utils:jar:1.4.1-SNAPSHOT", and no repository hold it. I use "http

Re: build failures, warnings and continuum

2007-04-05 Thread David Roussel
It's a bit of a hack, but you can see earlier posts in this list for how to force a build with no changes, but it won't honour your dependency. BTW it just uses curl and cron. As for the bug in 1.0.3, I think only bugs in 1.1-alpha are being fixed by the commiters, so your best bet is to test on

Re: Compile fails during install, while running compile succeeds

2007-04-05 Thread Jeroen Leenarts
Ok, I've got an interesting problem on my hands. I've just checked with our "compliancy officer" and I am not allowed to post the output on the internet. The risks of anonymizing and missing something is too great. (Log file of over 600KiB.) I can understand the reasoning, because it would provide

Enable Assertions

2007-04-05 Thread Mac81
Hello, can anyone tell me how to enable assertions in java with maven? Thanks, Mac -- View this message in context: http://www.nabble.com/Enable-Assertions-tf3530517s177.html#a9852617 Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Manipulating the surefire booter classpath

2007-04-05 Thread Marcel Schutte
Recently I used -Xbootclasspath/a: to add dependencies to the forked VM's classpath. I did this because there was some legacy code involved that insists on reading stuff with a getSystemResource(). Regards, Marcel - Original Message From: Wayne Fay <[EMAIL PROTECTED]> To: Maven Users L

Re: maven 2.0.6 and xdoclet-maven-plugin

2007-04-05 Thread Yuri Schimke
I got the same issue and raised a jira issue http://jira.codehaus.org/browse/MNG-2917 But I managed to solve it by re-deploying the maven plugins to our internal repository with patched poms and different version names. We need to do this anyway to use the xjavadoc supporting Java 1.5 This plu

RE: [MAVEN][2.0.6] Module dependencies using site-deploy

2007-04-05 Thread Ephemeris Lappis
Hello. Indeed the bug seems to be the same... This also means the site is build using obsolete data from the repository, and not the last building versions... Are you aware of some kind of workaround, except what I'm use to do running Maven twice ? Thanks. -- Ephemeris Lappis > -Message d'ori

Re: maven site and reporting

2007-04-05 Thread Gianfranco Oldani
Thanks a lot Jeroen, I'll try. Gianfranco Original Message Follows From: "Jeroen Leenarts" <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: "Maven Users List" , [EMAIL PROTECTED] Subject: Re: maven site and reporting Date: Thu, 5 Apr 2007 10:29:53 +0200 Could try binding to the ph

Maven and multiple processors or even distributed compilation

2007-04-05 Thread driftwood
Hi, I was wondering if it was possible to get maven to build in multiple threads based on dependencies? thanks -- View this message in context: http://www.nabble.com/Maven-and-multiple-processors-or-even-distributed-compilation-tf3530287s177.html#a9851950 Sent from the Maven - Users mailing li

Re: maven site and reporting

2007-04-05 Thread Jeroen Leenarts
Could try binding to the phase "post-site". It's an imperfect solution to a imperfect plugin. As I see it plugin execution within a phase is undetermined. Jeroen On 05/04/07, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: Hi, I have developed a plugin which I want to setup in the ... section

Re: [MAVEN][2.0.6] Module dependencies using site-deploy

2007-04-05 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ephemeris Lappis schrieb: > Hello. Hi, Seems like the same issue I asked for on "29.03.2007 21:51" with the subject "Why does site require installation of artifacts?" You may want to search for the response from Damien sent on "30.03.2007 10:13": # I

Re: Compile fails during install, while running compile succeeds

2007-04-05 Thread Jeroen Leenarts
I'm in the process of checking whether or not a clean build with 2.0.5fails. It is running as we speak. Just a note with 2.0.6: "mvn clean install" fails "mvn clean compile" succeeds "mvn clean compile" and then "mvn install" succeeds. Henrique's observation seems to be valid for my build as wel

maven site and reporting

2007-04-05 Thread Gianfranco Oldani
Hi, I have developed a plugin which I want to setup in the ... section of my POM file. The fact is that I want my plugin be called by maven after any other reporting plugin present in the section. Is it possible? Maybe the plugins are called sequentially as they appear in the section?

RE: maven 2.0.6 and xdoclet-maven-plugin

2007-04-05 Thread Jörg Schaible
nicolas de loof wrote on Thursday, April 05, 2007 9:20 AM: > Why don't we get a dependency failure if maven cannot built the > expected classpath ? It can, but with different versions. The xdoclet plugin itself does not declare any dep to ant, so it is inherited. The problem is, that the used m

Re: maven-release-plugin getiing SCM values

2007-04-05 Thread Emmanuel Venisse
William Ferguson a écrit : Can someone please enlighten me on 1) If the SCM user/password has been been explicitly configured in your POM or Settings, how does the maven-release-plugin discover the username/password of the current user to supply to the SCM Eg Subversion)? I need this becxaus

RE: regression using maven 2.0.6

2007-04-05 Thread Jörg Schaible
Ben Fortuna wrote on Thursday, April 05, 2007 9:09 AM: > I see the same issue. Reverted to 2.0.5 until resolved - not > sure whether bug > should be raised on maven or the plugin?? It was already raised (MOJO-618), but the OP closed it for some reason. - Jörg ---

Re: maven 2.0.6 and xdoclet-maven-plugin

2007-04-05 Thread nicolas de loof
Why don't we get a dependency failure if maven cannot built the expected classpath ? 2007/4/4, Jörg Schaible <[EMAIL PROTECTED]>: nicolas de loof wrote on Wednesday, April 04, 2007 5:24 PM: > I got the same issue. > xdoclet plugin requires some ant classes. Maven 2.0.6 seems > to make changes

Re: regression using maven 2.0.6

2007-04-05 Thread Ben Fortuna
I see the same issue. Reverted to 2.0.5 until resolved - not sure whether bug should be raised on maven or the plugin?? nicolas de loof-2 wrote: > > I've upgraded to maven 2.0.6 and my build fails : > ... > > [INFO] Internal error in the plugin manager executing goal ' > org.codehaus.mojo:xdo