Testing a M2 plugin ??

2005-10-24 Thread mattias_xdin
Hi, I'm trying to migrate my m1 plugins to m2, and have some questions before I get started. 1. In m1 there was a directory structure and a specific goal to test the plugin. How should I test a plugin in m2. 2. If the answer to 1. is to junit test it using surefire. How

Re: error while make my first maven project

2005-10-24 Thread Rico (privat)
Thanks, it works now. Rico Brett Porter wrote: Was there any additional information about why it failed to find the latest version? This might correct itself if you try again (perhaps using -U to force an update check). - Brett On 10/23/05, Rico (privat) [EMAIL PROTECTED] wrote: Hi

mvn site produced error

2005-10-24 Thread Rico (privat)
Hi, I've got following error while I typed mvn site: [INFO] Can't find bundle for base name project-info-report, locale de_DE [INFO] [INFO] Trace java.util.MissingResourceException: Can't find bundle for base name

Re: mvn site produced error

2005-10-24 Thread Brett Porter
This has been fixed in SVN (maven-project-info-reports). - Brett On 10/23/05, Rico (privat) [EMAIL PROTECTED] wrote: Hi, I've got following error while I typed mvn site: [INFO] Can't find bundle for base name project-info-report, locale de_DE [INFO]

Re: [M2]How to change the m2's defalut webapp dir to my own webroot dir?

2005-10-24 Thread Hong Xing
How to set it in the pom.xml? Hong [EMAIL PROTECTED] 2005-10-24 - 收到以下来信内容 - 发件人: Brett Porter 收件人: Maven Users List,star.hong 时 间: 2005-10-24, 13:48:39 主 题: Re: [M2]How to change the m2's defalut webapp dir to my own webroot dir?

Re: [M1.0.2] How to change resources dependencies at runtime

2005-10-24 Thread Alexandre Touret
Arnaud HERITIER wrote: I don't understand what you want to do. Can you explain it a little bit more ? What do you call at runtime ? I would like change one resource definition when I start eclipse:generate-classpath . When you are running maven ? Yes Arnaud -Message

RE: [M1.0.2] How to change resources dependencies at runtime

2005-10-24 Thread Padmanabha Rao A.
Hi, I have gone thru the Maven documentation in Site, but I did not find it very useful. I have a current Ant build script, I need to migrate that to Maven. Help me some good useful documentation. By the way I don't have knowledge on Maven till now.. I know it is good for multi module building.

Re: [M2]How to change the m2's defalut webapp dir to my own webroot dir?

2005-10-24 Thread Brett Porter
It goes in the configuration element for maven-war-plugin. There are plenty of examples in the documentation, such as the getting started guide. Regards, Brett On 10/24/05, Hong Xing [EMAIL PROTECTED] wrote: How to set it in the pom.xml? Hong [EMAIL PROTECTED] 2005-10-24 - 收到以下来信内容

Re: [M2] checkstyle

2005-10-24 Thread David Sag
Here's an extract from my pom.xml where i apply different checkstyle rules to my main src and my test code. build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId executions execution idcheck-main-src/id

Re: [M2] Docbook support

2005-10-24 Thread Jose Gonzalez Gomez
2005/10/24, Jason van Zyl [EMAIL PROTECTED]: On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote: Thanks a lot, I'll try to take a look at it as soon as possible. Anyway, I've been taking a look at the head revision of org.codehaus.doxia.module.docbook.DocBookParser.java, and I

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-24 Thread David Sag
Done. see http://jira.codehaus.org/browse/MNG-1298 Kind regards, Dave Sag Brett Porter [EMAIL PROTECTED] 21/10/05 09:51 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: [m2] writing a Mojo for a

RE: Where should configuration files go?

2005-10-24 Thread Vincent Massol
-Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: lundi 24 octobre 2005 04:01 To: Maven Users List Subject: RE: Where should configuration files go? [snip] We might want to align our notions: http://maven.apache.org/guides/introduction/introduction-to-the-

[m2] generated eclipse project freezes

2005-10-24 Thread s . frank
Hi, I'm using mvn eclipse:eclipse to generate an eclipse-project: After importing the generated project, I try to inspect the classpath using the context-menue on the project: Whenever I do that, eclipse freezes and never shows the context-menue for this project. Has anybody seen this behaviour

Re: [m2] intermittent failure to get dependencies

2005-10-24 Thread Velle Andrè
Tracked it down a bit further. This printout is from a failing build: artifact = no.netcom.ipl:utilities:jar:3.0-SNAPSHOT; project: [EMAIL PROTECTED] (selected for compile) [DEBUG] cleartrust:ct_runtime_api:jar:1.0 (selected for compile) [DEBUG] fit:fit:jar:1.1 (selected

[m2] surefire - xml reports ?

2005-10-24 Thread Samuel Le Berrigaud
Hi, I'm trying to get the surefire reports included into my site. The plugin seems to work ok, however I got no test passed on my report. The cause seems to be that the surefire plugin does not generate xml report files, and that the surefire-report plugin relies on those... Am I missing

[m2] specifying a specific plugin goal in a report.

2005-10-24 Thread David Sag
As part of generating a QALab report i need to run my qalab plugin's merge goal. I have tried adding my qalab plugin to the reporting section of my pom but i can't see how i specify which goal to actually run? i tried adding an executions.../ section but that's not allowed. hints or outright

RE: [m2] surefire - xml reports ?

2005-10-24 Thread Pilgrim, Peter
Yes I would like to know to get also the XML in order to XSLT it and get reports. In Maven 1 you wrote something like this project ... reports reportmaven-junit-report-plugin/report reportmaven-jxr-plugin/report ... /reports ... /project How do

maven classpath references

2005-10-24 Thread Ief Berben
I'm trying to execute the following ant task, but maven tells me it can't find the weblogic.Deployer class tasks java classname=weblogic.Deployer fork=yes dir=${basedir} failonerror=true classpath path refid=dependency.classpath/ /classpath arg value=-adminurl/ arg value=${wl.adminurl}/ arg

Re: xdoclet-maven-plugin maven2

2005-10-24 Thread Ief Berben
Yeah 2005/10/22, Brett Porter [EMAIL PROTECTED]: m2 version? On 10/21/05, Ief Berben [EMAIL PROTECTED] wrote: When I try to execute the following plugin: plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId version1.0-alpha-1/version executions

Re: [m2] surefire - xml reports ?

2005-10-24 Thread Samuel Le Berrigaud
Hi Peter, to get the report in the site the config is the following: reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId /plugin ... /plugins /reporting This uses the surefire-report-maven-plugin that you can find here:

Re: xdoclet-maven-plugin maven2

2005-10-24 Thread Pete
There is another post that gives a workaround to this problem, I quote I found a workaround for this problem by changing all references to 2.0-beta-1 to 2.0 in pom xdoclet-maven-plugin-1.0-alpha-1.pom in my repository. Not sure that it's the cleanest solution, but it work for me. The public svn

Re: [m2] surefire - xml reports ?

2005-10-24 Thread fabrice . belingard
Hi guys, AFAIK, this feature is currently only available in SVN. So you have two options: either you build the surefire plugin from the trunk, or you wait for the next release. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL

Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Pilgrim, Peter
http://maven.apache.org/general.html I looked at the FAQ and understand how to install third party JARs into maven repository with ``mvn install:install''? My question is, how do I tell maven not to going looking remotely for POM XML files for the commercial jars since I installed them locally

[M2] Javadoc failing

2005-10-24 Thread Jose Gonzalez Gomez
Hi there, I cannot generate javadoc reports. The problem seems to be related with having the JVM installed in a path with spaces in it: C:\Archivos de programa\Java\jdk1.5.0_04 (Archivos de programa is the equivalent to Program files in spanish). Here you have the output from Maven: [INFO]

RE: xdoclet-maven-plugin maven2

2005-10-24 Thread Kevin McNamee
Hi, Thanks for tip! I changed the antrun dependency to be: dependency groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0/version /dependency And now it works. Really annoying bug. /Kevin -Original Message- From: Pete

[m2] Invalid Subversion SCM URL error

2005-10-24 Thread Roland Bali
Hi, I'm trying to execute the following command: mvn release:prepare -DtagBase=svn://192.168.0.1/maven-mojos/dependency-copier/tags The developerConnection tag in the POM is: scm:svn://192.168.0.1/maven-mojos/dependency-copier/trunk But I get the following error: Embedded error: Can't load the

Re: [m2] surefire - xml reports ?

2005-10-24 Thread Yogi
I had specified the plugin dependency incorrectly in my project's pom.xml. Here's the correct way to do it (I had used SNAPSHOT instead of 2.0-beta-2-SNAPSHOT):: build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: using assembly to repackage a war

2005-10-24 Thread jerome lacoste
On 10/22/05, Brett Porter [EMAIL PROTECTED] wrote: If they are never used independantly I'd say merge, otherwise I'd say fix the war plugin, merge the 2 web.xml's, and add that as the resulting one. OK. My idea is that there shouldn't be any merging of xml files to do. The war would just

RE: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Pilgrim, Peter
-Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] ==== http://maven.apache.org/general.html I looked at the FAQ and understand how to install third party JARs into maven repository with ``mvn install:install''? My question is, how do I tell maven not to

[M2] Project structure and Eclipse

2005-10-24 Thread Pete
Just wondered whether anyone (or Jose) has any comments on the post below ? I'm starting ask myself the smae question ? [M2] Project structure and Eclipse Jose Gonzalez Gomez Thu, 13 Oct 2005 07:58:01

MNG-1216 - Project Report Locale Bug

2005-10-24 Thread Eduardo Rocha
Are you sure bug MNG-1216 is fixed? I am having the same problem with maven 2.0 final: java.util.MissingResourceException: Can't find bundle for base name project-info-report, locale pt_BR

[m2] Optional Transient Dependecies

2005-10-24 Thread Tomislav Stojcevich
If I am correct, maven2 includes all optional transient dependencies by default and you have to specify an exclude for each optional transient dependency you do not want. This could potentially lead to many excludes. It would be nice to have a flag to to turn off all optional transient

Re: [m2] Optional Transient Dependecies

2005-10-24 Thread Eduardo Rocha
Nice idea. 2005/10/24, Tomislav Stojcevich [EMAIL PROTECTED]: If I am correct, maven2 includes all optional transient dependencies by default and you have to specify an exclude for each optional transient dependency you do not want. This could potentially lead to many excludes. It would be

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Sal Campana
Brett, So are you saying that if the jars are named correctly (i.e. xxx-javadoc and xxx-src) that Maven2 will automatically pull them to the local repository? So if my project has a dep on a 3rd party jar, and they've included the src and api jars, then Maven2 will pull them to my local repo as

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Wendy Smoak
From: Pilgrim, Peter [EMAIL PROTECTED] My question is, how do I tell maven not to going looking remotely for POM XML files for the commercial jars since I installed them locally on my machine? http://www.mail-archive.com/users%40maven.apache.org/msg26066.html I've just been creating a pom

Site archetype should not need archetypeVersion parameter

2005-10-24 Thread Eduardo Rocha
I am struggling with the following command, found in maven 2's Getting Started Guide: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site The error is: [ERROR] BUILD ERROR [INFO]

RE: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Allison, Bob
A much better choice would be to allow install:install-file to optionally create a POM for the file it is installing. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 09:43 To: Maven Users List Subject: Re: Installing Commercial Jars and

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Wendy Smoak
From: Allison, Bob [EMAIL PROTECTED] A much better choice would be to allow install:install-file to optionally create a POM for the file it is installing. It could create the minimal one that I'm doing manually now, but it couldn't know about the dependencies. In addition, it would be nice

webapp dependency

2005-10-24 Thread Kevin Galligan
I'm sure this topic has been discussed before, but I'm having a hard time finding good info on the subject in the lists, so I'll drag it back out. I have several web application in our environment. There are pieces common to all of them, but obviously pieces that are not. In simple

Cannot execute javac from ant task

2005-10-24 Thread hesse
Hi, we are just merging some stuff from ant build files to maven2. To be faster, we want to include some ant tasks at the beginning. Some of the ant tasks need to execute the javac compiler, which fails with Unable to find javac compiler. There seems to be something wrong with my classpath or

RE: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Allison, Bob
I agree that you would need to add dependencies manually, but you have to do that anyway so that is not an additional burden. Having the minimal POM generated would probably eliminate about 75% of the POM problems. The BEST way for this to happen is to have the VENDOR ship a POM with its

RE: [M2] checkstyle

2005-10-24 Thread Mark Kuzmycz
The plugin picks up the file but the style is not being correctly applied. One thing that out custom style does is override the 80 characher line length. Yet I still see this error. Regards, Mark. PS. The checkstyle file is the same one used in M1 and eclipse which works correctly.

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Eric Pugh
There is a page that highlights suggested names for Sun Jars, I don't really see why we couldn't just extend that. It could even be done by hand for now for those common ones. Alternatively, it sounds like a great contribution project for someone to take up! Eric On Oct 24, 2005, at

[m2] Project that doesn't create a package

2005-10-24 Thread David Jackman
It's customary to have a root pom also contain module elements indicating the subprojects so one can build them all at once. I would like to separate the two, so I have a root pom that produces only the pom that others will inherit, and a separate project that defines the module elements for

RE: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Pilgrim, Peter
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] ==== From: Pilgrim, Peter [EMAIL PROTECTED] My question is, how do I tell maven not to going looking remotely for POM XML files for the commercial jars since I installed them locally on my machine?

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Wendy Smoak
From: Allison, Bob [EMAIL PROTECTED] I would not want to decide within the Maven community on official group and artifact IDs Why not? It was done for the Sun .jar files, and that's working well. because that starts to become a nightmare. You need to create a registry for the IDs, you need

[m2] Defining Custom Compiler in POM

2005-10-24 Thread Stevenson, Chris
Dear All, Does anyone know how to specify a custom compiler in the pom of a project that wishes to use it? Am i correct in thinking that to make plexus/maven aware of a custom compiler I need to: a) Define a role/component in the components.xml of the compiler so that plexus can find it?

RE: xdoclet-maven-plugin maven2

2005-10-24 Thread raghurajan . x . gurunathanv
Hi I'm still having problem i'm getting this error, can u please help me org.apache.maven.lifecycle.LifecycleExecutionException: 'xdoclet' was specified in an execution, but not found in the plugin at

pom inheritance, which attributes get inherited ?

2005-10-24 Thread Jorg Heymans
Hi, Is there a document describing what exactly is transferred from the parent pom to the child when doing things like : parent groupIdapache-cocoon/groupId artifactIdcocoon/artifactId version2.2-SNAPSHOT/version /parent ATM I'm always doing trial and error to find out what can

[m2] Getting Command Line inside a Mojo

2005-10-24 Thread Stevenson, Chris
Dear All, Does anyone know what is the best way to execute a native command in a mojo? I've seen a couple of Mojo's using the CommandLine class in: org.apache.maven.it.cli Is that the recommended method? Thanks, Chris Chris Stevenson Dresdner Kleinwort Wasserstein --

Re: xdoclet-maven-plugin maven2

2005-10-24 Thread Pete
I think you are specifiying the wrong plugin, should be :- artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId also I found the ejbdoclet snipped needs to be as follows, otherwise the source gets generated but not picked up by the compile step :- ... ejbdoclet

Re: [m2] Project that doesn't create a package

2005-10-24 Thread Jorg Heymans
David Jackman wrote: It's customary to have a root pom also contain module elements indicating the subprojects so one can build them all at once. I would like to separate the two, so I have a root pom that produces only the pom that others will inherit, and a separate project that defines

[m1] Manifest-only Jar

2005-10-24 Thread Michael Böckling
Hi folks, I have a very strange issue with Maven 1.1: when I call the jar goal, it says Creating Manifest-only Jar. And indeed, when I open the archive, there's nothing in it but a meager MANIFEST.MF. No classes, no resources, no nothing. I know I didn't set any strange property in some

Re: xdoclet-maven-plugin maven2

2005-10-24 Thread raghurajan . x . gurunathanv
Thanks for your reply but when i made those plugin changes like plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId

Running Test Cases

2005-10-24 Thread Padmanabha Rao A.
Hi, I am using this in Maven script, but the test cases are not running. Can any body tell how to execute the test cases? maven:reactor basedir=${pom.getContext().getVariable('basedir')} includes=project.xml

Re: xdoclet-maven-plugin maven2

2005-10-24 Thread Pete
Well I got rounding using the workaround mention in my first reply to this post. But I see Kevin used a different fix. My workaround was :- I found a workaround for this problem by changing all references to 2.0-beta-1 to 2.0 in pom xdoclet-maven-plugin-1.0-alpha-1.pom in my repository. Not

RE: xdoclet-maven-plugin maven2

2005-10-24 Thread raghurajan . x . gurunathanv
Hi Kevin, Can you please give a sample how did you make it work... eventhough i changed my dependency its still not working for me i'm getting org.apache.maven.lifecycle.LifecycleExecutionException: 'xdoclet' was specified in an execution, but not found in the plugin at

Re: Site archetype should not need archetypeVersion parameter

2005-10-24 Thread Jason van Zyl
On Mon, 2005-10-24 at 11:45 -0200, Eduardo Rocha wrote: I am struggling with the following command, found in maven 2's Getting Started Guide: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeGroupId=org.apache.maven.archetypes

Re: [m2] Optional Transient Dependecies

2005-10-24 Thread Jason van Zyl
On Mon, 2005-10-24 at 09:30 -0400, Tomislav Stojcevich wrote: If I am correct, maven2 includes all optional transient dependencies by default and you have to specify an exclude for each optional transient dependency you do not want. This could potentially lead to many excludes. A project

Re: mvn site produced error

2005-10-24 Thread Rico (privat)
Hi Brett, I'm new to Maven 2 played a bit with Maven 1 but it's long time ago. So I don't understand your short answer. What does it mean ... *** This has been fixed in SVN (maven-project-info-reports) *** Maybe I would ask less but the online documentation I think don't give enough for a

log file for mvn output

2005-10-24 Thread raghurajan . x . gurunathanv
All, wondering how do we have log file for whatever mvn lifecyle/goal command like in ant ant -logfile=log.log target Thanks, Raghurajan Gurunathan

Different XML parsers in Maven 1.0.2 and Maven 1.1

2005-10-24 Thread fenallen
Hi, This is not a question. Rather a tip for anyone struggling with xml in Maven as I have recently. Maven, ant, and the Sun jdk itself all handle the subject of different xml parsers either poorly or not at all. Here is a nice solution I have recently stumbled across. I hope it is proves of

Re: mvn site produced error

2005-10-24 Thread Rico (privat)
Hi Brett, I'm new to Maven 2 played a bit with Maven 1 but it's long time ago. So I don't understand your short answer. What does it mean ... *** This has been fixed in SVN (maven-project-info-reports) *** Maybe I would ask less but the online documentation I think don't give enough for a

Re: mvn site produced error

2005-10-24 Thread Jorg Heymans
Rico (privat) wrote: *** This has been fixed in SVN (maven-project-info-reports) *** It basically means that you found a bug, Brett fixed it and the fix will be available in the next release. Jorg - To unsubscribe,

RE: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Pilgrim, Peter
What did I do wrong, then? I created the program to create the POM for the installed JARS. For weblogic jar, it Created the file ~/.m2/repository/bea-weblogic/weblogic/8.1/weblogic-8.1.pom So I am confused, if the pom is there, why is it being ignored? Is the file format wrong? project

Different XML parsers in Maven 1.0.2 and Maven 1.1

2005-10-24 Thread fenallen
Hi, This is not a question. Rather a tip for anyone struggling with xml in Maven as I have recently. Maven, ant, and the Sun jdk itself all handle the subject of different xml parsers either poorly or not at all. Here is a nice solution I have recently stumbled across. I hope it is proves

Re: [m2] Optional Transient Dependecies

2005-10-24 Thread Tomislav Stojcevich
I think I know how the optional tag works within a pom. I am saying that if my project has a dependency on projectA and projectA has an optional dependency for project1 and an optional dependency for project2, that currently I will get project1 and project2 jars downloaded into my project. Let's

Re: mvn site produced error

2005-10-24 Thread Jason van Zyl
On Mon, 2005-10-24 at 18:48 +0200, Jorg Heymans wrote: Rico (privat) wrote: *** This has been fixed in SVN (maven-project-info-reports) *** It basically means that you found a bug, Brett fixed it and the fix will be available in the next release. And there was a vote for a release so

xdoclet-maven-plugin wired? problem

2005-10-24 Thread raghurajan . x . gurunathanv
Hi I'm having this wired problem even though i gave different source directory at my fileset dir still tries to look into directory as ./src/main/java Can't we override this directory??? Here is my ejbdoclet ejbdoclet destdir=/views/Ejb/generated-sources/xout fileset dir=/views/Ejb

External configuration files

2005-10-24 Thread Claus, Janek (NIH/NICHD)
All, I decided to keep the context configuration for Tomcat 5.5 external (vs. in META-INF). That brought up the question, where to keep external configuration files in the Maven-suggested directory layout? Any ideas? Thx, Janek

How to use different context.xml files?

2005-10-24 Thread Claus, Janek (NIH/NICHD)
All, One of the possibilities Tomcat 5.5 suggest for the context configuration of a web application is a file named context.xml in the META-INF of your webapp. In my case it declares a datasource, which differs depending on the deployment environment. Question: how can I use different

Maven 2 and NetBeans

2005-10-24 Thread Allison, Bob
OK. I know I am weird because I use NetBeans instead of Eclipse, but... The guide for using Maven 2 with NetBeans shows using the netbeans-freeform plugin but does not indicate how to install the plugin in the first place. Not a major item, but it probably should be corrected.

Re: Maven 2 and NetBeans

2005-10-24 Thread Milos Kleint
unfortunately it wasn't releases AFAIK. i've built it myself localy from svn. works ok.. Milos On 10/24/05, Allison, Bob [EMAIL PROTECTED] wrote: OK. I know I am weird because I use NetBeans instead of Eclipse, but... The guide for using Maven 2 with NetBeans shows using the

RE: Maven 2 and NetBeans

2005-10-24 Thread Allison, Bob
Built from SVN where? -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 14:20 To: Maven Users List Subject: Re: Maven 2 and NetBeans unfortunately it wasn't releases AFAIK. i've built it myself localy from svn. works ok.. Milos On

Re: Maven 2 and NetBeans

2005-10-24 Thread Milos Kleint
mojo.codehaus.org http://mojo.codehaus.org, it's in the sandbox subdirectory.. once checked out, calling mvn install will do.. it has a quite long name for the goal something like netbeans-freeform:generate-netbeans-project. It would be nice to have teh plugin released and have the goal name

RE: Maven 2 and NetBeans

2005-10-24 Thread Donszelmann, Mark
Hi I compiled the netbeans plugin myself as well. Looked like one needs to change the pom slightly to refer to newer dependencies of Maven. It does compile, but one of the tests has 10 failures. I skipped the tests, installed it, generated the netbeans files, loaded it into netbeans. All looks

m2 - doc error in settings descriptor

2005-10-24 Thread Brian E. Fox
The settings descriptor shows snapshot when it appears it needs to be snapshots

Re: Maven 2 and NetBeans

2005-10-24 Thread Milos Kleint
*I think his email is Raphaël Piéroni [EMAIL PROTECTED]* milos On 10/24/05, Donszelmann, Mark [EMAIL PROTECTED] wrote: Hi I compiled the netbeans plugin myself as well. Looked like one needs to change the pom slightly to refer to newer dependencies of Maven. It does compile, but one of

[M2] Plugable POM provider?

2005-10-24 Thread David Schneider
I'd like to use Maven2 to run my builds but the ground truth metadata for my projects is in an existing collection of files. I don't want to duplicate this information in pom.xml files. Is there a way to plug-in a POM provider that will let me provide project metadata to Maven so that it

RE: m2 - doc error in settings descriptor

2005-10-24 Thread Brian E. Fox
Same problem for release / releases -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 3:02 PM To: Maven Users List Subject: m2 - doc error in settings descriptor The settings descriptor shows snapshot when it appears it needs to be snapshots

Re: [M2] Plugable POM provider?

2005-10-24 Thread Jason van Zyl
On Mon, 2005-10-24 at 13:25 -0600, David Schneider wrote: I'd like to use Maven2 to run my builds but the ground truth metadata for my projects is in an existing collection of files. I don't want to duplicate this information in pom.xml files. Is there a way to plug-in a POM provider that

M2 settings descriptor doc or maven bug

2005-10-24 Thread Brian E. Fox
The activeByDefault doesn't work in the settings.xml, but it does in the pom: profiles profile activation activeByDefaulttrue/activeByDefault /activation iddefault/id repositories repository idsnaps/id urlhttp://cordella.mht.stchome.com:/repository/url snapshots

Re: How to use different context.xml files?

2005-10-24 Thread Mark Hobson
Hi Janek, Filtering is obviously the best way to achieve this, but we need to resolve MNG-791 first. An alternative way which I'm using in the interim is to use profiles. You'll need to create multiple versions of your context.xml and configure the war plugin accordingly, e.g.: src |_

Plugin release dates

2005-10-24 Thread Arik Kfir
Hi all, I was just wondering - are there any *rough* estimates as to when plugin final releases will start rolling out? Right now, even though m2 is final, the plugins are not. Even if you install a clean m2 with a clean local repo, jars like maven-model-2.0-beta-X.jar, settings-model-beta-X,

RE: Maven 2 and NetBeans

2005-10-24 Thread Allison, Bob
For the record, the changes needed to the pom.xml for the plugin: -- Change dependencies to: -- org.apache.maven:maven-project:2.0-beta-3 -- org.codehaus.plexus:plexus-utils:1.0.4 -- org.apache.maven:maven-artifact-manager:2.0-beta-3 --

[ANN] Maven Project Info Reports Plugin v2.0-beta-3 Released

2005-10-24 Thread Brett Porter
The Project Reporting plugin has been released. This release addresses the issue with running the standard reports under a non-English locale, and adds support for localised Japanese reports. To obtain the latest release, include the version in your POM: plugin

Re: M2 settings descriptor doc or maven bug

2005-10-24 Thread Arik Kfir
try adding a iddefault/id to the profile... On 10/24/05, Brian E. Fox [EMAIL PROTECTED] wrote: The activeByDefault doesn't work in the settings.xml, but it does in the pom: profiles profile activation activeByDefaulttrue/activeByDefault /activation iddefault/id repositories

RE: Maven 2 and NetBeans

2005-10-24 Thread Trygve Laugstøl
On Mon, 2005-10-24 at 15:29 -0500, Allison, Bob wrote: For the record, the changes needed to the pom.xml for the plugin: -- Change dependencies to: -- org.apache.maven:maven-project:2.0-beta-3 -- org.codehaus.plexus:plexus-utils:1.0.4 --

m2 eclipse plugin wtpmodules dependencies to artifacts

2005-10-24 Thread Franck de Bruijn
Hi, I'm trying out maven 2 and the eclipse plugin in combination with Eclipse WTP. Everything works fine, although I do not manage to generate the 'dependent modules' section in the .wtpmodules file, like below: dependent-module deploy-path=/WEB-INF/lib

[m2] javadoc failing

2005-10-24 Thread Julian Wood
Javadoc creation is failing for me, simply because the javadoc command is being invoked incorrectly. It would appear that it has something to do with the way plexus is locating commands, but I'm not sure. Embedded error: An error has occurred in javadoc report generation.

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Arik Kfir
That doesn't work for me - I have to delcare an additional dependency, and a classifier. Like this: dependency groupId... artifactId... version... classifiersources/classifier /dependency same for javadoc (no s in the end of javadocs... ;-) As for deploying them - I bind the

Re: [m2] archetype plugin bug?

2005-10-24 Thread Jon Ekdahl
Brett (or anyone else), I can't seem to find the proper component in JIRA to file this issue. When I try to create a new issue there is no maven-archetype-plugin project in the drop-down. Should I file it under Maven2?? (sounds weird...) Regards, Jon From:

RE: [m1] Manifest-only Jar

2005-10-24 Thread Arnaud HERITIER
Hi Michael, I didn't never see that !! Can you open an issue and send us if possible a little project to reproduce it (with all you environment informations...). Arnaud -Message d'origine- De : Michael Böckling [mailto:[EMAIL PROTECTED] Envoyé : lundi 24 octobre 2005 17:55 À :

Re: [m2] archetype plugin bug?

2005-10-24 Thread Brett Porter
Yes, Maven 2 has a maven-archetype-plugin in the components list. We haven't had an opportunity to create projects for the Maven2 plugins yet On 10/24/05, Jon Ekdahl [EMAIL PROTECTED] wrote: Brett (or anyone else), I can't seem to find the proper component in JIRA to file this issue. When I

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Brett Porter
On 10/24/05, Arik Kfir [EMAIL PROTECTED] wrote: That doesn't work for me - I have to delcare an additional dependency, Yes, that's correct, but I believe the eclipse plugin automates this and the others can too. As for deploying them - I bind the sources/javadoc plugins to the install/deploy

RE: Running Test Cases

2005-10-24 Thread Arnaud HERITIER
To run tests you must call the goal test:test (aka test) http://maven.apache.org/maven-1.x/reference/plugins/test/goals.html Arnaud -Message d'origine- De : Padmanabha Rao A. [mailto:[EMAIL PROTECTED] Envoyé : lundi 24 octobre 2005 17:26 À : Maven Users List Objet : Running Test

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Arik Kfir
cool! On 10/24/05, Brett Porter [EMAIL PROTECTED] wrote: On 10/24/05, Arik Kfir [EMAIL PROTECTED] wrote: That doesn't work for me - I have to delcare an additional dependency, Yes, that's correct, but I believe the eclipse plugin automates this and the others can too. As for deploying

[m2] how to have two jars (api and impl) from one project

2005-10-24 Thread Meg Hsu
Hi all, My project has several sub-projects, each project has the following structure: /module1/src/... /module1/api ... /module1/impl I need to have one jar for the api classes only, and the other of the impl classes. Any suggestions on how to do this on M2? I was using the compiler-plugin's

Re: [m2] how to have two jars (api and impl) from one project

2005-10-24 Thread Kenney Westerhof
On Mon, 24 Oct 2005, Meg Hsu wrote: Hi all, My project has several sub-projects, each project has the following structure: /module1/src/... /module1/api ... /module1/impl I need to have one jar for the api classes only, and the other of the impl classes. Any suggestions on how to do

Re: MNG-1216 - Project Report Locale Bug

2005-10-24 Thread Brett Porter
It was just released. On 10/24/05, Eduardo Rocha [EMAIL PROTECTED] wrote: Are you sure bug MNG-1216 is fixed? I am having the same problem with maven 2.0 final: java.util.MissingResourceException: Can't find bundle for base name project-info-report, locale pt_BR

  1   2   >