Re: excluding some .properties files

2008-07-30 Thread Jeff Mutonho
I've also tried this : src **/*.java log4j.properties manager.properties messages_en.properties but still without any success. -- "Don't take the name of root in vain." Jeff Mutonho Cape Town South Afric

Re: PMD/CPD Maven 2 Plugin Question

2008-07-30 Thread Carlos Alonso
Hi Elliot. At this point I'm not able to explain you exactly what the pluginManagement do, but I think that section is like a summary of what plugins you're using and that is more suitable in a parent pom. Then, in children poms or in a section below the one you're showing should be declared

Re: How to manipulate the classpath in which a maven plugin operates

2008-07-30 Thread nicolas de loof
Add element to your plugin configuration to extend/override the plugin classpath. Please note this works fine only on maven 2.0.9 2008/7/31 Christian Schuhegger <[EMAIL PROTECTED]> > Hello, > > I just ran into a problem where I used the castor maven plugin as described > here: > http://www.casto

How to manipulate the classpath in which a maven plugin operates

2008-07-30 Thread Christian Schuhegger
Hello, I just ran into a problem where I used the castor maven plugin as described here: http://www.castor.org/srcgen-maven-plugin.html I assumed that a plugin would use the same classpath as the project itself where I included castor 1.2. But I seems as if a maven plugin operates in its own

Re: Site Plugin: Only static content - is it possible?

2008-07-30 Thread Wendy Smoak
On Wed, Jul 30, 2008 at 10:39 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Wed, Jul 30, 2008 at 10:26 PM, Paul Benedict <[EMAIL PROTECTED]> wrote: >> I have an Apache website of all static content. I don't need Maven to >> autogenerate anything, but I want to use the Site Plugin to bundle and >>

Re: Site Plugin: Only static content - is it possible?

2008-07-30 Thread Wendy Smoak
On Wed, Jul 30, 2008 at 10:26 PM, Paul Benedict <[EMAIL PROTECTED]> wrote: > I have an Apache website of all static content. I don't need Maven to > autogenerate anything, but I want to use the Site Plugin to bundle and > deploy it. > > Is it possible to use the Site plugin without a site.xml? Wha

Site Plugin: Only static content - is it possible?

2008-07-30 Thread Paul Benedict
I have an Apache website of all static content. I don't need Maven to autogenerate anything, but I want to use the Site Plugin to bundle and deploy it. Is it possible to use the Site plugin without a site.xml? Paul

Re: Snapshot parent

2008-07-30 Thread Michael McCallum
On Thu, 31 Jul 2008 09:44:41 sverhagen wrote: > In Continuous Integration spirit, we have snapshot dependencies between all > our own components. > We have also set components to use snapshots of their parents ( ... > ...-SNAPSHOT). > Is the latter good practice? > It will mean that I can't release

Re: M 2.0.5 - Failure executing javac

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Cool, thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this messa

Re: M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Cool, thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message,

RE: Strange m2 2.0.9 behavior

2008-07-30 Thread Brian E. Fox
Definitely news to me. Please file a bug in the war project as it shouldn't stomp on the regular resource processing. At least you can define the war plugin version back to 2.0.2 and get working again. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 3

Re: M 2.0.5 - Failure executing javac

2008-07-30 Thread Paul Benedict
Alex, JDK 6. The problem is solved only in 5+ -- doesn't include 5. Paul On Wed, Jul 30, 2008 at 1:36 PM, Morgovsky, Alexander (US - Glen Mills) < [EMAIL PROTECTED]> wrote: > Please help, I am using Java 1.5 as my JAVA_HOME and have the following > in my POM - Maven 2.0.5. > > > > > > org

excluding some .properties files

2008-07-30 Thread Jeff Mutonho
I'm building a war and the web project has the following structure: |-- pom.xml |-- src | |-- com | | `--mycompany | |`--securedpage | | `-- somejavafile.java | | `-- anotherjavafile.java

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

2008-07-30 Thread Dennis Lundberg
There is a problem with one of your dependencies or repositories. It is Maven Project Info Reports Plugin that is generating the Exception, when it is creating the Dependencies Report. It would be helpful if you could supply a POM. Krishnamurthi, Venkat wrote: Hi, I'm getting the following e

Snapshot parent

2008-07-30 Thread sverhagen
In Continuous Integration spirit, we have snapshot dependencies between all our own components. We have also set components to use snapshots of their parents ( ... ...-SNAPSHOT). Is the latter good practice? It will mean that I can't release a component without releasing its parents, won't it? All

Re: M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread supareno
please check out this: http://maven.apache.org/plugins/maven-compiler-plugin/ everything is in :-) Even though I define my source as 1.4, I still get the following error. Please help. POM: org.apache.maven.plugins maven-compiler-plu

M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Even though I define my source as 1.4, I still get the following error. Please help. POM: org.apache.maven.plugins maven-compiler-plugin 2.0.2

M 2.0.5 - Failure executing javac

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Please help, I am using Java 1.5 as my JAVA_HOME and have the following in my POM - Maven 2.0.5. org.apache.maven.plugins maven-compiler-plugin true ${env.JAVA_HOME}\jre\lib\rt.jar 1.4

RE: Strange m2 2.0.9 behavior

2008-07-30 Thread EJ Ciramella
For what it's worth - this is a change between the 2.0.2 version of the war plugin to the 2.1-alpha-1 version (which is included in the 2.0.9 superpom). This isn't called out (clearly) anywhere that I could find. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wedne

RE: Strange m2 2.0.9 behavior

2008-07-30 Thread EJ Ciramella
Ok, I can reproduce this regularly. We have a version.html file that has a ${label} token inside (as listed below). When I run with maven 2.0.9, using "mvn install", I can see that version.html is copied into the target location twice, once via process-resources (and it's expanded at this point)

Re: Maven WAR with self-classes as package

2008-07-30 Thread Wendy Smoak
On Wed, Jul 30, 2008 at 10:27 AM, zm <[EMAIL PROTECTED]> wrote: > I have a WAR project that builds correctly in Maven2. > > What I want to know, is if there is a way of making maven to do an internal > JAR package of the WAR classes. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

Maven WAR with self-classes as package

2008-07-30 Thread zm
Hi, I have a WAR project that builds correctly in Maven2. What I want to know, is if there is a way of making maven to do an internal JAR package of the WAR classes. Instead of compiling the java sources and put them in the WEB-INF\classes internal folder, I would prefer maven to just create a

RE: Strange m2 2.0.9 behavior

2008-07-30 Thread EJ Ciramella
Additionally, when did maven start expanding ${} to something like MavenProject: lty:pdtApp:66.0-SNAPSHOT @ E:\work\up-svcs\lty\rel\LTY-R66.0\programData\pdt-web\pom.xml -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 11:33 AM To: Maven U

PMD/CPD Maven 2 Plugin Question

2008-07-30 Thread elliot . t . ng
I am trying to integrate the pmd/cpd maven 2 plugin into our project. Pmd/cpd information is located here: http://pmd.sourceforge.net/cpd.html Pmd/cpd maven 2 plugin information is located here: http://maven.apache.org/plugins/maven-pmd-plugin/index.html . This plugin will allow us to generate

Release Plugin - Resolving Snapshot Dependencies

2008-07-30 Thread Geoffrey Wiseman
When I'm using the Maven release plugin in a project that depends on snapshots, it offers me the ability to roll forward to the release. That seems like a nice feature to have, but it never seems to work for me. See below: [INFO] Resuming release from phase 'check-dependency-snapshots' [INFO] Ch

PMD/CPD Maven 2 Plugin Question

2008-07-30 Thread elliot . t . ng
I am trying to integrate the pmd/cpd maven 2 plugin into our project. Pmd/cpd information is located here: http://pmd.sourceforge.net/cpd.html Pmd/cpd maven 2 plugin information is located here: http://maven.apache.org/plugins/maven-pmd-plugin/index.html . This plugin will allow us to generate

Re: Maven 2.0.5 Reporting Fails with Java 1.4

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Correct, but we have some methods which only will compile with 1.4..do you think running jvm 1.5 with -source 1.4 will work? This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the i

RE: Strange m2 2.0.9 behavior

2008-07-30 Thread EJ Ciramella
After some more research, here's what I've found. When I run mvn install -Dfoo=bar, I can see version.html get copied twice to: project\webmodule\target\webmodule-X.X-SNAPSHOT I ran with -X -e, but only see ONE copy step happen. Basically, when the war is generated, it copies over the file a se

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

2008-07-30 Thread Krishnamurthi, Venkat
2.0.8 also throws the same exception. Please let me know if there are any solutions to this issue: [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO]

Re: Verification of Files/Directories before starting the Compile-Phase

2008-07-30 Thread Michael Meyer
Hi, you can bind the maven-antrun-plugin to the 'validate' phase. michael Christian Weber wrote: Hi all, my Project needs some Files that must exist in a certain Place in order to a successful Compilation of the Project. Is there a Plugin, where i can specify Things like in the "verifier" Pl

Verification of Files/Directories before starting the Compile-Phase

2008-07-30 Thread Christian Weber
Hi all, my Project needs some Files that must exist in a certain Place in order to a successful Compilation of the Project. Is there a Plugin, where i can specify Things like in the "verifier" Plugin? The verifier Plugin is used for the integration-test Phase, but i need something before the C

Re: Rename Strings and Files in Java-Project

2008-07-30 Thread IsaakTaylor
@petar Thanx man, thats is -- View this message in context: http://www.nabble.com/Rename-Strings-and-Files-in-Java-Project-tp18708260p18731757.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsub

[fitnesse] goal run fails with misterious code 9

2008-07-30 Thread Daniele Dellafiore
When I run fitnesse:run, the build fails with: [ERROR] BUILD FAILURE [INFO] [INFO] Fitnesse command ended with errors, exit code:9 The log give these informations: [INFO]task-segment: [fitnesse:run] (aggregator-style) [

Re: Specific version/dependency resolving in maven

2008-07-30 Thread Stephen Connolly
When we need to use a newer version we just run mvn versions:update-properties On Wed, Jul 30, 2008 at 10:14 AM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > > > On Wed, Jul 30, 2008 at 9:52 AM, Baeriswyl Kuno - Extern (IT-BA-MV) > <[EMAIL PROTECTED]> wrote: > >> Hello! >> >> I vote for 4 digit

Re: Specific version/dependency resolving in maven

2008-07-30 Thread Stephen Connolly
On Wed, Jul 30, 2008 at 9:52 AM, Baeriswyl Kuno - Extern (IT-BA-MV) <[EMAIL PROTECTED]> wrote: > Hello! > > I vote for 4 digit versioning scheme support as well. I'm currently > thinging about a release process with a 4 digit versioning scheme. I'm not > quite sure if I get that work without using

[m2] pack200 support

2008-07-30 Thread Stauffer Markus
Hi I would like to use pack200 on my jar files. At the moment I use the webstart-pack200-anttasks. Is there a clean maven2 plugin? kind regards -- Markus Stauffer

AW: Specific version/dependency resolving in maven

2008-07-30 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello! I vote for 4 digit versioning scheme support as well. I'm currently thinging about a release process with a 4 digit versioning scheme. I'm not quite sure if I get that work without using version ranges. Probably, I'll need to implementent some scripts that do the work for changing versio

Simian plugin

2008-07-30 Thread Carlos Alonso
Hi all. I've been searching along for a Maven 2.x Simian plugin without success. Anybody who has used it? Any repository where to find this plugin? org.codehaus.mojo simian-maven-plugin Any ways (goals) to use this one?

Re: Rename Strings and Files in Java-Project

2008-07-30 Thread Peter Karich
Hi IsaakTaylor! No idea? Only for ant (which you could call from maven): With the CDATA section it is even possible to replace more than one line. (I use this for making changes to the license header) Reg

Re: How could I force maven to use specific version when I use version ranges in dependencies

2008-07-30 Thread Stephen Connolly
If you use the release plugin it can generate the pom with fully locked down versions from the time of release. Just use that pom from your SCM tag for the release On Wed, Jul 30, 2008 at 8:52 AM, Victor Tsoukanov <[EMAIL PROTECTED]> wrote: > We decided to use version ranges in module dependecie

Re: maven-enforcer-plugin release?

2008-07-30 Thread Michael Meyer
Great news. Thanks! Brian E. Fox wrote: 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-enfor

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

2008-07-30 Thread nicolas de loof
I've fixed the broken link on samples generating for another version of axis requires to add a dependency to the plugin in your pom, so that it overrides the plugin's one. This only works with maven 2.0.9 Nicolas 2008/7/30 Lachlan Deck <[EMAIL PROTECTED]> > Anyone know if it's possible to gener

How could I force maven to use specific version when I use version ranges in dependencies

2008-07-30 Thread Victor Tsoukanov
We decided to use version ranges in module dependecies. For example I have 3 modules: m1, m2 and m3, m2 and m3 depends on m1 and I can describe version range instead of exact version number. In m1 pom.xml I set "1.1.0" and in m2 and m3 pom.xml I described dependencies: . mo

Re: Specific version/dependency resolving in maven

2008-07-30 Thread Victor Tsoukanov
I used version ranges and it is enough for me, ues it does not support more than 3 digits, but it's ok, thanks. I set version of m1 as "1.1.0" and used ranges in m2 and m3 as .. [1.0,2.0) But now I have additional question :) How could I force maven to use spe

Re: Controlling versions for release:prepare batch mode

2008-07-30 Thread Stephen Connolly
The problem is version ranges AFAIK, 3.4.3-SNAPSHOT is newer than 3.4.3-1... but check http://maven.apache.org/ref/current/maven-artifact/xref/org/apache/maven/artifact/versioning/DefaultArtifactVersion.html#132 for the parsing and http://maven.apache.org/ref/current/maven-artifact/xref/org/apa

Re: Any chance for maven and IDE (eclipse)?

2008-07-30 Thread Eugene Kuleshov
Joerg Hohwiller wrote: > > 2. m2eclipse is a nice idea and about what I am dreaming of. However it is > so entirely full of bugs that it is completely useless for complex > projects. > I guess this require more detailed response. Please see below. This is probably more appropriate for m2eclip

Re: Experience in maven-release-plugin using ClearCase SCM

2008-07-30 Thread torsten . reinhard
Hi, I´m actually using the maven-release-plugin with Base ClearCase, but with some (known) limitations: - i could only release modules within a tree, not a flat directory hierarchy - i could only release modules at the main branch; releasing at a branch is not possible due to the configspec g

Re: Unable to build from individual sub-modules

2008-07-30 Thread Piotr Oktaba
The parent artifact haven't been installed into your local repository, and that's why submodules cannot find it. Try to perform goal:mvn install in parent module, and after that submodules should build correctly with both goals: install or compile. Cheers, Piotrek On Tue, 2008-07-29 at 10:21 -0