SV: Can Testcompile and compile have different target/source configurations?

2006-10-04 Thread Naess, Ronny
I am not sure if I understand what you want. You have src/main/java vs src/test/java And src/main/resources/ vs src/test/resources Likevise output target/classes (main) vs target/test-classes Is this not what you want? You want to change these to something else? In that case check

Re: Error getting POM

2006-10-04 Thread Jeff Mutonho
On 10/2/06, Jeff Mutonho [EMAIL PROTECTED] wrote: On 10/2/06, Jeff Mutonho [EMAIL PROTECTED] wrote: My projects were building without issues and just out of the blue the builds are failing with the message : [INFO]

Re: [M2] Overriding the Central Repository not working

2006-10-04 Thread Arnaud Bailly
Peter Anning [EMAIL PROTECTED] writes: Hi, Hello, I do a build with a vanilla settings.xml add any stuff I need to my local repository by hand. Then make a network copy of the local repository delete my local repository and then my troubles start. This won't work, AFAIK. There is

Re: Maven, Eclipse, Junit

2006-10-04 Thread Arnaud Bailly
Douglas Ferguson [EMAIL PROTECTED] writes: When running unit tests from eclipse I can’t resolve my test resources because they are placed in test-classes. Just add src/test/resources to your tests classpath: In eclipse : Run.. Classpath Advanced Add folder regards -- OQube software

SV: Maven, Eclipse, Junit

2006-10-04 Thread Naess, Ronny
Yes, I forgot to mention that. Good point Douglas. If you also have same files in resources ant testResources order is important as I mentioned earlier. We have two database.properties files one for main and one for test and this demands correct order in classpath or else your Eclipse

Re: maven-install-plugin installation

2006-10-04 Thread Javier Leyba
On 10/3/06, Wayne Fay [EMAIL PROTECTED] wrote: mvn -U forces updates of plugins. You can discover this (and other options) yourself by invoking mvn -h. And you can certainly install plugins manually by downloading files from a Maven repo and copying them into your local Repo in the proper

passing a property through scm:bootstrap

2006-10-04 Thread Tomasz Pik
Hi, Does anybody knows if there's a possiblity to pass a property to reactor executing goals passed as -Dgoals= with: $ mvn -DconnectionUrl=scm:cvs:pserver. \ -Dtag=xxx -Dgoals=package scm:bootstrap I'd like to have access to 'xxx' during build. Thanks in advance, Tomek

Re: [m2]How to get files into test classpath?

2006-10-04 Thread RonnyN
I have artifacts that I also build test jars from. The test jars is then referenced by other artifacts. The artifact (ansattportal-commons) that also should exist as test jar (tests and test resources): build plugins plugin

Re: passing a property through scm:bootstrap

2006-10-04 Thread Emmanuel Venisse
It isn't possible actually. Please, file an issue on SCM project. Emmanuel Tomasz Pik a écrit : Hi, Does anybody knows if there's a possiblity to pass a property to reactor executing goals passed as -Dgoals= with: $ mvn -DconnectionUrl=scm:cvs:pserver. \ -Dtag=xxx -Dgoals=package

Re: [solved] proxying multiple repositories

2006-10-04 Thread Brett Porter
I'm not quite sure what's happening there - the proxy shouldn't rely on the indexer to have run. Worth checking. - Brett On 02/10/2006, at 5:21 PM, Mohni, Daniel wrote: Hi all, I just want to inform everyone that this is working now. I installed the mail-1.3.2.jar manualy in the 3p_repo

Depending on sources

2006-10-04 Thread Philippe Faes
Dear all, I have a project that needs to depend on the sources jar of another project. How can I write that in my pom? I've tried some things like this: dependency groupIdbe.ugent.elis.designs/groupId artifactIdsimple-adder/artifactId version0.0.1-SNAPSHOT/version typesources/type

Re: Depending on sources

2006-10-04 Thread Tom Huybrechts
Try classifier instead of type. On 10/4/06, Philippe Faes [EMAIL PROTECTED] wrote: Dear all, I have a project that needs to depend on the sources jar of another project. How can I write that in my pom? I've tried some things like this: dependency groupIdbe.ugent.elis.designs/groupId

Configurable username in site report

2006-10-04 Thread M. v. Leeuwen
Hi, I'm trying to generate a normal site report using a connection/developerConnection 'scm:cvs:pserver:myserver:/data/cvsroot:MavenTestApp' Notice there is no username, since I do not want a developers username into the pom/scm/{connection|developerConnection} of a project, but in their

RE: M2 release plugin snapshot version does not handle new development d

2006-10-04 Thread Jörg Schaible
Hi Kennay, Kenney Westerhof wrote on Saturday, September 30, 2006 8:29 PM: Hi, This is not a bug - the release plugin just updates the module you're releasing. Dependencies should be updated manually, since changing versions might break things. If all modules and submodules share the

RE: [m2] eclipse plugin - too many jar showing in package explorer

2006-10-04 Thread Jörg Schaible
Man-Chi Leung wrote on Tuesday, October 03, 2006 4:36 AM: hi, after I did mvn eclipse:eclipse and got the project imported to eclipse I found a very long list of jar showing in eclipse's Package Explorer. however, not all the jars that i am actually programming for , i believe ,

Re: Assembly: Best way to include produced artifact

2006-10-04 Thread Michael Schneider
Hi, Dan! Thanks for your tip! Indeed, I do not use 2.1, because there is a serious bug in this version, which will not be fixed not before 2.2; see http://mail-archives.apache.org/mod_mbox/maven-issues/200607.mbox/[EMAIL PROTECTED] BTW, it seems that with 2.1 it is not necessary anymore

SV: Configurable username in site report

2006-10-04 Thread Naess, Ronny
Correct me if I am wrong, but each developer do not checkout src via Maven thus not needing to configure username/password in pom.xml or settings.xml. We have no username/password in connection, but we do have one for developerConnection. The latter is used by Continuum and connection for

SV: Build errors

2006-10-04 Thread Naess, Ronny
I think I have narrowed my problem further. The testResources is not always included as expected. How can this happen and more important how can I be sure that it always is? Is there a way for me to list what is loaded? I have tried -X (--debug) but I do not know what to look for. -Ronny

Is there GWT in repository?

2006-10-04 Thread majecek
Hi is there Google Web Toolkit in maven2 repository? I couldn't find it. Thanks -- View this message in context: http://www.nabble.com/Is-there-GWT-in-repository--tf2381784.html#a6637765 Sent from the Maven - Users mailing list archive at Nabble.com.

RE: Can Testcompile and compile have different target/source configurations?

2006-10-04 Thread Brian E. Fox
Sorry I guess I wasn't too clear in what I want. I want to compile my tests using java 1.5 but the rest of my sources as 1.4. Why? Because we use TestNG and the Javadoc runner doesn't work yet and we can't update our product to 1.5 yet. I figured if I could just build the tests using 1.5, then we

What to put in 3rd party lib POM?

2006-10-04 Thread Adrian Shum
Hi All, I am trying to create POMs for some 3rd party lib which will be placed in our company's internal repository. What is suggested to put in the POM in order to make it an 'adequate' POM (apart from group ID, artifact ID etc, of course)? What I can think of is declaring artifact's

ZRQ: front end to maven

2006-10-04 Thread Rahamim, Zvi \(Zvi\)
Hi, Is there a gui for maven (besides eclipse plugin)? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is there GWT in repository?

2006-10-04 Thread majecek
I have found this webpage but it seems that it is not in repository. http://codehaus.org/~shinobu/gwt-maven-plugin/ http://codehaus.org/~shinobu/gwt-maven-plugin/ Does anyone used GWT with maven2 ? majecek wrote: Hi is there Google Web Toolkit in maven2 repository? I couldn't find it.

Assembly-Plugin: Separation of dependency sets by scope

2006-10-04 Thread Michael Schneider
Hi! I want to put all dependency JARs with scope 'runtime' (and 'compile') into one directory: 'lib/', and all deps with scope 'test' (e.g. junit) in another directory: 'tst/lib/'. I currently approximate this with the following entries in my descriptor: dependencySets !-- main --

Re: ZRQ: front end to maven

2006-10-04 Thread Milos Kleint
netbeans module. Milos On 10/4/06, Rahamim, Zvi (Zvi) [EMAIL PROTECTED] wrote: Hi, Is there a gui for maven (besides eclipse plugin)? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Can Testcompile and compile have different target/source configurations?

2006-10-04 Thread Rémy Sanlaville
Did you have a look to this thread ? http://www.nabble.com/-solved--product-codes-at-java-1.4%2C-test-sources-at-java-1.5-tf2233884.html#a6204244 Hope this help, Rémy 2006/10/4, Brian E. Fox [EMAIL PROTECTED]: Sorry I guess I wasn't too clear in what I want. I want to compile my tests using

RE: What to put in 3rd party lib POM?

2006-10-04 Thread Jörg Schaible
Hi Adrian, Adrian Shum wrote on Wednesday, October 04, 2006 2:25 PM: Hi All, I am trying to create POMs for some 3rd party lib which will be placed in our company's internal repository. What is suggested to put in the POM in order to make it an 'adequate' POM (apart from group ID,

Re: SV: Configurable username in site report

2006-10-04 Thread M. v. Leeuwen
It is possible to make use of a common SCM user for making the releases and the assembly, but then there is no way to track which user constructed it. A common user also has the disadvantage of everybody knowing the password (and possibly misusing the account). Thanks for the suggestion though.

dependencies and non-standard packaging

2006-10-04 Thread Philippe Faes
Dear all, I have a project with two modules. One module has a non-standard packaging, say : groupIdbe.ugent.elis.designs/groupId artifactIdsimple-adder/artifactId version0.0.1-SNAPSHOT/version nameSimple Adder Demo/name packagingfoobar/packaging The other module wants to depend on this:

Re: What to put in 3rd party lib POM?

2006-10-04 Thread Philippe Faes
Adrian I just install the jar file without writing a pom: $ mvn install:install-file Check out these guides: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html Works fine for fixing dependencies. Philippe On

Re: dependencies and non-standard packaging

2006-10-04 Thread Tom Huybrechts
Did you define this packaging yourself ? What extension did you assign to it ? If this is just 'jar', try dropping the type from the dependency. Tom On 10/4/06, Philippe Faes [EMAIL PROTECTED] wrote: Dear all, I have a project with two modules. One module has a non-standard packaging, say

RE: ZRQ: front end to maven

2006-10-04 Thread Rahamim, Zvi \(Zvi\)
Thanks, What I want for example is a GUI that given a pom.xml it will show me for each dependency the versions available for that dependency so that I could select it and the project will be built according to that version. -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED]

RE: M2 release plugin snapshot version does not handle new development d

2006-10-04 Thread LAMY Olivier
As kenney said not unless perhaps you explicitly tell the release plugin to do so. I have asked this in my proposal patch [1]. parameter called rewriteReactorsWithNextDev (true/false) in prepare mojo (true by default ?). But no response. Or an other parameter name instead of this huge one ;-).

Ant generation and maven use

2006-10-04 Thread Javier Leyba
Hi After a big fight with proxies I finally got maven working. I've generated a sample project and an eclipse project without problems. When I tried to get an ant build I realized the generated build file ignored my local repository and put a lot of lines trying to download jar and install

Re: maven-install-plugin installation

2006-10-04 Thread Javier Leyba
problem solved. I realized that rediris repo gave me not valid jars.so I changed my mirror repo and everything worked well. Thanks J On 10/4/06, Javier Leyba [EMAIL PROTECTED] wrote: On 10/3/06, Wayne Fay [EMAIL PROTECTED] wrote: mvn -U forces updates of plugins. You can discover this (and

Re: dependencies and non-standard packaging

2006-10-04 Thread Philippe Faes
Thanks Tom Things went wrong because the lifecycle only creates the artifact in the package phase, which is not execute when running mvn test. I'll ask on the developers list how to fix that. Philippe On Wed, 2006-10-04 at 15:28 +0200, Tom Huybrechts wrote: Did you define this packaging

Re: ZRQ: front end to maven

2006-10-04 Thread Milos Kleint
the not-yet released version of mevenide for netbeans does have such a feature, both in code completion for the pom.xml and in project gui. I'd like to push that out in a month or so. it works by reusing the archiva indexer and indexes your local repository. Once archiva allows downloading the

ANT in maven 2.X

2006-10-04 Thread Neeraj Bisht
hi all i want to include ant task in my pom (maven 2.0.4 ) but how i can proceed , i do not know i did googling and find some link on apache site http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but here it is not clear and i tried i did not get any error and also i am

Re: dependencies and non-standard packaging

2006-10-04 Thread dan tran
your PB relates to http://jira.codehaus.org/browse/MNG-1682 please vote for that issue the work around is to name yr packaging and extension to be the same example is at http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/main/resources/META-INF/plexus/components.xml

Re: ANT in maven 2.X

2006-10-04 Thread Marco Mistroni
hello, check what is the actual value of ${maven.build.dir}/${pom.artifactId}-${ pom.currentVersion}.jar by echoing... maven will result in a success regardless the outcome of copy (pls anyone correct me if i m mwrong, but i have experienced same behaviour).. hth marco. On 10/4/06, Neeraj

plugins execution priority

2006-10-04 Thread Roberto Tiella
Hi All, I have the following problem concerning plugins execution priority: suppose a pom declares two plugins (say P1 and P2) attached to the same phase (e.g. process-test-resources). I need P1 executed before P2, the reason being that P2 uses P1's output. Is there a way to declare this

Re: Ant generation and maven use

2006-10-04 Thread Wayne Fay
The general advice for new Maven Users is that you should download the free Better Builds With Maven PDF, read the whole thing, and then if/when you have more questions or things aren't working like you expect, come back to the list and post them. Wayne On 10/4/06, Javier Leyba [EMAIL

Re: ANT in maven 2.X

2006-10-04 Thread Wayne Fay
First off, your XML is not well-formed. echo.../ant:echo doesn't look like valid XML, so I'm not surprised its not working right for you. Also you enclosed the echo/ node inside an ant node but then the copy/ node was outside it. So you need to make the XML proper before proceeding. Follow the

RE: Can Testcompile and compile have different target/source configurations?

2006-10-04 Thread Brian E. Fox
I was hoping for a more formal way than binding to a new phase, but this could work since the prebound test compile phase would detect nothing needs to be done. I need to do this in a parent pom, but I'm not sure what effect binding this would have on non-jar projects.

Does Maven prompt for password?

2006-10-04 Thread jan_bar
Hi, I am testing deploy:deploy-file to out internal repository. This is my settings: interactiveModetrue/interactiveMode server idssh-server/id usernameroot/username passwordugly/password configuration sshExecutableD:\Progra~1\Utils\Putty\plink/sshExecutable

RE: Is there GWT in repository?

2006-10-04 Thread Allison, Bob
GWT is not going to be in the Maven repository because it has a license that must be agreed to. The plugin is designed to link GWT into the Maven development cycle. -Original Message- From: majecek [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 08:51 To:

mvn site does NOT create index files for any of my modules!!!!!!

2006-10-04 Thread Mick Knutson
I get all the other files and documents created EXCEPT the index.html files. This applies for all my modules. Can someone please help me to understand why the index would be omitted from creation? -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

Build fails when unit tests fail

2006-10-04 Thread Zeitlin, Michael \(ATL\)
I am trying to generate a clover report using the mvn site command on maven2. However, the project is currently in a transitional phase and has a lot of unit test failures. So, I would like clover to generate the report against the unit test that exists and not fail if there are any unit

RE: Build fails when unit tests fail

2006-10-04 Thread Chris Hilton
mvn site -Dmaven.test.failure.ignore=true I think that will do the trick. Chris -Original Message- From: Zeitlin, Michael (ATL) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 04 October, 2006 11:00 To: users@maven.apache.org Subject: Build fails when unit tests fail I am

Installing snapshot sources

2006-10-04 Thread Akbarr
Hi all, I'd like to create a jar with the sources of my project every time a install is executed, ie, to install the .java sources always together to the .class binaries. I've looked at the configuration of maven-install-plugin and I don't see such a choice. Anyone knows how can I do that?

Re: Installing snapshot sources

2006-10-04 Thread Tom Huybrechts
Add the maven-source-plugin to the package phase. See http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html On 10/4/06, Akbarr [EMAIL PROTECTED] wrote: Hi all, I'd like to create a jar with the sources of my project every time a install is executed, ie, to install the .java

How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
I want to know how I can put cobertura.ser into my target DIR so when I run mvn clean, the cobertura files get cleaned as well. -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran
http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: I want to know how I can put cobertura.ser into my target DIR so when I run mvn clean, the cobertura files get cleaned as well. -- Thanks DJ MICK http://www.djmick.com

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Hilco Wijbenga
Hi Mick, On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: I want to know how I can put cobertura.ser into my target DIR so when I run mvn clean, the cobertura files get cleaned as well. I use the antrun plugin to remove cobertura.ser as part of 'clean'. It's a workaround but at least clean

Checkstyle multi module tip

2006-10-04 Thread Manfred Moser
Hi! I just fixed up our checkstyle setup for our multi module project using a different approach than mention on the site. Maybe this should be included as a tip on the plugin site. Here is what I did. Our subversion repository is http browsable. So in my parent pom I got properties

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
So how would I configure dataFile in my plugin? On 10/4/06, dan tran [EMAIL PROTECTED] wrote: http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: I want to know how I can put cobertura.ser into my target DIR so when I

Re: ANT in maven 2.X

2006-10-04 Thread neeraj daffodil
hi Wayne Thanks for your link Actully i am not geeting any ant error ,maven should have to give the error if we are wrong yes you are right that i have wrong syntex but still maven show build succesfully i am not able to understand why this is happening and still in delima how i call ant task

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
Can you please show me your solution? On 10/4/06, Hilco Wijbenga [EMAIL PROTECTED] wrote: Hi Mick, On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: I want to know how I can put cobertura.ser into my target DIR so when I run mvn clean, the cobertura files get cleaned as well. I use the

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran
oopps, the doc did say we can not change this location due to bug in corbertura 1.6 how about remove that file in your post-clean phase -D On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: So how would I configure dataFile in my plugin? On 10/4/06, dan tran [EMAIL PROTECTED] wrote:

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
Works for me, but how do I do it. On 10/4/06, dan tran [EMAIL PROTECTED] wrote: oopps, the doc did say we can not change this location due to bug in corbertura 1.6 how about remove that file in your post-clean phase -D On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: So how would I

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Gail Bowman
Mick Knutson wrote: I want to know how I can put cobertura.ser into my target DIR so when I run mvn clean, the cobertura files get cleaned as well. I read somewhere to put this in your plug-ins so cobertura files would be cleaned as part of the clean goal. It works for me. plugin

Re: ANT in maven 2.X

2006-10-04 Thread Marco Mistroni
Hello, maven2 will result in an error if the execution of your ant task fails.. try to use this in your pom.xml, you'll see that maven will error out taskdef name=webdoclet classname=xdoclet.modules.web.WebDocletTask/ webdoclet destdir=./ if you havent imported proper dependencies and defined

pmd plugin

2006-10-04 Thread EJ Ciramella
Is anyone using this and able to shed some light on something for me? I'm having trouble using this on a heavily modularized build. For example, we have this kind of structure: parent pom.xml where pmd is configured |_child pom.xml subproject |_child pom.xml subproject |_child pom.xml

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
I had that, minus the idclean/id in my code already, and that does not work for me. Thanks though. On 10/4/06, Gail Bowman [EMAIL PROTECTED] wrote: Mick Knutson wrote: I want to know how I can put cobertura.ser into my target DIR so when I run mvn clean, the cobertura files get cleaned as

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Gail Bowman
Mick Is it in the build plugins? The stanza with the clean information needs to be in the build section. I also have this in the reporting section plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId /plugin I should have added that

Re: release plugin failed to authenticate

2006-10-04 Thread Manuel Ledesma
Manuel Ledesma wrote: I'm using scpexe and my private key is at my ${home}/.m2/settings.xml, Maven is able deploy without prompting for password but if I tried the release:perform it just hangs at The authenticity of host 'www.whatever.com' can't be established, it looks like is not using scpexe

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
Did that as well, and no dice. Are you using modules heavily? I am, and I have sub-modules as well. On 10/4/06, Gail Bowman [EMAIL PROTECTED] wrote: Mick Is it in the build plugins? The stanza with the clean information needs to be in the build section. I also have this in the reporting

How can I have JBoss plugin run, only for a certain profile?

2006-10-04 Thread Mick Knutson
I want to run in 2 different containers (JBoss and OC4J), and want to have only 1 profile deploy to JBoss. -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

Re: Ant generation and maven use

2006-10-04 Thread Javier Leyba
On 10/4/06, Wayne Fay [EMAIL PROTECTED] wrote: The general advice for new Maven Users is that you should download the free Better Builds With Maven PDF, read the whole thing, and then if/when you have more questions or things aren't working like you expect, come back to the list and post them.

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran
Put this build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId executions execution goals goalclean/goal /goals /execution /executions /plugin /plugins

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Gail Bowman
I am not using modules and sub-modules - so that may be the difference. Mick Knutson wrote: Did that as well, and no dice. Are you using modules heavily? I am, and I have sub-modules as well. On 10/4/06, Gail Bowman [EMAIL PROTECTED] wrote: Mick Is it in the build plugins? The stanza

RE: pmd plugin

2006-10-04 Thread EJ Ciramella
Hrm - this seems to do the trick: configuration linkXReffalse/linkXRef targetJdk1.5/targetJdk targetDirectory${project.build.directory}/targetDirectory outputDirectory${project.build.directory}/pmdreport/outputDirectory

RE: Ant generation and maven use

2006-10-04 Thread EJ Ciramella
It's really unfair to suggest that everyone download this pdf and read/memorize it. Maven 2 needs much better documentation. -Original Message- From: Javier Leyba [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 2:21 PM To: Maven Users List Subject: Re: Ant generation and

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
I already have that as it was in the example usage for this plugin. But I use modules and sub-modules heavily and the files are not cleaned. On 10/4/06, dan tran [EMAIL PROTECTED] wrote: Put this build plugins plugin groupIdorg.codehaus.mojo/groupId

Re: How can I have JBoss plugin run, only for a certain profile?

2006-10-04 Thread Wayne Fay
You can control a lot of things like this directly in the profile... I'm reasonably certain you could do this, though to be honest I've not needed to do it myself yet. Perhaps this thread will be helpful: From: Ronald Kurr [EMAIL PROTECTED] To: users@maven.apache.org Date: Sep 13, 2006 8:36 AM

few questions - User Management

2006-10-04 Thread raghurajan . x . gurunathan
Hi All I'm using contiumm 1.0.3 and i have lot of projects on it being used by different team I created a different login for them to login and perform the build on build server, but when they they do have access to all projects instead of just their projects for eg. lets say i have project

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran
hmm, it works for me On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: I already have that as it was in the example usage for this plugin. But I use modules and sub-modules heavily and the files are not cleaned. On 10/4/06, dan tran [EMAIL PROTECTED] wrote: Put this build plugins

Re: Ant generation and maven use

2006-10-04 Thread Wayne Fay
The general assumption on this list is that very few new users have read the BBwM book... so you (Javier) are certainly the rare case! (And EJ, I agree that M2 needs better docs in general, but I disagree that its unfair to suggest that users read the PDF. A non-trivial ratio of the questions

Re: Ant generation and maven use

2006-10-04 Thread Javier Leyba
On 10/4/06, EJ Ciramella [EMAIL PROTECTED] wrote: It's really unfair to suggest that everyone download this pdf and read/memorize it. Maven 2 needs much better documentation. Well, I really appreciate any documentation in open source projects. I know it's dificult to get people to make docs

Problems with assembly plugin

2006-10-04 Thread Dave Hoffer
I am trying to integrate the assembly plugin into my project...but it doesn't include any files, why? My descriptor file (assembly-bin.xml) contains: assembly idbin/id formats formatzip/format /formats repositories repository outputDirectoryrepository/outputDirectory

Re: Eclipse war builder

2006-10-04 Thread Greg_Vaughn
Kevin Galligan [EMAIL PROTECTED] wrote on 10/02/2006 02:11:49 PM: Just thought I'd send a little back to the community. I coded a simple eclipse builder plugin that helps speed up webapp development when using the war plugin. I'm sure there's something out there that does this already, but

Re: Ant generation and maven use

2006-10-04 Thread Javier Leyba
On 10/4/06, Wayne Fay [EMAIL PROTECTED] wrote: The general assumption on this list is that very few new users have read the BBwM book... so you (Javier) are certainly the rare case! I'm new to maven but experienced systems dveloper. That's the difference. As for your original email, to be

Re: Ant generation and maven use

2006-10-04 Thread Javier Leyba
On 10/4/06, Javier Leyba [EMAIL PROTECTED] wrote: On 10/4/06, Wayne Fay [EMAIL PROTECTED] wrote: The general assumption on this list is that very few new users have read the BBwM book... so you (Javier) are certainly the rare case! I'm new to maven but experienced systems dveloper. That's

Re: Ant generation and maven use

2006-10-04 Thread Wendy Smoak
On 10/4/06, Javier Leyba [EMAIL PROTECTED] wrote: I did mvn ant:ant No, my local repo is in w:\`mvn-repo but the ant build file appear with references to c:\wint\profiles\jleyba\.m2\repository (or something else, I'm not in my job now). It sounds like maven-ant-plugin isn't respecting the

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson
Did your test use modules, and submodules? On 10/4/06, dan tran [EMAIL PROTECTED] wrote: hmm, it works for me On 10/4/06, Mick Knutson [EMAIL PROTECTED] wrote: I already have that as it was in the example usage for this plugin. But I use modules and sub-modules heavily and the files are

Re: Ant generation and maven use

2006-10-04 Thread Javier Leyba
On 10/4/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/4/06, Javier Leyba [EMAIL PROTECTED] wrote: I did mvn ant:ant No, my local repo is in w:\`mvn-repo but the ant build file appear with references to c:\wint\profiles\jleyba\.m2\repository (or something else, I'm not in my job now). It

Re: Ant generation and maven use

2006-10-04 Thread Wayne Fay
Your English is quite good, especially given that you've never had any formal education. So I won't let you use that as a crutch! ;-) To be perfectly honest, I've never used the ant plugin in the manner you're suggesting, so it seems like I've learned something new with this email. It sounds

Re: Ant generation and maven use

2006-10-04 Thread Wayne Fay
Also, when I did mvn compile to compile my code with mvn it didn't found jar files and gave me a lot of errors about missed jar files. Which jar files specifically? Some cannot be downloaded automatically from Maven Repos (licensing prohibits redistribution for many) and must be manually

Re: Ant generation and maven use

2006-10-04 Thread Javier Leyba
On 10/4/06, Wayne Fay [EMAIL PROTECTED] wrote: Also, when I did mvn compile to compile my code with mvn it didn't found jar files and gave me a lot of errors about missed jar files. Which jar files specifically? Some cannot be downloaded automatically from Maven Repos (licensing prohibits

Re: Ant generation and maven use

2006-10-04 Thread Wayne Fay
Generally no. At least, I've never had this issue. I would suspect that you have under-specified your dependencies in the pom, or assigned a compile-time dependency to a runtime-scope perhaps? Wayne On 10/4/06, Javier Leyba [EMAIL PROTECTED] wrote: On 10/4/06, Wayne Fay [EMAIL PROTECTED]

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Joakim Erdfelt
Hi, The situation with the dataFile parameter, is that it is unreliable to use System Properties from within the embedded nature of the cobertura-maven-plugin. The bug has a fix on the cobertura side: https://sourceforge.net/tracker/index.php?func=detailaid=1543280group_id=130558atid=720017 Go

Re: Ant generation and maven use

2006-10-04 Thread Wendy Smoak
On 10/4/06, Javier Leyba [EMAIL PROTECTED] wrote: Wendy, thanks for your message, I'll try to follow your instrucctions. Looks like it was reported a while ago, and just fixed recently: http://jira.codehaus.org/browse/MANT-2 To get access to the fix, you can either build the plugin from

Modules Building Out of Order

2006-10-04 Thread SingleShot
I have a master POM and many modules. For months we've been building fine. We occassionally add a new module with no problem whatsoever. We typically will delete our artifacts from our local repository to make sure there are no leftovers from defnuct modules. Now for the past few days, when we do

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Joakim Erdfelt
Hi, The situation with the dataFile parameter, is that it is unreliable to use System Properties from within the embedded nature of the cobertura-maven-plugin. The bug has a fix on the cobertura side: https://sourceforge.net/tracker/index.php?func=detailaid=1543280group_id=130558atid=720017 Go

Re: Modules Building Out of Order

2006-10-04 Thread Eric Brown
Hi Mike, I'm assuming you're talking about running 1 goal in the same phase? Order is not guaranteed. Annoying. Documentation at http://maven.apache.org/guides/introduction/ introduction-to-the-lifecycle.html would imply that they are applied in the order they're found in poms, but that

Re: Modules Building Out of Order

2006-10-04 Thread Nigel Magnay
Are you using the assembly plugin? could be *MASSEMBLY-97 http://jira.codehaus.org/browse/MASSEMBLY-97 or MASSEMBLY-102, *raised way back in May but don't look any closer to being fixed. On 04/10/06, SingleShot [EMAIL PROTECTED] wrote: I have a master POM and many modules. For months we've

Re: Modules Building Out of Order

2006-10-04 Thread SingleShot
I believe my problem description was not very clear. When I build, Maven first displays the order in which it will build modules, based on analysis of their dependencies. For example: [INFO] Reactor build order: [INFO] MasterPOM [INFO] ModuleA [INFO] ModuleB [INFO] ModuleC [INFO]

Maven's new central repository

2006-10-04 Thread Jason van Zyl
Hi, Just to let users know that we are trying to improve Maven's infrastructure to try and provide a better user experience: http://blogs.maven.org/jvanzyl/2006/10/04/116391397.html Thanks, Jason. - To unsubscribe,

Re: Modules Building Out of Order

2006-10-04 Thread SingleShot
That's it! There is a workaround posted on the defect report that I've confirmed works for me. I must not have cleaned out my repository in a while, so I have not noticed that adding assemblies breaks the build. FYI, my assembly plugin configuration: plugin

How to exclude dependent test artifacts using assembly plugin?

2006-10-04 Thread Dave Hoffer
How can I exclude artifacts that are defined with test scope in my assembly definition file? I am assembling a multi-module project using the moduleSets approach. Here is my definition file: assembly idbin/id formats formatzip/format /formats

  1   2   >