IntelliJ plugin for viewing your repository

2006-03-15 Thread Wim Deblauwe
I just found this IntelliJ plugin, I thought it might be handy: http://www.boomerango.com/raven/ Although I think it only works with Maven 1 by looking at the website. regards, Wim

Public continuum demo?

2006-03-15 Thread Geoffrey De Smet
Is there a public continuum demo available? Maven 2 has one running, but the site is not publicly visible, which is sad as continuum is such a great product, but people don't understand it till they see it. -- With kind regards, Geoffrey De Smet

[m2] eclipse plugin - adding arguments to buildcommand

2006-03-15 Thread Mario Ivankovits
Hi! Given I might find some time I would like to implement the possibility to add arguments to the buildcommands. I would like to archive this by allowing to add a CDATA section to every buildcommand in pom.xml. So in the end it should look like this: buildcommands buildcommand

[m2] Site generation and info from xxx-mojos.xml

2006-03-15 Thread hermod.opstvedt
Hi Is there any setting or plugin that will document the mojo for building the site, i.e the paramaters etc? I am thinking of having it generate something like this : http://mojo.codehaus.org/changes-maven-plugin/announcement-mail-mojo.html Hermod * * * * * * * * * * * * * * * * * * * * * *

Re: M2 + Pluto1.1

2006-03-15 Thread John Tolentino
http://portals.apache.org/pluto/source-repository.html javed mandary wrote: Hi all, am trying to use a portal and it seems M2 is already intergrated with the build for the pluto1.1 portal , does any one know where to get source code for pluto 1.1 ? regards, Javed

Re: [m2] Site generation and info from xxx-mojos.xml

2006-03-15 Thread John Tolentino
Hi Hermond, Yes. It's maven-site-plugin. Try: mvn site:site http://maven.apache.org/plugins/maven-site-plugin/ http://maven.apache.org/guides/mini/guide-site.html Regards, John [EMAIL PROTECTED] wrote: Hi Is there any setting or plugin that will document the mojo for building the site, i.e

Re: [M2] how to setup proxy in POM?

2006-03-15 Thread David Delbecq
Szczepan Faber a écrit : Are you using 'maven IDE' plugin? The doc says (http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html) that proxy is not supported as well in this plugin. How did you make it work in proxied network? I pass vm args (-DproxySet, ...) to startup.jar but still with

Path when doing site-deploy includes parent artifactId

2006-03-15 Thread Julian Payne
When I deploy my site using the site-deploy goal it adds the parent artifactId. I have a pom as follows: project modelVersion4.0.0/modelVersion parent groupIdjviews/groupId artifactIdjar-template/artifactId versionSNAPSHOT/version /parent nameILOG JViews Utilities/name

Re: [M2] Findbugs plugin results to stacktrace

2006-03-15 Thread Rik Bosman
Can I just add it to the dependencies section of the pom, or is there a way to add it to specific dependencies of this plugin? Regards, Rik 2006/3/14, Wayne Fay [EMAIL PROTECTED]: Root cause: java.lang.NoClassDefFoundError: org/jaxen/JaxenException Its trying to build and use an XPath and

Re: Public continuum demo?

2006-03-15 Thread Brett Porter
We don't actually have one at present (the mails to the dev list are an interim solution). The hardware we were using is no longer available, so we're working on finding it a new home... should be possible around the 1.0.3 release. - Brett On 3/15/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:

A required plugin was not found: Plugin could not be found

2006-03-15 Thread Boris Lenzinger
Hi, I'm newbie in Maven and I'm exploring this great tool. I'm using it for a personnal project but I encounter a problem that I cannot fix. I've searched on the ML and googled with no result on this problem. I'm using Maven 2.0.2. I want to generate code coverage reports on the project

[M202] Nightly site plugin broken?

2006-03-15 Thread Cabasson Denis
I'm working on the nightly builds of maven plugins, and the latest site plugin (20060314.165130-3) isn't working on my projects, which worked just fine yesterday. Here is the error stacktrace: [INFO] [site:site] [INFO]

Re: A required plugin was not found: Plugin could not be found

2006-03-15 Thread David Sag
The cobertura plugin is not finished yet. I recommend you pop over to http://jira.codehaus.org/browse/MCOBERTURA-2 and http://jira.codehaus.org/browse/MCOBERTURA-5 and vote on those issues Kind regards, Dave Sag Boris Lenzinger [EMAIL PROTECTED] wrote on 15-03-2006 11:03:35: Hi,

Re: M2.0.2 SVN ChangeLog

2006-03-15 Thread Stefan Fritz
Javed, I have the same problem as you had. If I add the -Dusername and -Dpassword to the mvn command changelog works. I also tried to add username and password properties to the profile but it didn't wokr for me. Did you have success? Regards Stefan javed mandary wrote: The thing is that

Re: A required plugin was not found: Plugin could not be found

2006-03-15 Thread Boris Lenzinger
Cobertura plugin is not finished but I guess it is working for a single project no ? There are some versions released. I'll check the issues you pointed. Anyway, I have the same problem with jdepend-maven-plugin and changes-maven-plugin. David Sag wrote: The cobertura plugin is not

Re: [M202] Nightly site plugin broken?

2006-03-15 Thread Carlos Sanchez
There's a 2.0-20060315.083713-4 already there On 3/15/06, Cabasson Denis [EMAIL PROTECTED] wrote: I'm working on the nightly builds of maven plugins, and the latest site plugin (20060314.165130-3) isn't working on my projects, which worked just fine yesterday. Here is the error stacktrace:

[m2] Internal Repositories

2006-03-15 Thread Magnus Hagström
It CAN be done, we wanted to do the same thing as you, here is how we did it. 1. Edit Settings.xml add - localRepositoryc:/devtools/repository/localRepository If you dont specify this all files would be downloaded to ~/repository. We didnt want that. We wanted a single repo for all files.

RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Olivier Lamy
Maybe but look at : http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins /maven-site-plugin/2.0-SNAPSHOT/?C=M;O=D maven-site-plugin-2.0-20060315.092459-4.jar (this one failed with same NPE) [INFO] snapshot org.apache.maven.skins:maven-stylus-skin:1.0-SNAPSHOT: checking for

Re: [M2] Project Lifecycle generate-sources -- how compile?

2006-03-15 Thread Stephen Duncan
If you're using the jaxb plugin from mojo: http://mojo.codehaus.org/jaxb2-maven-plugin/ and this is happening, then it's a bug in the plugin, and an issue should be put in JIRA. -Stephen On 3/14/06, Andreas Guther [EMAIL PROTECTED] wrote: Hi, I am still having problems with the project

Re: How do you install a JAR with source

2006-03-15 Thread Stephen Duncan
Again, running mvn -DperformRelease=true install will do the same thing. -Stephen On 3/14/06, Aaron Freeman [EMAIL PROTECTED] wrote: Thanks a lot!! After looking at that link I figured the way you install the sources and the javadocs with the binary is with the command: mvn source:jar

Re: [M2] compile sources fails - where are snapshot repositories???

2006-03-15 Thread Szczepan Faber
Ok now assembly plugin works, but what about snapshot repositories for maven components? I am trying to resolve: - required artifacts missing: org.apache.maven:maven-core:jar:2.1-SNAPSHOT - However, you can always just pull the

[m2] generating plugin documenation

2006-03-15 Thread Konstantin Polyzois
When I look at the documentation for the maven plugins there are a list of available goals and so on. Is this documentation automatically generated? If so, I would like to trigger the same kind of documenation for my own home-grown plugins, any tips? /Konstantin

Re: [m2] generating plugin documenation

2006-03-15 Thread Konstantin Polyzois
Sorry I digged a litle more it is the: org.apache.maven.plugins:maven-plugin-plugin:report that does it. /Konstantin On 3/15/06, Konstantin Polyzois [EMAIL PROTECTED] wrote: When I look at the documentation for the maven plugins there are a list of available goals and so on. Is this

Re: [m2] Internal Repositories

2006-03-15 Thread Khin, Gerald
Meanwhile I'm using the maxen-proxy based solution as suggested by Alexandre. Works fine for me. Cheers, Gerald FROM: Magnus Hagström [mailto:[EMAIL PROTECTED] Sent: Mi 03/15/2006 12:02 To: users@maven.apache.org Subject: [m2] Internal Repositories It CAN

Re: M2.0.2 SVN ChangeLog

2006-03-15 Thread Emmanuel Venisse
new changelog plugin (not release yet) allow now to define username/password in settings.xml Emmanuel Stefan Fritz a écrit : Javed, I have the same problem as you had. If I add the -Dusername and -Dpassword to the mvn command changelog works. I also tried to add username and password

Deploy to local tomcat

2006-03-15 Thread Andrew Watters
Hi I'm trying to deploy a WAR to tomcat running on my local machine. I feel like I'm missing something really obvious here as I haven't been able to get it to work. Or am I just using the wrong plugin? I would be grateful if someone could point out where I am going wrong. Regards Andrew

RE: Path when doing site-deploy includes parent artifactId

2006-03-15 Thread Brian E. Fox
I ran into this a while ago too. Since I don't actually need my parents to be called parent, I just renamed them to match the directory structure. The other workaround is that in each pom you specify the scm url, tagbase and site url. -Original Message- From: Julian Payne [mailto:[EMAIL

Re: Deploy to local tomcat

2006-03-15 Thread Arnaud HERITIER
Take a look at cargo : http://cargo.codehaus.org Arnaud On 3/15/06, Andrew Watters [EMAIL PROTECTED] wrote: Hi I'm trying to deploy a WAR to tomcat running on my local machine. I feel like I'm missing something really obvious here as I haven't been able to get it to work. Or am I just

Re: ConcurrentModificationException when building with maven 1, CVS and Windows

2006-03-15 Thread Emmanuel Venisse
What is your version? Emmanuel Ryan, Scott D a écrit : I noticed a posting on JIRA for this issue but no activity since November. We were getting this problem on some of our projects but it seems now that non of our projects will build due to this error. Has anyone found a cause or

RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Olivier Lamy
Why maven-site-plugin have been removed from http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/ ?? Yesterday, a good snapshot worked in this repository. Today no more only a bad one in http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins /maven-site-plugin/.

Re: Jabber not working

2006-03-15 Thread Emmanuel Venisse
I'm sorry but i don't jnow what's happen, it works fine for me and other users with a standard jabber server or google talk. You can try to find what is the problem by looking at code of plexus-jabber :

Re: Deploy to local tomcat

2006-03-15 Thread David H. DeWolf
Try using the tomcat-maven-plugin. Configure it like this in the webapp's pom. build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdtomcat-maven-plugin/artifactId version1.0-SNAPSHOT/version

Re: How do you install a JAR with source

2006-03-15 Thread Aaron Freeman
Sorry, I was thinking that what Dan said was only for the release plugin, not the install command. Your right this works fine: mvn -DperformRelease=true install Thanks! On 3/15/06, Stephen Duncan [EMAIL PROTECTED] wrote: Again, running mvn -DperformRelease=true install will do the same thing.

Re: How to use Environment variables

2006-03-15 Thread Tom Joad
Are you sure it works? For me it doesn't. 2006/3/14, langlois yan [EMAIL PROTECTED]: Hello, If you want to use environment variable you do not need a project.properties file. Juste use : ${env.JBOSS_HOME}. You need at least maven 2.0.1. Yan. --- Blaise Gosselin [EMAIL PROTECTED] a écrit

RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Olivier Lamy
Lucky user ;-) I have found why. My reporting section in my pom doesn't have reporting but in my site.xml I have ${reports}. Solution : removing ${reports} in site.xml Or Adding a report. But I don't understand the naming : 2.0-20060315.083713-4 2.0-20060315.092459-4 With two files ended with

m2: filtering archetype artifacts

2006-03-15 Thread john . w . law
Anyone know how to prevent or turn off filtering of artifacts within an archetype? This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All

Re: m2: filtering archetype artifacts

2006-03-15 Thread Kathryn Huxtable
Wendy Smoak says this is done through Velocity. I haven't had time to look through the macros. I'm trying to figure out how to escape a dollar sign in the artifact resources. -K On 3/15/06 8:01 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Anyone know how to prevent or turn off filtering of

More: Running Java Progs in Maven 2

2006-03-15 Thread Sergei Dubov
Alexandre, Is it correct that Mojo's exec-maven-plugin will NOT include dependent jars of the project on classpath of a new java process? It'd be nice to have a project, and being able to run: mvn run 'classname' with all the runtime dependencies included on classpath. Is there anything

Re: [m202] NumberFormatException when using the surefire report plugin

2006-03-15 Thread Gunther Popp
Hi Thorsten! This error is indeed caused by the german locale. Simply change the locale that Maven uses (on Windows): set MAVEN_OPTS=-Duser.language=en -Duser.country=US CU, Gunther - To unsubscribe, e-mail: [EMAIL

[m2] release plugin fails tagging SVN via http

2006-03-15 Thread Stefan Fritz
Hi, I just tried the release plugin. When I issue a mvn release:prepare command I get an error. (see error at the bottom) For my scm connection I have configuread a server entry in my settigns file which is correctly used by changelog plugin. so the scm url and the username/password are

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Boris Lenzinger
I'm trying to use some plugins (cobertura, jdepend, changes) that are on this site http://snapshots.maven.codehaus.org/maven2 but I cannot configure my environment so it accepts to download both pom files and jar files. It stops after pom saying A required plugin was not found Could you tell me

using classes from another web project

2006-03-15 Thread Christian Mouttet
Hi all, I have two web applications that share code. An implementation of javax.servlet.Filter in Project A should be used by Project B. With Maven-1 I built a project-a-x.y.jar and defined a dependency to it. The generated project-a.war could be deployed on the application server. In the

Re: [M2] compile sources fails - where are snapshot repositories???

2006-03-15 Thread Wayne Fay
Its the same site, you just need to use repository instead of pluginRepository... repository idMaven Snapshots/id urlhttp://snapshots.maven.codehaus.org/maven2//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Wayne Fay
Just to be sure, since you're a new Maven user, you realize these need to be declared in your pom.xml in the reporting element, right? reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId /plugin

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Boris Lenzinger
Yes they are in my pom already. Here are the elements I have added: reporting plugins !-- Link to javadoc in the site -- plugin artifactIdmaven-javadoc-plugin/artifactId /plugin !-- Produces html output of the code -- plugin

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Wayne Fay
Oh, there they are! ;-) http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/ jdepend, changes, and cobertura, among others... Wayne On 3/15/06, Cabasson Denis [EMAIL PROTECTED] wrote: This is definitly the nightly Maven 2 plugins. Change et Jdepend plugins are codehaus plugins so

Re: [m2] release plugin fails tagging SVN via http

2006-03-15 Thread Emmanuel Venisse
release plugin can use username/password from settings.xml only since few days and it isn't released If you want to change the username/password, without use release plugin in development, you can use this: mvn -Dusername=... -Dpassword=... release:prepare Emmanuel Stefan Fritz a écrit :

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Wayne Fay
I believe the o.a.m.p plugins are simply owned/created/supported by the Maven team, while org.codehaus.mojo are owned by Codehaus. So you have a different group of people to complain to when things are broken. ;-) Wayne On 3/15/06, Boris Lenzinger [EMAIL PROTECTED] wrote: I'm trying to reach

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Boris Lenzinger
yes but but how do you use them ? I've added the plugins in the reporting section and in setting.xml added a profile, activated by default, that uses this URL. Now my problem is that I cannot download them. Only pom files are downloaded. How do you do guys to use them ? I've added:

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Boris Lenzinger
sounds like an excellent explanation ! Wayne Fay wrote: I believe the o.a.m.p plugins are simply owned/created/supported by the Maven team, while org.codehaus.mojo are owned by Codehaus. So you have a different group of people to complain to when things are broken. ;-) :))) Wayne On

Remote call problems with unit tests

2006-03-15 Thread Todd Nine
I am experiencing problems with remote calls in my maven 2 unit tests. I cannot call an external RMI server, nor can I invoke remote EJB calls to JBoss. These unit tests work correctly in Eclipse when the classpath is set from the pom using the plug in, as well as if I manually create a script

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Wayne Fay
I don't use settings.xml. I put those repos etc directly in my pom.xml. And I don't use changes, jdepend, or cobertura. So hopefully someone who is using those plugins can respond better. But I did just add the jdepend plugin to my reporting section, included the version, and poof it was

[m2] JVM BUG AND FIX: Getting an exception on windows when firing up an RMI Service in surefire unit tests

2006-03-15 Thread Stevenson, Chris
Dear All, Should anybody be in the scenario that I've been in today, trying vainly for hours to get an rmi service and proxy running in surefire to no avail, and they are getting the exception something like that included below, then I have hope. This is a JVM error which is manifested when

Re: RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Brett Porter
Snapshots for Maven will slowly be moved to the Apache repository. Sorry for the inconvenience, but I removed the old version to avoid any confusion - its not much different than publishing a new snapshot over the top (except that you could roll back to the last version that worked, but you can

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Brett Porter
Have you looked at: http://maven.apache.org/ref/2.0.2/ ? - Brett On 3/16/06, Sebastian Himberger [EMAIL PROTECTED] wrote: Hi, thanks very much for the answer! SVN-Checkout and mvn site worked. Thanks very much! best regards Sebastian

RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Olivier Lamy
OK no problem. But a mod_proxy installed on http://snapshots.maven.codehaus.org/maven2/org/apache/maven for the moved one(s) (could be transparent moving) ? - Olivier -Message d'origine- De : Brett Porter [mailto:[EMAIL PROTECTED] Envoyé : mercredi 15 mars 2006 18:39 À : Maven Users

[m2] Site plugin publish xml reports / rss

2006-03-15 Thread Adam Leggett
Hi all, Im looking for a way to get the site/reporting plugin to generate site output as xml so I can incorporate the raw content into jetspeed / portlets. I can see that some of the surefire test and checkstyle raw data is included in my build target dir when I run the site mojo. However, for

Re: RE : Pulling in pages from another WAR with maven 2

2006-03-15 Thread Du, Guo
FYI: maven-war-plugin 2.0.3 could automaticly handle war dependency. Current official release is 2.0.2, so you need build the plugin by yourself if you want. On 3/15/06, Andrew Watters [EMAIL PROTECTED] wrote: Excellent, thank you. That is exactly what I need. And apologies for accidently

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Brett Porter
They are different repositories, that would have caused more confusion as it may not have updated due to the different sequence numbers. It will get resolved. If we get Continuum running, the final home may actually be there instead - Brett On 3/16/06, Olivier Lamy [EMAIL PROTECTED] wrote:

-DperformRelease=true unusable in pom?

2006-03-15 Thread Miguel Griffa
I've followed discussions about including source and javadocs in jar, beyond discussion of the practice, I understand that there are two ways of doing this in m now, prepending source:jar javadoc:jar to install/deploy or so, or setting the property -DperformRelease=true did anyone try setting this

Re: RE : RE : RE : [M202] Nightly site plugin broken?

2006-03-15 Thread Boris Lenzinger
At last I found a way to make it work... I added: pluginRepositories pluginRepository idCodeHaus/id name/name urlhttp://snapshots.maven.codehaus.org/maven2/url layoutdefault/layout snapshots enabledtrue/enabled /snapshots releases

Re: More: Running Java Progs in Maven 2

2006-03-15 Thread Kaare Nilsen
Hi.. there is added a java goal to the exec plugin, but it is not 100% finished yet. But if you could wait to over the weekend you will find what you are looking for /Kaare On 15/03/06, Alexandre Poitras [EMAIL PROTECTED] wrote: I think it is already possible, look under the third sectio on

speed up test execution

2006-03-15 Thread Manlio Malaidini
Hello everybody, maybe this is a kind of newbie question, but I'm really trying to speed up test execution without meaningful result, therefore I'd like to get your feedback. Setup: I'm currently using maven 1.1-beta-1 and eclipse 3.1.0 I have many tests that while run inside eclipse take 1/3

Re: A required plugin was not found: Plugin could not be found

2006-03-15 Thread Boris Lenzinger
I fixed it at last... In case someone met the same problem as me, here is how I did: I was missing pluginRepositories in my pom file. Thanks to a discussion with Wayne Fay, he told me he was using repository in his pom file. I checked what this file could have as tags and found this

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Konstantin Polyzois
Brett, I noticed that the projects on the page you pointed out contain a dependency convergence report. Is this possible with m2? /Konstantin On 3/15/06, Brett Porter [EMAIL PROTECTED] wrote: Have you looked at: http://maven.apache.org/ref/2.0.2/ ? - Brett On 3/16/06, Sebastian Himberger

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-15 Thread Brett Porter
Yes, it is standard in the next release of the maven project-info-reports plugin. - Brett On 3/16/06, Konstantin Polyzois [EMAIL PROTECTED] wrote: Brett, I noticed that the projects on the page you pointed out contain a dependency convergence report. Is this possible with m2? /Konstantin

Re: speed up test execution

2006-03-15 Thread Alexandre Poitras
I don't have a lot of experience with Maven 1 but I know it is quite slow compare to Maven 2. Maybe you should consider upgrading if you have performance issues. On 3/15/06, Manlio Malaidini [EMAIL PROTECTED] wrote: Hello everybody, maybe this is a kind of newbie question, but I'm really

RE: [M2] Project Lifecycle generate-sources -- how compile?

2006-03-15 Thread Andreas Guther
Stephen, The plugin only runs with Java 5. I actually had to change to code to make it work with Java 1.4. The original plugin is adressing the configuration correctly. Unfortunately I do not remember what the problem was since I was fighting a lot of issues that day (and mayby that was the

how to make ant deploy separate from site deploy

2006-03-15 Thread Shukla, Sanjay
I have an ant task that runs to deploy an ear file to the app server. The ant plug-in gets executed in the deploy phase. However in my development environment I need to do frequent deploys but this results in the deploy plug-in everytime updating the remote repository. How can I make my

RE: **Caution-External**: how to make ant deploy separate from site deploy

2006-03-15 Thread Shukla, Sanjay
Actually figured it .. mvn -e antrun:run Sanjay Shukla, -Original Message- From: Shukla, Sanjay Sent: Wednesday, March 15, 2006 4:55 PM To: Maven Users List Subject: **Caution-External**: how to make ant deploy separate from site deploy I have an ant task that runs to deploy an ear

Separate XML schemas for plugins?

2006-03-15 Thread Sergei Dubov
Hi guys, I've just noticed that when I do something like: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source

Re: speed up test execution

2006-03-15 Thread Manlio Malaidini
Thanks for your feedback. This is an option, of course. Is there somewhere any migration guide from maven 1 to maven 2? Or something like that? MM On 3/15/06, Alexandre Poitras [EMAIL PROTECTED] wrote: I don't have a lot of experience with Maven 1 but I know it is quite slow compare to Maven

Re: [M2] Project Lifecycle generate-sources -- how compile?

2006-03-15 Thread Wayne Fay
The plugin only runs with Java 5. I actually had to change to code to make it work with Java 1.4. Andreas, I don't suppose you're planning on contributing your changes back to the jaxb2 project so others using jdk1.4 could use it instead of only the jdk5 people? :-) Assuming of course that

RE: speed up test execution

2006-03-15 Thread Jeff Jensen
With m1.1, setting fork to once speeds the execution over always because it forks to one JVM for all tests, vs a new JVM for each test. What is your setting? But I do see Maven running tests slower than inside Eclipse as well. -Original Message- From: Manlio Malaidini [mailto:[EMAIL

Re: speed up test execution

2006-03-15 Thread Manlio Malaidini
I tried it, sometimes it's better, sometimes it doesn't change, sometimes it's even worse. I think this is caused by concurrency issues, that is to say there may be synchronization problems better handled in new jvm instances instead of within the same jvm. I'm dubious because I don't know

RE: [M2] Project Lifecycle generate-sources -- how compile?

2006-03-15 Thread Andreas Guther
Wayne, I appreciate your hint and I think you have a valuable point talking about contributing back to the community. I must admit I was thinking about contributing the changes but one the other hand I am hesitant because what I did is a quick hack and lacks any repeatable tests. However, the

Re: [M2] Project Lifecycle generate-sources -- how compile?

2006-03-15 Thread Wayne Fay
Sounds great. Not trying to force you to do something you don't want to do, but just thought I'd mention it since it occurred to me. I don't currently use Jaxb but if/when I do in the future, it might be nice to know that I'd have to option of jdk4 if I needed to use it. ;-) And that's how open

updating of dependency pom's

2006-03-15 Thread Ruel Loehr
Once a pom for a dependency has been copied to the local repo, it is never updated. For those of you who maintain a company internal repo, do you ever have the situation where a dependency pom in your internal repo differs from the corresponding pom in the public repo? (e.g. you want to record

Unable to retrieve from repository

2006-03-15 Thread jdoody
I'm trying to create a maven project structure using the mvn archetype:create command. Following is a section of the command output: [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata

Re: Unable to retrieve from repository

2006-03-15 Thread John Casey
Can you re-run it with the '-e' option? This should output a stack trace that you can paste here...it'll make debugging a bit easier. -john jdoody wrote: I'm trying to create a maven project structure using the mvn archetype:create command. Following is a section of the command output:

Re: updating of dependency pom's

2006-03-15 Thread Brett Porter
As you've pointed out, updating POMs is a bad idea for reproducibility. We'd like to make it possible to track the revisions in a pom to allow fixing them while retaining compatibility, but at this point it is assumed that they don't change once deployed. My suggestion, if you need to customise

problem using archetypes

2006-03-15 Thread Devraj Brahmachari
hi the quickstart archetype that maven downloaded yesterday doesnt work today...in fact the entire file content of meta-central.xml file changes once i issue the mvn archetype:create command i have to physiaclly delete the file from my local repository download again for it to work

[m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread Chris Hagmann
We need to execute some ANT tasks (e.g. for redeploying a server configuration) which we only need to execute every so often, but which are not part of the regular build lifecycle. Hence we need to configure the plugin, but cannot bind it to any of the lifecycle phases of Maven 2. How can we do

[m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread haginow2001-nabble
We need to execute some ANT tasks (e.g. for redeploying a server configuration) which we only need to execute every so often, but which are not part of the regular build lifecycle. Hence we need to configure the plugin, but cannot bind it to any of the lifecycle phases of Maven 2. How can we do

Dependencies in Eclipse

2006-03-15 Thread Aaron Freeman
In Maven 1 you were able to specify that a dependency was another project in the Eclipse workspace, so the eclipse plugin would generate the .classpath file accordingly. The Maven web site shows it was done like this: dependency groupIdgroup/groupId artifactIdartifact/artifactId

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread dan tran
wonder it this would work maven antrun:run -D On 3/15/06, Chris Hagmann [EMAIL PROTECTED] wrote: We need to execute some ANT tasks (e.g. for redeploying a server configuration) which we only need to execute every so often, but which are not part of the regular build lifecycle. Hence we

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread Wayne Fay
I'd leave it in Ant, and call it directly, not via antrun/maven. That's how I'm deploying our j2ee app currently... Just plain old ant target. ;-) Wayne On 3/16/06, Chris Hagmann [EMAIL PROTECTED] wrote: We need to execute some ANT tasks (e.g. for redeploying a server configuration) which we

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread haginow2001-nabble
This doesn't work unfortunately as the deployment is a little more complex. We need to get some information (e.g. artifact version) to make the deployment work, and we don't want to duplicate that info outside the POM. So, if we invoke ANT directly, we simply don't have that info. Thanks anyways.

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread haginow2001-nabble
Doesn't really work, as it doesn't execute anything if you configure the antrun plugin according to the docs: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-sources/phase configuration tasks

Re: Dependencies in Eclipse

2006-03-15 Thread Alexandre Poitras
Maven 2 will generate a dependency as an Eclipse project when the dependency is a sister module and you run the command on the parent project. Check out the documentation on multi-project build. On 3/16/06, Aaron Freeman [EMAIL PROTECTED] wrote: In Maven 1 you were able to specify that a

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread dan tran
Bind antrun:run to a phase but profile it http://maven.apache.org/guides/introduction/introduction-to-profiles.html -D On 3/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Doesn't really work, as it doesn't execute anything if you configure the antrun plugin according to the docs:

RE: [m2] Site generation and info from xxx-mojos.xml

2006-03-15 Thread hermod.opstvedt
Hi That is what I have been running, but the thing is that is does not generate anything as far as documenting the properties etc of the mojo's. Thats the reason I asked if there is any special property (configuration) that is need for having the site plugin do that. I do not like the idea of

Re: [m2] Site generation and info from xxx-mojos.xml

2006-03-15 Thread dan tran
take a look at the pom file of http://mojo.codehaus.org/changes-maven-plugin/announcement-mail-mojo.html and perhaps its parents to see how it is configure. -D On 3/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi That is what I have been running, but the thing is that is does not