RE: building twice - version 1.0.3

2006-05-29 Thread Rick Riemer
Joshua, I've seen the same thing recently. In my case what happened is that I refreshed the status page to see if the build was actually started, but with doing that I was giving another command to start a build. Once I stopped refreshing no more builds happened. Rick -Original

Re: Default goals with maven 2

2006-05-29 Thread Emmanuel Venisse
All builds are already deploy in an internal repository (look at configuration page). If you want to deploy all your artifacts in an other machine, a workaround in to copy every night this internal repository. Emmanuel Julian Payne a écrit : Emmanuel, Well I have nearly 100 projects that I

Re: Default goals with maven 2

2006-05-29 Thread Wayne Fay
I'd think this could be pretty trivial to add as a global default configuration somewhere. And it sounds like a few users want it -- one of you guys (Richard/Julian) might want to add this as a JIRA Enhancement request and then either write the code yourself and contribute it back or wait until

Re : log within surefire 2.2

2006-05-29 Thread langlois yan
Can we discribe surefire plugin in the pom to tell him where is the configuration file. Or, is it a missing feature ? Yan. - Message d'origine De : Wim Deblauwe [EMAIL PROTECTED] À : Maven Users List users@maven.apache.org Envoyé le : Dimanche, 28 Mai 2006, 2h12mn 24s Objet : Re: log

Including resources from java folder in M2

2006-05-29 Thread David Leangen
Hello! I'm new to M2, but I'm familiar with this type of build system. I have some xml config files that normally should be distributed side by side with a class file. So, the files are located in the java folder: src main com/mystuff SomeClass.java SomeClass.xconfig

Internal plugin repository - how to populate?

2006-05-29 Thread ArneD
In many corporate environments it is unacceptable to let users download Maven plugins automatically and directly from the Internet (even not through a proxy). Therefore, it is necessary to set up an internal plugin repository. Question: Is there an easy way how to initially populate the

Re: Including resources from java folder in M2

2006-05-29 Thread Willie Vu
David, According to the standard directory layout, resources should be put under basedir/src/main/resources. Anyway, what you need to do is to add resources/resource into pom.xml. e.g. resources resource directory${basedir}/src/main/resources/directory includes

Re: Including resources from java folder in M2

2006-05-29 Thread David Leangen
Thank you! So, are you saying that I have no choice but to put non-java files in /src/main/resources? I understand that this is the standard layout, but in my case, this will cause a lot of headaches when refactoring, which is why I was hoping to be able to include them in the java dir...

maven2 pom inheritence

2006-05-29 Thread Roy van der Kuil
Hi all, We have a project setup that uses a 'root' pom for specifying things like the source directory/plugins used in the build process etc. This pom file has been uploaded to our local maven repository. This local maven repository is available through the maven proxy which is specified in the

Re: [m2] No Java test frameworks found?

2006-05-29 Thread G. B.
I would be more explicit to understand if the exception was with more context ... I think instead of just displaying that no test framework was found the plugin should tell that it did not found either junit:junit or testng:testng ... in the list of reactors or what ever. that way we would now

Re: Including resources from java folder in M2

2006-05-29 Thread Willie Vu
If you so desire, you can just specify ${basedir}/src/main/java in the resources/resource/directory tag. On 5/29/06, David Leangen [EMAIL PROTECTED] wrote: Thank you! So, are you saying that I have no choice but to put non-java files in /src/main/resources? I understand that this is the

Re: Including resources from java folder in M2

2006-05-29 Thread David Leangen
Great! Thank you very much. On Mon, 2006-05-29 at 15:15 +0800, Willie Vu wrote: If you so desire, you can just specify ${basedir}/src/main/java in the resources/resource/directory tag. On 5/29/06, David Leangen [EMAIL PROTECTED] wrote: Thank you! So, are you saying that I have

RE: maven2 pom inheritence

2006-05-29 Thread Jörg Schaible
Roy van der Kuil wrote on Monday, May 29, 2006 9:07 AM: Hi all, We have a project setup that uses a 'root' pom for specifying things like the source directory/plugins used in the build process etc. This pom file has been uploaded to our local maven repository. This local maven repository

Re: [m2] XDoclet generated resources problem

2006-05-29 Thread Jorg Heymans
You need to specify the xdoclet directory as a resource dir: resource directorysrc/main/resources/directory /resource resource directory${project.build.outputDirectory }/generated-sources/xdoclet/directory /resource and because at that point you're overriding

Re: [M1.1] SAXParserFactoryImpl could not be instantiated

2006-05-29 Thread Warren Crossing
I also had this problem with Java 1.6 so I used java 1.4.2. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Rant (very long)

2006-05-29 Thread Franz Fehringer
Thanks, i stumbled over this page before, but unfortunately it does not solve my problem. With settings.xml as follows settings localRepository//winpc229/supply/Maven2/Repository/localRepository proxies proxy activetrue/active protocolhttp/protocol hostproxy/host

Re: Status on mavenide (maven2) IDEA plugin?

2006-05-29 Thread Trygve Laugstøl
Arik Kfir wrote: well, about a month ago me, milos and jason chatted on irc and mapped the features and (rough) outline/scope of the plugin(s). jason is to publish a docu of that as a summary when he will find the time, and then we can start plan the technical details of the idea plugin to

Re: maven2 pom inheritence

2006-05-29 Thread Roy van der Kuil
Thanks, But I guess this solves only part of the problem. if one of the pom's is missing it doesn't look at settings.xml to resolv any settings (at least not the proxy). Does someone know anything about that problem as well? Thanks for your help and the number of votes should be increased by

Re: distributionManagement for site in parent pom

2006-05-29 Thread Metalli
This Bug is reported in Jira: http://jira.codehaus.org/browse/MSITE-131 -- View this message in context: http://www.nabble.com/distributionManagement+for+site+in+parent+pom-t1685701.html#a4607660 Sent from the Maven - Users forum at Nabble.com.

Re: building twice - version 1.0.3

2006-05-29 Thread Emmanuel Venisse
Yes, actually, if you refresh a page generated just after a form, the form is resended when you refresh the page. You can click on Show Project link in menu instead. We'll fix this problem in 1.1 Emmanuel Rick Riemer a écrit : Joshua, I've seen the same thing recently. In my case what

Re: Notifications going to all addresses

2006-05-29 Thread Emmanuel Venisse
File an issue and I'll look at it. Emmanuel Richard Wallace a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again, I've got the following in my maven2 projects pom.xml. ciManagement systemcontinuum/system notifiers notifier

Re: Default goals with maven 2

2006-05-29 Thread Emmanuel Venisse
I'm agree with Andreas, but if you want to change it, you'll need to do it in each project in project screen. Emmanuel Andreas Guther a écrit : I am not so sure if having a clean deploy in an automated build is a good idea, unless you are planning to deploy snapshots. If you are updating

[M2] Bug ? errors differencies between mvn site and mvn checkstyle:checkstyle

2006-05-29 Thread SiD tourment
Hi all, Look at this strange problem, Versions used : Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-checks tyle-plugin/2.1/maven-checkstyle-plugin-2.1.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-checks

Re: CVS Anonymous User

2006-05-29 Thread Emmanuel Venisse
If you run Continuum as a service with cvsnt, you must run a cvs login manually with the user that run the continuum service. If you run it with an other user, continuum won't can log in on cvsnt Emmanuel Gerard Garrigan a écrit : Hello all, For those of you I was talking to before,

Re: Continuum project groups

2006-05-29 Thread Emmanuel Venisse
You can't actually, it will be a 1.1 feature. Emmanuel John Cartwright a écrit : Hello All, how does one control and modify the Project Group shown on the continuum projects listing? Thanks! -- john

Nullpointer in Dependencies report (with latest plugin versions)

2006-05-29 Thread Geoffrey De Smet
When I do a mvn -U -X site I get the error below. I remember a similar error with the previous version of the project-info-reports plugin, but that was fixed when I upgraded to the latest version a few weeks ago. Now it seems a new kind has appeared. To bad the trace doesn't mention which

RE: Default goals with maven 2

2006-05-29 Thread Julian Payne
Emmanuel, Well I have nearly 100 projects that I want to move to continuum where I deploy a site every night for the development team. Having to edit all these projects by hand is tedious to say the very least... Thanks, Julian Payne ILOG Visualization RD -Original Message- From:

Re: CVS Checkout fails with Username isn't defined.

2006-05-29 Thread Emmanuel Venisse
You're scm url isn't correct. you need a module name at the end of your scm urls. Emmanuel ertnutler a écrit : Thanks for your response. I've pasted the stack trace below. Build Error:

Re: Nullpointer in Dependencies report (with latest plugin versions)

2006-05-29 Thread Geoffrey De Smet
After a bit of tinkering and debugging, I suspect this dependency caused it: !-- JNLP -- dependency groupIdjavax.jnlp/groupId artifactIdjnlp/artifactId version1.5.0/version scopesystem/scope

Re: [M1.1] SAXParserFactoryImpl could not be instantiated

2006-05-29 Thread Arnaud HERITIER
With maven 1.1 beta 2 ? Arnaud On 5/29/06, Warren Crossing [EMAIL PROTECTED] wrote: I also had this problem with Java 1.6 so I used java 1.4.2. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread mathapfahl
I wanted to release a component. The pom.xml is under source control in clearcase. The plugin is running, creates the release.properties, asks me about the tag and then it wants to update the version in the pom.xml If I have a chekout at the pom.xml during the release I've got the Exception,

Re: Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread Wim Deblauwe
Can you post the SCM url you are using? 2006/5/29, mathapfahl [EMAIL PROTECTED]: I wanted to release a component. The pom.xml is under source control in clearcase. The plugin is running, creates the release.properties, asks me about the tag and then it wants to update the version in the

Re: Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread mathapfahl
of course: scm connectionscm|clearcase|C:\Daten\ClearCase\ViewStorage\A13173_L00370021931_production_dynamic.vws\configspec/connection developerConnectionscm|clearcase| \system\pas_build_common_xa\configspec.txt/developerConnection

[m2] bug? problem with release:perform, settings not propagated

2006-05-29 Thread Feniks Nator
Hello, I'm getting this problem when launching release:perform using the following command. D:\javadev\tools\continuum-1.0.2\apps\continuum\working-directory\58mvn release:perform -e -s D:\javadev\tools\maven\maven- 2.0.4\conf\settings_continuum.xml

Re: Internal plugin repository - how to populate?

2006-05-29 Thread Feniks Nator
I agree, it's not an easy job. I'm having the same problems right now. I hope the maven repository manager will solve some of those difficulties. See: http://maven.apache.org/repository-manager There not that much information available, as it's still under development. Another 'option' is to use

Re: [m2] bug? problem with release:perform, settings not propagated

2006-05-29 Thread Jorg Heymans
I had a similar issue with the -N parameter not being passed on. I just logged an issue : http://jira.codehaus.org/browse/MRELEASE-123, feel free to add your usecase there as well. There is at least one On 5/29/06, Feniks Nator [EMAIL PROTECTED] wrote: Hello, I'm getting this problem when

Re: Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread Wim Deblauwe
Have you set everything (e.g. viewstore) correctly according to this: http://maven.apache.org/scm/clearcase.html regards, Wim 2006/5/29, mathapfahl [EMAIL PROTECTED]: of course: scm

Unable to locate local repository in Mac-OSX

2006-05-29 Thread Chandrika
hi, I had set my local repo in machintosh-OS, with all the jars installed in it... In settings.xml i had given the path of my local repository... I had commented proxy setups, and made offline=truewith these settings when i run mvn compile it still looks for my jars in remote

Re: Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread mathapfahl
You mean the tag: clearcase-settings viewstore\\mymachine\myvwstore/viewstore /clearcase-settings ? No I haven't. I use a dynamic view and I don't know to which location I should point here. I meant, this could not be the problem, cause it seems, the plugin knows about the clearcase. Ins't

Re: Plugin Configuration

2006-05-29 Thread rebels_mascot
Thanks Roland, I'll give that a go now. -- View this message in context: http://www.nabble.com/Plugin+Configuration-t1698672.html#a4609896 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: RE : [m2] bug? problem with release:perform, settings not propagated

2006-05-29 Thread Feniks Nator
Just tried again by adding the following -Darguments=-s path to my settings.xml file Does not seem to work, apparently this is caught explicitly by the release plugin, see the warning message. So this seems to be part of the release plugin to prevent that you customize the build. I can

Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
Hi, I am building a WAR, in which I would like to remove some JAR's that come up transitively. I've tried to configure my war-plugin like this: plugin artifactIdmaven-war-plugin/artifactId configuration archive compressfalse/compress

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Kees de Kooter
Give it scope provided. On 5/29/06, Roland Asmann [EMAIL PROTECTED] wrote: Hi, I am building a WAR, in which I would like to remove some JAR's that come up transitively. I've tried to configure my war-plugin like this: plugin artifactIdmaven-war-plugin/artifactId

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
That only seems to work at random! For some strange reason 3 out of 5 builds are correct when the scope is set, but those other 2 builds still have the JAR! I have no problem with building a couple of times more, but for automated testing this is disastrous! Roland On Monday 29 May 2006

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Kees de Kooter
Just to make sure you understood my answer, this is how we do it: dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version scopeprovided/scope

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
Yes, I know how to do that. But like I said, it doesn't always work the way it is supposed to! I have no clue as to why this wouldn't work, might be some sort of bug in Maven... Roland On Monday 29 May 2006 15:14, Kees de Kooter wrote: Just to make sure you understood my answer, this is how

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Kees de Kooter
Does it also happen after you do an mvn clean? On 5/29/06, Roland Asmann [EMAIL PROTECTED] wrote: Yes, I know how to do that. But like I said, it doesn't always work the way it is supposed to! I have no clue as to why this wouldn't work, might be some sort of bug in Maven... Roland On

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
Unfortunately yes. Per default I run it 'mvn clean install'. On Monday 29 May 2006 15:20, Kees de Kooter wrote: Does it also happen after you do an mvn clean? On 5/29/06, Roland Asmann [EMAIL PROTECTED] wrote: Yes, I know how to do that. But like I said, it doesn't always work the way it

Re: Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread Wim Deblauwe
Could you try adding that? Use Windows explorer and look for a shared folder on your pc that is called viewstore or something simuler. Right-click on it and select Sharing and Security. Look at the share name that is defined there (not necessairly the name of the folder). Use that name in the

Re: Problem with the release - plugin in Maven 2 using clearcase -

2006-05-29 Thread mathapfahl
I' ve tried following: clearcase-settings viewstore\\l00370021931\ViewStorage/viewstore /clearcase-settings Unfortunately I ' ve got the same Exception. -- View this message in context:

Re: Unable to locate local repository in Mac-OSX

2006-05-29 Thread Stephen Coy
Using ~/.m2/... works fine on my Mac. The Finder won't let you create a directory whose name begins with a ., but you can do it easily from a command line. But ordinarily, you don't need to create it at all because maven will do that for you. In fact, I reckon that you already have one.

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
Okay, so I figured it out! The provided-scope DOES work, but I had an exclusion defined somewhere else, which for some reason removed my declaration of commons-logging... I've noticed, because I was checking a little more thorough and found that the version I set to provided (and also tried to

What does dependentWarExcludes do??? (was: Excluding a JAR from WAR-generation)

2006-05-29 Thread Roland Asmann
Part of the problem was solved, but one question remains: What does dependentWarExcludes in the war-plugin do??? Roland On Monday 29 May 2006 15:52, Roland Asmann wrote: Okay, so I figured it out! The provided-scope DOES work, but I had an exclusion defined somewhere else, which for some

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Kees de Kooter
Glad you found it ;-) On 5/29/06, Roland Asmann [EMAIL PROTECTED] wrote: Okay, so I figured it out! The provided-scope DOES work, but I had an exclusion defined somewhere else, which for some reason removed my declaration of commons-logging... I've noticed, because I was checking a little more

[m2] surefire questions/remarks

2006-05-29 Thread Wim Deblauwe
Hi, 1) what is the default forkmode in surefire? The documentation does not seem to be correct: forkMode *(Optional)* String ${forkMode} once Option to specify the forking mode. Can be never (default), once or always. none and pertest are also accepted for backwards compatibility. The 3rd

JUG in Europe

2006-05-29 Thread Jason van Zyl
Hi, If anyone belongs to a JUG in Europe I will be in the area from June 19th to July 14th. So far it looks like there will be presentations in London, Dublin, Torino, Oslo and Paris. If you belong to a JUG and would like a presentation on Maven I'd be happy to oblige :-) Just contact me

RE: Internal plugin repository - how to populate?

2006-05-29 Thread Mike Perham
I built our shared repo based on my local repo. You just need to rename the maven-metadata-central.xml files to maven-metadata.xml I think. The command 'wget -nd -r -l 1 URL' is also very handy to scrape a directory from central. We will probably use maven-proxy next time. -Original

Re: What does dependentWarExcludes do???

2006-05-29 Thread Pete Marvin King
it's use for war overlays, for excluding dependent war files from being included in the exploded war. this is use in war:exploded and war:inplace btw, only the artifacts with a runtime scope is included in the war. when using war:war pete marvin Roland Asmann wrote: Part

Re: JUG in Europe

2006-05-29 Thread Jeff Mutonho
Jason , when are you coming to Africa ...:)? On 5/29/06, Jason van Zyl [EMAIL PROTECTED] wrote: Hi, If anyone belongs to a JUG in Europe I will be in the area from June 19th to July 14th. So far it looks like there will be presentations in London, Dublin, Torino, Oslo and Paris. If you belong

Re: What does dependentWarExcludes do???

2006-05-29 Thread Roland Asmann
So if I understand you correctly, it is for WAR(s) that have dependencies on other WAR(s)? Then I indeed don't need this... Roland On Tuesday 30 May 2006 00:27, Pete Marvin King wrote: it's use for war overlays, for excluding dependent war files from being included in the exploded

RE : What does dependentWarExcludes do???

2006-05-29 Thread Olivier Lamy
Look http://jira.codehaus.org/browse/MWAR-33 -- Olivier -Message d'origine- De : Roland Asmann [mailto:[EMAIL PROTECTED] Envoyé : lundi 29 mai 2006 16:35 À : Maven Users List Objet : Re: What does dependentWarExcludes do??? So if I understand you correctly, it is for WAR(s) that

RE : What does dependentWarExcludes do???

2006-05-29 Thread Roland Asmann
OK, so it indeed only happens when one of the dependencies is a WAR. Thanks guys for the help! Roland On Monday 29 May 2006 16:40, Olivier Lamy wrote: Look http://jira.codehaus.org/browse/MWAR-33 - To unsubscribe, e-mail:

Re: JUG in Europe

2006-05-29 Thread Tamás Cservenák
Serbia? Novi Sad or Belgrade? I will see about possibilities ~t~ On 5/29/06, Jeff Mutonho [EMAIL PROTECTED] wrote: Jason , when are you coming to Africa ...:)? On 5/29/06, Jason van Zyl [EMAIL PROTECTED] wrote: Hi, If anyone belongs to a JUG in Europe I will be in the area from June

Re: JUG in Europe

2006-05-29 Thread Piéroni Raphaël
Hello, What is a JUG ? Raphaël 2006/5/29, Tamás Cservenák [EMAIL PROTECTED]: Serbia? Novi Sad or Belgrade? I will see about possibilities ~t~ On 5/29/06, Jeff Mutonho [EMAIL PROTECTED] wrote: Jason , when are you coming to Africa ...:)? On 5/29/06, Jason van Zyl [EMAIL PROTECTED]

Re: JUG in Europe

2006-05-29 Thread Emmanuel Venisse
Java User Group Piéroni Raphaël a écrit : Hello, What is a JUG ? Raphaël 2006/5/29, Tamás Cservenák [EMAIL PROTECTED]: Serbia? Novi Sad or Belgrade? I will see about possibilities ~t~ On 5/29/06, Jeff Mutonho [EMAIL PROTECTED] wrote: Jason , when are you coming to Africa ...:)?

m2: renaming file before including in jar

2006-05-29 Thread Jacob Hoeflaken
In our jar project we've got 2 property files. One for testing and one for production. The one for productions is called spring.properties.production and the one for testing spring.properties. If the environment/system property env is set to production I want to copy

Missing POM's in central-repository

2006-05-29 Thread Roland Asmann
Hi, I've just switched my application from xfire 1.0 to 1.1 and now my builds throw out some warnings for missing POM-files... The builds still complete normally, but I'm not sure if all dependencies are correct now... The missing POM's are: - stax:stax-api:pom:1.0.1 -

[2.0.4] Bug? Profile not used when running outside a Maven project

2006-05-29 Thread ArneD
I want to roll out Maven in a corporate environment with an internal plugin repository. My approach is to define and activate a profile in the global settings.xml, which normally works fine. Problem: When running Maven in a directory that does not contain a pom.xml, the profile from

Re: Profile activation

2006-05-29 Thread Roland Asmann
Maybe I should clarify this a little more, seeing I didn't get any response so far... My build is basically looking like this: !-- Only define those modules that would be used by an external component -- modules module../hermes-person-shared/module

Understanding modules

2006-05-29 Thread Douglas WF Acheson
Hello, Now that I have been working with M2 for sometime, I still feel like a noob :-) Anyways, here is my scenario and question: I have create a structure such as dir/project dir/project/modA dir/project/modB dir/project/modC I have a pom for each module (which include the project level

Re: Understanding modules

2006-05-29 Thread Roland Asmann
Having a dependency on a module, does NOT mean that it will be built! If you have a dependency on JUnit, it is also only copied from your local repository. The only reason for a POM to build another module is when it is defined in the modules-list. So, if you go into your modA and run a 'mvn

Re: Unable to locate local repository in Mac-OSX

2006-05-29 Thread Chandrika
hi steve, Thanks for ur reply...it works! My settings.xml is located under maven_home/conf and also i had created one under localrepo_home...I tried changing in both... I have one more query in invoking ant from maven! In my pom.xml i had given build plugins plugin

Re: Unable to locate local repository in Mac-OSX

2006-05-29 Thread Roland Asmann
You shouldn't run 'antrun:run' directly, because it has no clue what to do! Even with a part specified inside your POM. Your POM looks okay, try running 'mvn compile' to see if Ant is being run. Roland On Monday 29 May 2006 18:12, Chandrika wrote: hi steve, Thanks for ur reply...it works!

The Maven 2 POM Demystified

2006-05-29 Thread Eric Redmond
I hope you find this useful. Its not an introduction article. http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html Sorry to cross-post, but I'd like to add a link to http://maven.apache.org/articles.html Eric

Re: Missing POM's in central-repository

2006-05-29 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-maven-evangelism.html Somebody has to provide poms, and it won't be the maven team as we don't know about that projects. We'll put the poms when somebody else provides them. On 5/29/06, Roland Asmann [EMAIL PROTECTED] wrote: Hi, I've just switched my

Re: [2.0.4] Bug? Profile not used when running outside a Maven project

2006-05-29 Thread Carlos Sanchez
http://jira.codehaus.org/browse/MNG-2261 On 5/29/06, ArneD [EMAIL PROTECTED] wrote: I want to roll out Maven in a corporate environment with an internal plugin repository. My approach is to define and activate a profile in the global settings.xml, which normally works fine. Problem: When

Re: The Maven 2 POM Demystified

2006-05-29 Thread Carlos Sanchez
done, will be there soon On 5/29/06, Eric Redmond [EMAIL PROTECTED] wrote: I hope you find this useful. Its not an introduction article. http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html Sorry to cross-post, but I'd like to add a link to http://maven.apache.org/articles.html

Re: RMI plugin for Maven 1.x

2006-05-29 Thread Martin van den Bemt
Or you can just use the ant rmic task in your maven.xml.. Mvgr, Martin Kanakambaran Nair wrote: Hello, Is a plugin for doing rmic available for Maven 1.x ? Regards, Kanakambaran - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [m2] surefire questions/remarks

2006-05-29 Thread Brett Porter
1) once. fixed. 2) that's a known issue on a number of recently published sites. It's in JIRA to fix. 3) there aren't 20 bugs open, half of those are feature requests. There were no known issues when the last release came out - some have been raised since then. I'll have to investigate the bug,

Re: mvn not finding SNAPSHOT using continuum

2006-05-29 Thread Adam Hardy
I am still trying to work out an issue with continuum: mvn can't find the snapshot to download despite having configuration for the snapshots repository on cvs.apache.org (see below). I think it might be that continuum is reading the repository configuration in the POM, but ignoring the

Re: mvn not finding SNAPSHOT using continuum

2006-05-29 Thread Alexandre Poitras
Try the url and you'll get a 404. From my experience, there are sometimes some problems with the Apache Snapshots repository. Whenever you use a snapshot version, just install the pom in an internal repository unless you want to always work with the latest nightly build. On 5/29/06, Adam Hardy

moving a simple task from m1 to m2

2006-05-29 Thread Warner Onstine
I wrote a simple task in maven.xml that moved a completed war file to a deployment directory and would like to move this to m2. It isn't clear from the documentation what lifecycle phase the war task happens in now (especially since everything has changed so drastically). Here's my snippet

Re: Plugin Configuration

2006-05-29 Thread Barrie Treloar
On 5/29/06, rebels_mascot [EMAIL PROTECTED] wrote: Is there a website where you can get a list of configuration properties for a plugin or the goals available? Or is there a command available to list these details? Besides the help command listed by someone else, check out the plugin's web

Re: Understanding modules

2006-05-29 Thread Barrie Treloar
As you've already said, calling a 'mvn install' in the root dir works, because there you've defined your modules! This is the benefit (and sometimes a curse) when working with Maven. That is, you are dependent upon binary files not the source files. This makes sharing and managing your

Re: moving a simple task from m1 to m2

2006-05-29 Thread Henry S. Isidro
On Tuesday 30 May 2006 7:16 am, Warner Onstine wrote: I wrote a simple task in maven.xml that moved a completed war file to a deployment directory and would like to move this to m2. It isn't clear from the documentation what lifecycle phase the war task happens in now (especially since

Re: moving a simple task from m1 to m2

2006-05-29 Thread Warner Onstine
Yeah, I had started looking at this, but was hoping for something that would work in both ant and maven 2 as I have to have both builds for this right now and I don't want to force them to go through having to install the maven tools for ant just to get this to work properly. Sorry,

Re: m2: renaming file before including in jar

2006-05-29 Thread Edwin Punzalan
When you bind a plugin to a phase, the plugin runs AFTER the specified phase is completed. I suggest you bind your plugin to the test phase which is before the package phase. Also, I think there is a better way to do that. You can use the resources and testResources in your pom.xml to

Re: m2: renaming file before including in jar

2006-05-29 Thread Wayne Fay
That is extremely useful information, Edwin. ;-) Wayne On 5/29/06, Edwin Punzalan [EMAIL PROTECTED] wrote: Both the resources and testResources are copied into the target/test-classes and since resources are copied first, the testResources files will overwrite the ones from resources.

Re: moving a simple task from m1 to m2

2006-05-29 Thread Wayne Fay
Is there a reason you can't simply write an ant build.xml target and call out to it using maven-antrun-plugin? Then you could use it from both M2 and Ant. Wayne On 5/29/06, Warner Onstine [EMAIL PROTECTED] wrote: Yeah, I had started looking at this, but was hoping for something that would

Re: Nullpointer in Dependencies report (with latest plugin versions)

2006-05-29 Thread Wayne Fay
Yes Geoffrey, system scoped dependencies are always suspect when you run into bugs. Which is why I personally advocate against using them where ever possible. ;-) Wayne On 5/29/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: After a bit of tinkering and debugging, I suspect this dependency

[m2] assembly from parent

2006-05-29 Thread Deane Morrow
Hi, I have an application that follows the standard Maven project layout: parent--modules. Each module produces a jar. There is an additional module that contains the scripts required to run and configure the application. I am attempting to use the assembly plugin to bundle up the scripts

Re: [m2] assembly from parent

2006-05-29 Thread Edwin Punzalan
use the assembly plugin's attached goal instead bec its bind to the package phase. The assembly goal is there for the CLI only. ^_^ Deane Morrow wrote: Hi, I have an application that follows the standard Maven project layout: parent--modules. Each module produces a jar. There is an

Re: [m2] assembly from parent

2006-05-29 Thread Kenney Westerhof
On Tue, 30 May 2006, Deane Morrow wrote: Hi, just add a phasepackage/phase to the execution tag and it should work just fine. -- Kenney Hi, I have an application that follows the standard Maven project layout: parent--modules. Each module produces a jar. There is an additional module

easy Q:

2006-05-29 Thread Steve Lewis
This is an easy one, but I haven't found a match by searching the archives. I want to pass a VMarg ('-ea'--enable assertions, if you cared) during execution of the unit tests. What do you recommend? -- SteveL - To

Re: [m2] assembly from parent

2006-05-29 Thread Deane Morrow
Hi, Thanks for the prompt reply. On 5/30/06, Edwin Punzalan [EMAIL PROTECTED] wrote: use the assembly plugin's attached goal instead bec its bind to the package phase. The assembly goal is there for the CLI only. OK, I specified the 'attached' goal and bound the plugin to the 'package'

Re: easy Q:

2006-05-29 Thread Wendy Smoak
On 5/29/06, Steve Lewis [EMAIL PROTECTED] wrote: This is an easy one, but I haven't found a match by searching the archives. I want to pass a VMarg ('-ea'--enable assertions, if you cared) during execution of the unit tests. What do you recommend? I haven't tried it, but the docs say

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-29 Thread Chandrika
Hi, running mvn compile invokes maven's style of compilation which results in creating maven's directory structure as target/classes etc...im ok to have my pjt to follow the structure...but, i need my war file to get deployed directly in my app-server...for which im using ant build

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-29 Thread Kenney Westerhof
On Mon, 29 May 2006, Chandrika wrote: Hi, First, you've got a typo in the /configuration tag ('confiiguration') so I doubt you're getting a 'build successful'. Next, you're missing the plugin definition; you need artifactIdmaven-antrun-plugin/artifactId in the plugin tag. Finally, I assume

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-29 Thread Chandrika
hias u expect i had hand modified iti have the proper typo and artifactId in my pomthere are no syntax/typo or missing tag errors...but, let me know invoking antrun really runs the build.xml also, is there any other tasks that i can try for debugging the problem? or any other goal

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-29 Thread Kenney Westerhof
On Mon, 29 May 2006, Chandrika wrote: hias u expect i had hand modified iti have the proper typo and artifactId in my pomthere are no syntax/typo or missing tag errors...but, let me know invoking antrun really runs the build.xml also, is there any other tasks that i can try

  1   2   >