Re: how to make reactor greedy?

2009-12-04 Thread Baptiste MATHUS
Hi, Could you rephrase your need? Not sure to understand. Just a guess, wouldn't the mvn -amd or -am option fit your need? Cheers 2009/12/3 Andrew Gaydenko a...@gaydenko.com Hi! Say, I have top pom (packaging pom) with two modules - B and C (both jar packaging). B is self-containd, C

Re: how to make reactor greedy?

2009-12-04 Thread Andrew Gaydenko
On Friday 04 December 2009 13:50:46 Baptiste MATHUS wrote: Hi, Could you rephrase your need? Not sure to understand. Just a guess, wouldn't the mvn -amd or -am option fit your need? Cheers Hi! There are modules B (self-contained) and C (depends on B). Let's do clean and install. Now

maven 3 inheritance

2009-12-04 Thread Erlend Hamnaberg
Hi. I am testing out maven 3 on our project. I heard from Jason's presentation on JavaZone that you are supposed to be able to have versionless parent elements. Trying to build the attached project, makes it fail. In maven 2 we could inherit properties, this doesn't seem to work anymore. Can

How to include unattached HTML pages to maven site?

2009-12-04 Thread jimmi4664
My build generates some HTML documentation, but as part of normal site reporting. One phase of the build just creates some HTML files under a given directory. I would like to include this as one selection under my Project reports. How could I do this? *) In practise the documentation is

Re: maven parameter

2009-12-04 Thread Anders Hammar
Normally, if it is a property used by a plugin, it is documented in the plugin's doc. However, for the configId and configDirectory properties that you talk about, I think that they are something GeoServer specific and not for a plugin. Possibly they are used in the pom or during filtering.

Re: maven parameter

2009-12-04 Thread maven apache
2009/12/4 Anders Hammar and...@hammar.net Normally, if it is a property used by a plugin, it is documented in the plugin's doc. However, for the configId and configDirectory properties that you talk about,* I think that they are something GeoServer specific and not for a plugin. Possibly

Re: maven parameter

2009-12-04 Thread Anders Hammar
To be used within the pom and filtering? http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide /Anders On Fri, Dec 4, 2009 at 14:47, maven apache apachemav...@gmail.com wrote: 2009/12/4 Anders Hammar and...@hammar.net Normally, if it is a property used by a plugin, it is

Create multiple JARs from different src directories

2009-12-04 Thread florian . grunow
Hi there! I'm quite new to maven and have the following question: Maven generates test JARs from the test directories that can be specified via the build-helper-maven-plugin. Is it possible to generate seperate JARs (for integration tests in my case) from different test folders? I don't want

Compilation error(try source -1.5)

2009-12-04 Thread martin mikeln
Hi! I try to build some project(actually i try to make single JAR file with mvn package code) and i am getting compilation error and almost all lines have some kind of same error(ex. Generics are not supported in source -1.3,..., try source -1.5). I think source means source of JDK, so I

Re: Compilation error(try source -1.5)

2009-12-04 Thread Anders Hammar
Sure: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html Specify 1.5 as source and target. /Anders On Fri, Dec 4, 2009 at 15:29, martin mikeln mikelnmar...@yahoo.com wrote: Hi! I try to build some project(actually i try to make single JAR file

Re: Create multiple JARs from different src directories

2009-12-04 Thread Gajo Csaba
Hello, I don't know specifically for the JAR plugin, but according to its website at http://maven.apache.org/plugins/maven-jar-plugin/usage.html you can configure which files to include/exclude. So you could create separate execution elements for each jar file you want to generate, and set

Ant Task: Nullpointer Exception

2009-12-04 Thread Vinicius Carvalho
Hello there! I'm trying to integrate my build.xml with some artifacts managed by maven. Here's What I've done so far: project name=Project Builder xmlns:artifact=antlib:org.apache.maven.artifact.ant property file=build.properties/property path

Re: Building using different files based on a build flag?

2009-12-04 Thread laredotornado
I found this documentation related to profiles -- http://maven.apache.org/guides/introduction/introduction-to-profiles.html and it was very helpful. It left me with one lingering question. If someone doesn't specify -Denv= in the build command, how can you warn them that they must include this

Re: Ant Task: Nullpointer Exception

2009-12-04 Thread Wayne Fay
               artifact:pom file=${project.dir}/pom.xml id=mypom                        pom pomrefid=mypompom / java.lang.NullPointerException        at org.apache.maven.artifact.ant.Pom.getArtifact(Pom.java:133) Does this help you see why it failed? Wayne

Re: Ant Task: Nullpointer Exception

2009-12-04 Thread Vinicius Carvalho
Actually fixed this, by using pom inside the artifact:install instead of using pomrefid. Anyway, I started using artifact:mvn instead, but its downloading all dependencies everytime. Not using my local repository. Why is that? Regards On Fri, Dec 4, 2009 at 1:03 PM, Vinicius Carvalho

Script generation using Maven

2009-12-04 Thread Ray . Mcdermott
Folks I am wondering of you can help me I would like to be able to generate some script actions based on a list of changed files for a build Let say I have two new files checked out of subversion (these are the new / updated files): file0.txt file1.txt # ** updated file2.txt file3.txt #

Re: Building using different files based on a build flag?

2009-12-04 Thread Wayne Fay
If someone doesn't specify -Denv= in the build command, how can you warn them that they must include this parameter rather than the build failing spectacularly. The enforcer plugin can help with that: http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html Wayne

maven-jar-plugin version 2.3 MANIFEST.MF SNAPSHOT problem

2009-12-04 Thread Stephen Duncan Jr
I see that http://jira.codehaus.org/browse/MJAR-28 was fixed in the 2.3 release. From my perspective, this seems to have broken things, including a viable working system I had using 2.2. In 2.3 I have several SNAPSHOT dependencies, but when I build a jar with addClasspath, only one of those is

Re: To Skip some execution with mvn install and mvn assembly:assembly

2009-12-04 Thread Laurent PELLEGRINO
Thanks it works in order to skip tests :-) However I don't found how to skip assembly target when I execute mvn install. Is it possible ? 2009/12/3 Anders Hammar and...@hammar.net: Does this work: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests /Anders On

Warning while generating archetype

2009-12-04 Thread Qureshi,Shahzad [Ontario]
Hi all, I used archetype:create-from-project goal to create an archetype from a project of mine, worked perfectly. Installed the archetype and used it to create a project, which all worked fine However, I get following warnings when I create a project using the above mentioned archetype and

Re: Warning while generating archetype

2009-12-04 Thread Stevo Slavić
Probably thishttp://maven.apache.org/maven-archetype/archetype-common/xref/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.htmlis archetype plugin code which logs these warning. Check, your archetype's archetype-metadata.xml I suspect there is one or more overlapping

Re: Checksum errors

2009-12-04 Thread Wayne Fay
Friends don't let friends use the dev.java.net repo... Are you sure you need it to build Spring? If so, good luck! (And why are you trying to build Spring anyway?) This artifact (and many others) should be in Central. Ok, thanks for the response.  Now, how do I fix it?  I installed maven with

RE: Warning while generating archetype

2009-12-04 Thread Qureshi,Shahzad [Ontario]
That was it, thank you For anyone looking for the same issue I had the following in my archetype-metadata.xml fileSet filtered=true encoding=UTF-8 directorysrc/main/resources/directory includes include**/*.xml/include include**/*.properties/include /includes /fileSet fileSet

Re: How to include unattached HTML pages to maven site?

2009-12-04 Thread Dennis Lundberg
jimmi4664 wrote: My build generates some HTML documentation, but as part of normal site reporting. One phase of the build just creates some HTML files under a given directory. I would like to include this as one selection under my Project reports. How could I do this? *) In practise

Re: maven-jar-plugin version 2.3 MANIFEST.MF SNAPSHOT problem

2009-12-04 Thread Dennis Lundberg
Stephen Duncan Jr wrote: I see that http://jira.codehaus.org/browse/MJAR-28 was fixed in the 2.3 release. From my perspective, this seems to have broken things, including a viable working system I had using 2.2. In 2.3 I have several SNAPSHOT dependencies, but when I build a jar with

Re: To Skip some execution with mvn install and mvn assembly:assembly

2009-12-04 Thread Anders Hammar
Not sure what you mean by assembly target. Have you bound the assembly plugin to some phase but want to skip it?! You cannot unbind a plugin, but some plugins provide some configuration option to turn tem off (like surefire for skipping tests). So you need to know which plugin it is you want to

Re: Building using different files based on a build flag?

2009-12-04 Thread laredotornado
Sweet! This looks like the answer to my problems, except that when I include the plugin in my pom.xml, I'm not able to download it. What repository should I be using? Here is what I get ... mvn clean install jboss:redeploy [INFO] Scanning for projects... Downloading:

Re: Building using different files based on a build flag?

2009-12-04 Thread Wayne Fay
Reason: Unable to download the artifact from any repository  org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0 What makes you think there is a 1.0 version of this plugin? http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin Wayne

use maven in eclipse without m2eclipse

2009-12-04 Thread maven apache
Hi; These days I was confusing with some problems about the m2eclipse,so I wonder if I can use maven without m2elcipse.? For example,when I use m2eclipse after I add a dependency I click maven - update dependencies ,now what to do without the m2elicpse for updating dependencies? And other