Re: mvn exec:java is giving error

2008-07-29 Thread Manuel EVENO
I've done the same test you did and it works fine (see attached log file). Manuel -- Xebia IT Architects FR : http://blog.xebia.fr EN : http://blog.xebia.com On Tue, Jul 29, 2008 at 2:24 AM, Abhishek Sanoujam [EMAIL PROTECTED]wrote: Hi all, I am new to maven and I was trying to run a

Re: mvn exec:java is giving error

2008-07-29 Thread Abhishek Sanoujam
Thanks for trying it out Manuel. But I am still getting error trying to use exec:java Here is the stack trace that I get when running with mvn -e: $ mvn -e clean compile exec:java -Dexec.mainClass=simpleproject.App + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

[mojo-dev] [ANN] Dashboard Maven Plugin, version 1.0.0-beta-1 released

2008-07-29 Thread david vicente
The Mojo team is pleased to announce the release of the Dashboard Maven Plugin, version 1.0.0-beta-1 This plugin is used to aggregate results from Checkstyle, Cobertura, Clover, Surefire, PMD, CPD, Taglist, Findbugs reports. http://mojo.codehaus.org/dashboard-maven-plugin/ You can run mvn -up

Specific version/dependency resolving in maven

2008-07-29 Thread Victor Tsoukanov
I would like to use versioning based on JSR-277. They use the following format: major[.minor[.micro[.update]]][-qualifier]. Some extraxt from spec 1. Major version number should be incremented for making changes that are not backward compatible. 2. Minor version number should be incremented for

Rename Strings and Files in Java-Project

2008-07-29 Thread IsaakTaylor
Hello, I have a Java-Project that I want to use as a model for future projects. There are files and strings I want to rename with the Maven. I am able to create the model from the given Java-Project with: mvn archetype:create-from-project mvn install mvn archetype:generate

Re: Specific version/dependency resolving in maven

2008-07-29 Thread Stefan Seidel
You should use version ranges[0] and/or the release plugin[1]. Stefan [0] http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges [1] http://maven.apache.org/plugins/maven-release-plugin/ Victor

Re: maven-dependency-plugin fails if pom.xml contains a submodule

2008-07-29 Thread Julien CARSIQUE
Thanks but I did not put the configuration inside the /executions/ tag. Look at my code extract. There's a specific outputDirectory value overwritten in the execution tags but all needed informations are set in a configuration tag outside the execution. The issue is that this is working fine

maven-enforcer-plugin release?

2008-07-29 Thread Michael Meyer
Hi, is there a reason why there hasn't been a maven-enforcer-plugin release for such a long time? I would really appreciate a new tagged version. A bug that prevented me from using the beanshell rule seems to be fixed on the head. If there is no new release I will have make an 'internal'

how to combine shade and minijar ?

2008-07-29 Thread Valerio Schiavoni
Hello everyone, i would like to take advantage of both the shade plugin and the minijar mojo (http://mojo.codehaus.org/minijar-maven-plugin/). In particular, what I would like to do is: - ask minijar to create the minified jars of my dependencies: this is already possible, as minijar:minijars

M2eclipse freeze in Project import

2008-07-29 Thread Salgar, Mehmet (external)
Hi everybody, I have a problem with a project import... We have relatively big project with several modules in, before 9.4 release import had functioned correctly and I start having this problem I tough may be it would be fixed by 9.5 and I didn't report anything but it is still there. I can

RE: Sonar

2008-07-29 Thread Bracewell, Robert
We use both Sonar and the site plug-in. Sonar is run to provide metrics which the dev team find handy. We have Sonar invoked via Hudson for every development task submitted to relevant modules in our SCM system. This way developers can quickly see if metrics go up or down. We use the site to

Release of webtest-maven-plugin-0.6.3

2008-07-29 Thread Siegfried Goeschl
The webtest-maven-plugin-team is pleased to announce the webtest-maven-plugin-0.6.3 release! Canoo WebTest plugin for M2. Canoo WebTest is a free Java tools for functional testing of web applications and the plugin allows to run Canoo Webtests from within a Maven build. Documentation

too many open files

2008-07-29 Thread Karan Malhi
Hi, Whenever I try to do the following: mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true I always get the following error (too many files open): [INFO] [ERROR] BUILD ERROR [INFO]

jar:jar with classifier runs twice.

2008-07-29 Thread mhuber
Hi all, we want to create a set of jars with different configuration files and thought about using a classifier. I configured the pom so far with the maven-jar-plugin and defined the filters and profile. Now I have the problem that the jar plugin is executed twice. The 1st run created

Re: M2eclipse freeze in Project import

2008-07-29 Thread Jason van Zyl
Use the m2eclipse users list and JIRA: [EMAIL PROTECTED] On 29-Jul-08, at 3:48 AM, Salgar, Mehmet (external) wrote: Hi everybody, I have a problem with a project import... We have relatively big project with several modules in, before 9.4 release import had functioned correctly and I start

RE: Strange m2 2.0.9 behaviour

2008-07-29 Thread EJ Ciramella
Is no one else replacing tokens with some values on the commandline? Again - this worked great with 2.0.5 but stopped working in 2.0.9. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2008 4:52 PM To: users@maven.apache.org Subject: Strange m2

Re: Specific version/dependency resolving in maven

2008-07-29 Thread Stephen Connolly
However version ranges are borken with more than three digits! i.e. Maven thinks 1.0.0.22 1.0.0.3 Which is no good... I'd like to get a patch to the DefaultArtifactVersion.compareTo method so that if not in the Maven version number format it compares . separated portions as numbers if they are

resources POM element howto read a (dot).properties file?

2008-07-29 Thread David Brown
Hello Maveners, I have a (dot).properties file in my /resources directory as defined in my POM resources tag. I have a class that extends a class and reads the file via an instance of the constructor. The problem is I don't have the source of the extended class. What is the usual way to read a

RE: maven-enforcer-plugin release?

2008-07-29 Thread Brian E. Fox
I'm working on getting some bugs fixed in the requirePluginVersions rule, a release will be out asap. -Original Message- From: Michael Meyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 6:36 AM To: Maven Users List Subject: maven-enforcer-plugin release? Hi, is there a reason

RE: maven-dependency-plugin fails if pom.xml contains a submodule

2008-07-29 Thread Brian E. Fox
Do you want the copy to run on all modules? This is the default behavior of plugins...that they inherit executions from their parent. If you don't want this, you can set inherited=false in the plugin config block. (check the pom.xsd for the exact location) -Original Message- From:

Coming out of the plugin Xradar for maven2 version 0.1

2008-07-29 Thread ndox
Xradar is a quality reporting tool targeting the Java/JEE projects, under BSD license. It is based on numerous open source analysis initiatives. The XML/XSL batch-processing framework produces integrated HTML/SVG reports of the systems current state and the development over time. Xradar can

Unable to build from individual sub-modules

2008-07-29 Thread Sesha Nandyal
Hello All, I am having problems building the sub-modules independently. However, I am able to build all the sub-modules from the parent module though. So let me explain how I have setup the directory structure and the entries in the pom.xml file Following is the directory structure

Fail on first unit test failure

2008-07-29 Thread EJ Ciramella
Is there a way to get maven to halt upon finding the first unit test failure rather than just continuing on?

Re: Avoid site plugin to run test phase, run integration-test instead.

2008-07-29 Thread Daniele Dellafiore
Anyone does know anything about this? The task should be simple: just avoid that site:stage or, say, tomcat:deploy plugin run the test phase. I thought about configuring some executions but failed till now... Any idea? On Thu, Jul 17, 2008 at 5:06 PM, Daniele Dellafiore [EMAIL PROTECTED] wrote:

Re: Avoid site plugin to run test phase, run integration-test instead.

2008-07-29 Thread Daniele Dellafiore
On Tue, Jul 29, 2008 at 6:32 PM, Daniele Dellafiore [EMAIL PROTECTED] wrote: Anyone does know anything about this? The task should be simple: just avoid that site:stage or, say, tomcat:deploy plugin run the test phase. I thought about configuring some executions but failed till now... Any

Maven 'deploy' relationship to large-scale software deployment

2008-07-29 Thread stug23
Maven has its own notion of 'deploying' a software artifact to a Maven repository. And there are quite a number of 'out of band' Maven plugins such as Cargo that can remotely deploy a war file to a running web container. My question centers on how Maven relates to situations where once a

Null Pointer Exception at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:92)

2008-07-29 Thread Krishnamurthi, Venkat
Hi, I'm getting the following exception during the site phase: [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO]

RE: Strange m2 2.0.9 behaviour

2008-07-29 Thread Brian E. Fox
Can you get us a sample project to work on? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 10:27 AM To: Maven Users List Subject: RE: Strange m2 2.0.9 behaviour Is no one else replacing tokens with some values on the commandline? Again -

RE: Strange m2 2.0.9 behavior

2008-07-29 Thread EJ Ciramella
I'm having a really hard time reproducing this outside of cruisecontrol. Basically, we have this relationship: Parent2 - parent1 - child It's the child project who's process-resources step copies the version.html from source to target replacing the ${label} within. I've been able to reproduce

Re: how to combine shade and minijar ?

2008-07-29 Thread Valerio Schiavoni
Apparently, the ueber goal of the minijar plugin already produces a jar that only includes the minimum set of classes from the dependencies. The issue then is how to avoid the relocation that the ueber goal seems to perform no matter what. Any idea about how to avoid tha relocation step ? On

RE: Null Pointer Exception at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:92)

2008-07-29 Thread Krishnamurthi, Venkat
Hi, Can someone please explain what this error means? [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO]

[ANN] Maven Overview Plugin Version 1.2 Released

2008-07-29 Thread Hubert Iwaniuk
Maven Overview Plugin version 1.2 has been released. This release contains fixes for inclusions/exclusions and integration test. Usage information available here: http://maven-overview-plugin.googlecode.com/svn/site/plugin-info.html. Project has reached Milestone:IntegrationTests (

[m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Dan Rollo
Apologies if I'm missing something obvious (and I did search the list archives without success). I have the following pom.xml defined for a project that depends on the activation.jar. I could only find that jar published on the maven 1 repo on java.net. I deleted my local .m2 repo (to make

Re: Null Pointer Exception at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:92)

2008-07-29 Thread Martin
You must be working with RepositoryUtils on an older unsupported version What happens when you upgrade to 2.08? Martin - Original Message - From: Krishnamurthi, Venkat [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Tuesday, July 29, 2008 4:04 PM Subject: RE: Null

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Dan Rollo
Forgot to mention: I'm using maven 2.0.9 : Maven version: 2.0.9 Java version: 1.5.0_07 OS name: linux version: 2.6.24-19-generic arch: i386 Family: unix Dan Rollo wrote: Apologies if I'm missing something obvious (and I did search the list archives without success). I have the following

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Martin
Dan Its a repository located in one of the master poms e.g. apache-1.pom snapshotRepository idapache.snapshots/id nameApache Development Snapshot Repository/name urlscp://minotaur.apache.org/www/cvs.apache.org/maven-snapshot-repository/url /snapshotRepository feel free to

RE: Null Pointer Exception at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:92)

2008-07-29 Thread Krishnamurthi, Venkat
Currently I'm using 2.0.7. It has been working fine till today. I'm facing the same problem with 2.0.8 as well. -Original Message- From: Martin [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 5:37 PM To: Maven Users List Subject: Re: Null Pointer Exception at

org.codehaus.mojo:wsdl2java-maven-plugin repository?

2008-07-29 Thread Lachlan Deck
Hi there, does anyone know of a plugin repository that has the above plugin? (It doesn't appear to be on codehaus' repositories nor central) with regards, -- Lachlan Deck - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: org.codehaus.mojo:wsdl2java-maven-plugin repository?

2008-07-29 Thread Lachlan Deck
On 30/07/2008, at 10:49 AM, Lachlan Deck wrote: Hi there, does anyone know of a plugin repository that has the above plugin? (It doesn't appear to be on codehaus' repositories nor central) A bit of cuiling/googling turns up axistools-maven-plugin as a successor it seems. with regards, --

Re: too many open files

2008-07-29 Thread Karan Malhi
Found the fix. In case somebody facing a similar issue, read instructions on this blog here http://lj4newbies.blogspot.com/2007/04/too-many-open-files.html On Tue, Jul 29, 2008 at 8:57 AM, Karan Malhi [EMAIL PROTECTED] wrote: Hi, Whenever I try to do the following: mvn eclipse:eclipse

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Dan Rollo
Hi Martin, Thanks for the reply, but I don't understand what you mean by comment it out? Where exactly would I comment it out? I don't have any settings.xml, nor any reference to that repo in my pom.xml. If the repo is referenced in one of the master poms, how/where can I comment that out?

Re: axistools-maven-plugin (was: org.codehaus.mojo:wsdl2java-maven-plugin repository)

2008-07-29 Thread Lachlan Deck
On 30/07/2008, at 10:59 AM, Lachlan Deck wrote: On 30/07/2008, at 10:49 AM, Lachlan Deck wrote: Hi there, does anyone know of a plugin repository that has the above plugin? (It doesn't appear to be on codehaus' repositories nor central) A bit of cuiling/googling turns up

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Wendy Smoak
On Tue, Jul 29, 2008 at 2:36 PM, Dan Rollo [EMAIL PROTECTED] wrote: 1. Why are only SOME downloads hitting: http://cvs.apache.org/maven-snapshot-repository/ when those same items exist in the normal central repo (and when I never define the cvs.apache.org repo anywhere)? 2. Any idea how I

Maven 2.0.5 Reporting Fails with Java 1.4

2008-07-29 Thread Morgovsky, Alexander (US - Glen Mills)
Hi, does anyone know a way to solve the Maven Java reporting issue where path lengths are 255 chars? I know 1.5+ will solve this, but I have to use 1.4. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is

Re: Maven 2.0.5 Reporting Fails with Java 1.4

2008-07-29 Thread Paul Benedict
Sorry, this is a pure JVM issue. You need at least Java 6. For building, you should seek permission to use Java 6 even if you want to deploy to a 1.4 box. Paul On Tue, Jul 29, 2008 at 11:06 PM, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Hi, does anyone know a way to solve

Re: axistools-maven-plugin (was: org.codehaus.mojo:wsdl2java-maven-plugin repository)

2008-07-29 Thread Lachlan Deck
Anyone know if it's possible to generate axis 1.1 compatible stubs with axistools-maven-plugin? If so -- how might this be done? with regards, -- Lachlan Deck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: mvn exec:java is giving error

2008-07-29 Thread Magne Nordtveit
On Tuesday 29 July 2008 02:24:10 Abhishek Sanoujam wrote: ---8--- $ mvn exec:java -Dexec.mainClass=simpleproject.App ---8--- plugin

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Magne Nordtveit
On Wednesday 30 July 2008 04:50:50 Dan Rollo wrote: Hi Martin, Thanks for the reply, but I don't understand what you mean by comment it out? Where exactly would I comment it out? I don't have any settings.xml, nor any reference to that repo in my pom.xml. If the repo is referenced in one of

Re: jar:jar with classifier runs twice.

2008-07-29 Thread Magne Nordtveit
On Tuesday 29 July 2008 15:00:12 [EMAIL PROTECTED] wrote: [...] build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId executions execution configuration