[m2] surefire-report + surefire = exception?

2006-01-01 Thread Man-Chi Leung
hi when I run my surefire-report-plugin 2.0 & default surefire 1.5 (bundled with maven 2.0.1). i encountered the following xml validation error. anyone is having the same problem too? [INFO] Generate "Maven Surefire Report" report.java.lang.Exception: Failure to parse file at: ~/myproject

Re: Problems creating Report Plug-In

2006-01-01 Thread Cyrill Rüttimann
Hello, I found the problem: There is a problem with version 2.0.1 of the reporting-impl. I reverted the reporting dependency to version 2.0. It works now.

[m2] where to get sun.jdk:tools:jar:1.4.0 on MacOSX?

2006-01-01 Thread Man-Chi Leung
hi, I checked out aspectj-maven-plugin from mojo sandbox, and I was trying to build it. however, I encountered an error saying that tools.jar was not found. to my understand, we need to install Sun's Jar separately due to the license issue. em.. ok! but there is no tools.jar for Mac in

Re: [m2] where to get sun.jdk:tools:jar:1.4.0 on MacOSX?

2006-01-01 Thread Man-Chi Leung
hi I have just found out that /System/Library/Frameworks/ JavaVM.framework/Classes/classes.jar = tools.jar for Sun SDK(win or linux) http://lists.apple.com/archives/java-dev/2002/Jun/msg00901.html should I install classes.jar to my .m2/repository? ~manchi On Jan 2, 2006, at 11:15 AM, Man-

[m2] how to remove jar from .m2/repository

2006-01-01 Thread Man-Chi Leung
after install a jar to local repository, how can I remove it? $>mvn install:install-file -Dfile=easymock.jar -DgroupId=easymock - DartifactId=easymock -Dversion=2.0 -Dpackaging=jar -DgeneratePom=true I check the documentation, there are only 2 goal for install, any goal for removal of jar?

[m2] Standard Directory Layout for AspectJ in m2?

2006-01-01 Thread Man-Chi Leung
hi, just a very coffee-like question! as maven community encourages standard directory layout, I am very curious on the convention for aspectj files 1) /src/aspect 2) /src/main/aspect 3) /src/main/resources/aspect I opted for number 2 anyone can share with me your convention? Regards, man

How to copy (non-resource) file and filter it?

2006-01-01 Thread Chris Hagmann
I need to replace tokens in a stylesheet, before using it for a XSLT transformation. How can I achieve this in Maven2? P.S: I'm familiar with resources and filtering, but that doesn't apply here. I don't want the stylesheet to be part of my JAR file. --

Re: configure plugin (jboss-maven)

2006-01-01 Thread Rinku
Have you set up any profile(s) in pom.xml? If so, can you check if a profile is being activated? Cheers, Rahul - Original Message - From: "Edwin van der Elst" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, December 29, 2005 9:07 PM Subject: RE: configure plugin (jboss-ma

Re: [m2] Eclipse Recommendations

2006-01-01 Thread Rinku
Hi Michael, For your custom Mojo: 1) Add a dependency on the Eclipse plugin in your custom plugin pom.xml. 2) Depending on what you want to accomplish you can wrap an EclipsePlugin instance in your Mojo and delegate to the wrapped instance the most common tasks. That should take care of "ecli

RE: Help Needed in installing changes-maven-plugin

2006-01-01 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)
Hi Allan, I figured that out just a few mins ago :) But, Thanks for the help. Regards, Kiran -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Monday, January 02, 2006 11:53 AM To: Maven Users List Subject: Re: Help Needed in installing changes-maven-plugin Hi, T

Re: Help Needed in installing changes-maven-plugin

2006-01-01 Thread Allan Ramirez
Hi, Try to use version 2.0-beta-1 instead. -allan Pagadala Baskar, Kiran Kumar (Cognizant) wrote: Hi, I am trying to use the changes-maven-plugin found in Mojo. I am getting the following error in cmd prompt. Please let me know if I am missing on something. --- [INFO] Failed to resolve arti

Help Needed in installing changes-maven-plugin

2006-01-01 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)
Hi, I am trying to use the changes-maven-plugin found in Mojo. I am getting the following error in cmd prompt. Please let me know if I am missing on something. --- [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: changes-maven-plugin Version: 2.0-beta-1-SNAPSHOT Reason

Re: Optional dependencies

2006-01-01 Thread Brett Porter
Optional was not the solution to his original mail (I emailed him separately about using profiles in this instance). I just wanted to answer your question about the use of optional. - Brett On 1/2/06, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote: > Ok, but in the original mail, Jochen talks abo

Re: my first m2 plugin

2006-01-01 Thread Brett Porter
Oh, I see - when a lifecycle is "forked" (@execute phase), the project is cloned so that the current build is not corrupted. If you need access to the project that was used during that stage, add: /** @parameter expresssion="${executedProject}" */ private MavenProject executedProject; Which you

Re: [m2] Eclipse Recommendations

2006-01-01 Thread Dirk Olmes
> Does anyone have any recommendations on how to go about this? Looking at > the source to maven-eclipse-plugin, it would seem that if the plugin allowed > additional AbstractEclipseResourceWriters to be registered via plugin > configuration, both of my problems above would be solved. This might

Re: configure plugin (jboss-maven)

2006-01-01 Thread Edwin Punzalan
I can only analyze your pom and check the source of the plugin. I don't have a sample project to test it on. May I ask you to create a jira issue for this? And maybe put some attachments to reproduce your problem? Thanks. Edwin van der Elst wrote: Hi, Below is the full stacktrace. (mvn

[m2] Eclipse Recommendations

2006-01-01 Thread Michael
Hello, I'm currently in the process of migrating from m1 to m2 and ran across an issue in generating my Eclipse configuration. In m1, I used a postGoal script to generate extra Eclipse files besides the normal .project and .classpath. Specifically, I was generating a .checkstyle file and a .myme

Re: M2 changelog plugin w/ CVS (not SVN)

2006-01-01 Thread Edwin Punzalan
Hi, The output you saw says "scmUrl = ... " which is correct bec it came from AND is used to create LINKS on the generated report. It is not used a connection url. The output is simply printing out the parameters it has received. Sadly, the output does not print the string it uses for sc

Re: my first m2 plugin

2006-01-01 Thread Torsten Curdt
@execute phase="package" is what you want here (its something similar to attainGoal) Hm... mvn minijar:minijar does build the package beforehand ...but the artifacts are not set :-( When calling separate goals it works just fine. What's the problem? cheers -- Torsten PGP.sig Description:

Re: project.xml file

2006-01-01 Thread Henry Isidro
[EMAIL PROTECTED] wrote: Hello, I'm trying to compile a simple program using: mave java:compile command. build:start: java:prepare-filesystem: java:compile: [echo] Compiling to C:\repotest/target/classes [echo] No java source files to compile. BUILD SUCCESSFUL When I looked for th

Re: Optional dependencies

2006-01-01 Thread ir. ing. Jan Dockx
Ok, but in the original mail, Jochen talks about the requirements of his _users_, not of the developers of the main project. And users of his users need those dependencies transitively … On 1 Jan 2006, at 23:48, Brett Porter wrote: The optional tag is *only* for the purposes of transitive depen

Re: Announce: Maven JaxMe Plugin 1.0

2006-01-01 Thread Brett Porter
On 1/1/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > I'd beg to add the plugin to the plugin matrix and to the plugin list as > externally hosted. No problem. Can you file this in JIRA so that we don't forget to do that? - Brett

Re: Optional dependencies

2006-01-01 Thread Brett Porter
The optional tag is *only* for the purposes of transitive dependencies. It's not really intended for use in a real Maven build. - Brett On 1/2/06, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote: > Frankly, I have no idea ;-). I knew the tag existed, but have no > experience with it yet, although I

Re: Optional dependencies

2006-01-01 Thread Brett Porter
Create a profile, activated by the jdk, and include the dependency within it. Cheers, Brett On 1/2/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > Hi, > > are there any recommendations on how to handle dependencies, which > aren't always required? > > For example, I am using JDK 1.5 classes in

Re: [ANN] Cargo m2 plugin v0.1

2006-01-01 Thread Srepfler Srgjan
Vincent Massol wrote: The Cargo team is happy to announce the first release of the Maven2 plugin for Cargo (version 0.1). Major features: * Allows to start/stop all containers supported by Cargo (Resin, Tomcat, Orion, WebLogic, JBoss, Jetty, etc). * Allows to perform local and remote deploys to

Re: Optional dependencies

2006-01-01 Thread ir. ing. Jan Dockx
Frankly, I have no idea ;-). I knew the tag existed, but have no experience with it yet, although I do recognize your problem (see http://cvs.peopleware.be/training/maven/maven2/dependencies.html, Issues). I briefly talked with Vincent Massol during JavaPolis (hi Vincent -- nice chat), and he wasn'

Re: Optional dependencies

2006-01-01 Thread Jochen Wiedmann
ir. ing. Jan Dockx wrote: Have you tried the tag for the dependency? Thank you. To be honest, I wasn't aware of this tag. Reading through the docs, I do, however, believe, that it is a partial solution only, isn't it? I'd prefer a solution where Maven automatically detects the presence or

Problems creating Report Plug-In

2006-01-01 Thread Cyrill Rüttimann
Hi, I have some spare time to develop a findbugs report plugin for maven 2. I have looked up so far: - the pmd plugin - the findbugs eclipse plugin I have the recipe to build the plugin and have created the necessary classes. I am now testing how to get the compile artifacts from the maven

[ANN] Cargo m2 plugin v0.1

2006-01-01 Thread Vincent Massol
The Cargo team is happy to announce the first release of the Maven2 plugin for Cargo (version 0.1). Major features: * Allows to start/stop all containers supported by Cargo (Resin, Tomcat, Orion, WebLogic, JBoss, Jetty, etc). * Allows to perform local and remote deploys to containers * Automatic d

Re: javax.transaction.jta.1.0.1B

2006-01-01 Thread Alexandre Poitras
One trick, use apache gerinomo jars. That what I do instead of installing everything manually. On 1/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > thanks! > > Fredy > > "Maven Users List" schrieb am 01.01.06 18:10:15: > > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html >

RE: javax.transaction.jta.1.0.1B

2006-01-01 Thread softwarearchitekt
thanks! Fredy "Maven Users List" schrieb am 01.01.06 18:10:15: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, January 01, 2006 12:05 PM To: users@maven.apache.org Subject: javax.tr

RE: javax.transaction.jta.1.0.1B

2006-01-01 Thread Brian E. Fox
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, January 01, 2006 12:05 PM To: users@maven.apache.org Subject: javax.transaction.jta.1.0.1B Hey all, i've Problems with the jtaxxx.jar I

javax.transaction.jta.1.0.1B

2006-01-01 Thread softwarearchitekt
Hey all, i've Problems with the jtaxxx.jar In the Repository there is an pom: http://www.ibiblio.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom it's downloadUrl is: http://java.sun.com/products/jta But i think there is no jta-1.0.1B.jar is this possible? Downloading: http://repo1.mav

Re: Communicating dependencies

2006-01-01 Thread Grégory Joseph
Thanks Eric, On 01/01/06, Eric Redmond <[EMAIL PROTECTED]> wrote: > How about: groupId:artifactId:version? Since it's what's used by maven when reporting errors, that sounds reasonsable and understable my any maven user. Cheers, g > > On 12/31/05, Grégory Joseph <[EMAIL PROTECTED]> wrote: > >

Re: Optional dependencies

2006-01-01 Thread ir. ing. Jan Dockx
Have you tried the tag for the dependency? On 1 Jan 2006, at 14:25, Jochen Wiedmann wrote: Hi, are there any recommendations on how to handle dependencies, which aren't always required? For example, I am using JDK 1.5 classes in some projects like javax.xml.Constants, or javax.xml.namespace.Q

Optional dependencies

2006-01-01 Thread Jochen Wiedmann
Hi, are there any recommendations on how to handle dependencies, which aren't always required? For example, I am using JDK 1.5 classes in some projects like javax.xml.Constants, or javax.xml.namespace.QName. For JDK 1.3, and JDK 1.4 users, these are available as dependencies like gero

Announce: Maven JaxMe Plugin 1.0

2006-01-01 Thread Jochen Wiedmann
Hi, I'd like to announce the availability of the JaxMe Plugin for Maven 2. This version supports all JaxMe features, like the JaxMe Ant task does, including. The plugins home page is at http://ws.apache.org/jaxme/mp/ I'd beg to add the plugin to the plugin matrix and to the plugin list

Re: [M2] installing plugin

2006-01-01 Thread Allan Ramirez
Hi, Are you referring to axistools-maven-plugin? If yes, it is still in the mojo-sandbox, you could check it out and build it from source if you want to use it. https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/axistools-maven-plugin -allan [EMAIL PROTECTED] wrote: Hey all, i've found

Re: problem with downloading jdepend-plugin

2006-01-01 Thread Allan Ramirez
Hi there, Change your artifactID from "maven-jdepend-plugin" to "jdepend-maven-plugin". -allan exquisitus wrote: Hi, I have a problem when I try to add the JDepend-reports plugin to maven2. Adding this in the POM: (from http://mojo.codehaus.org/jdepend-maven-plugin/howto.html)