Re: How to disable a plugin in a derived project?

2008-06-27 Thread Sahoo
Wendy Smoak wrote: On Fri, Jun 27, 2008 at 4:32 PM, Sahoo <[EMAIL PROTECTED]> wrote: I have the following scenario: project B's pom.xml inherits from project A's pom.xml. A's pom.xml has configured certain plugin to be executed as part of a project's life cycle. I don't want the plugin to be

Re: How to disable a plugin in a derived project?

2008-06-27 Thread Jeff MAURY
On Sat, Jun 28, 2008 at 2:20 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 4:32 PM, Sahoo <[EMAIL PROTECTED]> wrote: > > I have the following scenario: > > project B's pom.xml inherits from project A's pom.xml. A's pom.xml has > > configured certain plugin to be executed as

Re: How to disable a plugin in a derived project?

2008-06-27 Thread Wendy Smoak
On Fri, Jun 27, 2008 at 4:32 PM, Sahoo <[EMAIL PROTECTED]> wrote: > I have the following scenario: > project B's pom.xml inherits from project A's pom.xml. A's pom.xml has > configured certain plugin to be executed as part of a project's life cycle. > I don't want the plugin to be active while buil

Re: How to disable a plugin in a derived project?

2008-06-27 Thread Jeff MAURY
I had the same request but I was not able to figure out how to do it ! Jeff MAURY On Sat, Jun 28, 2008 at 1:32 AM, Sahoo <[EMAIL PROTECTED]> wrote: > I have the following scenario: > project B's pom.xml inherits from project A's pom.xml. A's pom.xml has > configured certain plugin to be executed

How to disable a plugin in a derived project?

2008-06-27 Thread Sahoo
I have the following scenario: project B's pom.xml inherits from project A's pom.xml. A's pom.xml has configured certain plugin to be executed as part of a project's life cycle. I don't want the plugin to be active while building B. Is there a simple way to disable that plugin in B's pom.xml? I

Re: Need to generate simple runner script

2008-06-27 Thread Kathryn Huxtable
Actually, it turns out that the appassembler plugin is almost what I want. It requires that the project be installed to be included in the classpath and I'd rather run my project jar from the target directory. My purpose here is to provide a way for people who modify the source to test thei

Re: Maven assembly plug-in and deploy not happening?

2008-06-27 Thread Andrew Robinson
That was it, oops. Thank you. On Fri, Jun 27, 2008 at 1:04 PM, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > Andrew Robinson wrote: > >> The maven assembly plug-in, specifically states that it will deploy >> all the built assemblies on deploy: >> >> http://maven.apache.org/plugins/mave

Simpler way....

2008-06-27 Thread Marvin Froeder
Hi, I have my custom plugin. And I wanna to run it on a project. So I add it at build->plugins maven-source-plugin jar

Re: Surefire Test Sequence..

2008-06-27 Thread André Kelpe
2008/6/27 Geoffrey Wiseman <[EMAIL PROTECTED]>: > On Fri, Jun 27, 2008 at 11:32 AM, Niranjan Deshpande <[EMAIL PROTECTED]> > Well, first of all, i'll admit that I don't know if this is possible, and if > so, how. If you're using JUnit 3.8.X, you might be able to make this happen > with a custom J

Re: Maven assembly plug-in and deploy not happening?

2008-06-27 Thread Jörg Schaible
Hi Andrew, Andrew Robinson wrote: > The maven assembly plug-in, specifically states that it will deploy > all the built assemblies on deploy: > > http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#deploy > > So I have my assembly plugin executions tied to the package: > > >

Maven assembly plug-in and deploy not happening?

2008-06-27 Thread Andrew Robinson
The maven assembly plug-in, specifically states that it will deploy all the built assemblies on deploy: http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#deploy So I have my assembly plugin executions tied to the package: maven-assembly-plugin 2.2-beta-2

Re: Surefire Test Sequence..

2008-06-27 Thread Geoffrey Wiseman
On Fri, Jun 27, 2008 at 11:32 AM, Niranjan Deshpande <[EMAIL PROTECTED]> wrote: > I want to control the sequence in which my test classes are executed. > Well, first of all, i'll admit that I don't know if this is possible, and if so, how. If you're using JUnit 3.8.X, you might be able to make t

Re: mvn release plugin and platform specific executable jars

2008-06-27 Thread Andrew Robinson
Okay, found a solution. I have 4 jar assembly descriptors that make a jar with all the unpacked dependencies, then I have 4 "package" assembly descriptors to bundle it all in a tar or zip. This way I have no class path in my manifest to bother with since the jars are all self-contained. -Andrew O

[m2] specifying default properties for my mojo

2008-06-27 Thread Adrian Herscu
Hi all, I have written a mojo using ANT. In my.mojos.xml I have sections like: failOnError failOnError false false ${failOnError} boolean Indicates whether the build will continue even if there are compilation errors

Need to generate simple runner script

2008-06-27 Thread Kathryn Huxtable
I am using the jar plugin to add the dependencies to the manifest of my project's jar, and the dependencies plugin to create a lib directory to contain them. I like that my jar has the version number appended. Given that, is there any way to inject the version number into a shell script a

Surefire Test Sequence..

2008-06-27 Thread Niranjan Deshpande
I want to control the sequence in which my test classes are executed. Is it possible to configure the sequence when i add the plugin in my POM? Right now, maven picks up a class and i just dont understand how it picks from the 100s of classes. -- Regards, Niranjan Deshpande "Shut yourself fr

dependency:tree and eclipse:eclipse disagree.

2008-06-27 Thread Geoffrey Wiseman
I've got a multiproject build, and my domain module depends on commons-lang v2.3. In the persistence module, if I do a dependency:tree, commons-lang only shows up under the domain module as a transitive dependency with version 2.3. When I do an eclipse:eclipse, or eclipse:clean eclipse:eclipse I

Append to classpath for manifest manually?

2008-06-27 Thread Andrew Robinson
Related to my previous post http://www.nabble.com/mvn-release-plugin-and-platform-specific-executable-jars-td18145554.html, I am wondering if it is possible to manually append a jar to the classpath of the manifest in the archive. If this is possible, I could manually add an swt jar to the classpat

AW: Re: Maven & WebSphere 6.1

2008-06-27 Thread Lustig, Marc (Allianz Deutschland, externer Mitarbeiter)
re was6-plugin: it needs a local was6-installation. has anybody tried to track down the files which are actually necessary to keep the was6-plugin running (I guess some was-ant-tasks.jar, etc.) ? -Ursprüngliche Nachricht- Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Jon SlinnHawk

AW: mvn site by ftp ?

2008-06-27 Thread Lustig, Marc (Allianz Deutschland, externer Mitarbeiter)
http://maven.apache.org/plugins/maven-site-plugin/ file is possible, too -Ursprüngliche Nachricht- Von: Alexandre Touret [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2008 15:18 An: users@maven.apache.org Betreff: mvn site by ftp ? hi, I m looking for a way to copy to a remot

Re: Include resources from other module in .jar

2008-06-27 Thread Stefan Seidel
You're welcome. You need to declare the pom in which the plugin is defined ("root pom") as in all the poms that should inherit the plugin execution. As I posted it it works like that for Maven 2.0.8. regards, Stefan Aiko85 wrote: Thanks Stefan :-) So far I've added the part to each of t

artifactId - changing underscores to dashes in the path?

2008-06-27 Thread Miguel Paraz
Hi, In the following: [DEBUG] Dependency: Dependency {groupId=org.apache.geronimo.specs, artifactId=geronimo-commonj_1.1_spec, version=1.0, type=jar} [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-commonj-1.1-spec/1.0/geronimo-comm

Re: question about scm:tag

2008-06-27 Thread Lukas Theussl
yes, the maven.scm.message is ignored by scm:tag, it is only used by scm:add and scm:checkin [1]. -Lukas [1] http://maven.apache.org/maven-1.x/plugins/scm/properties.html [EMAIL PROTECTED] wrote: Hi, I am using scm:tag to create tag. I am running this command maven scm:tag -Dmaven.scm.t

Re: Inherit dependencies problem

2008-06-27 Thread Julien Simon
Hi, Maybe this is just a "copy and paste" error but the end tag is missing. Julien Simon.

mvn site by ftp ?

2008-06-27 Thread Alexandre Touret
hi, I m looking for a way to copy to a remote server the web site created by mvn site. Now, I only found the scp way and I d like an other way such as rcp or ftp. Is these protocols avialable ? Thanks Alexandre -- View this message in context: http://www.nabble.com/mvn-site-by-ftp---tp181550

RE: How to copy unpacked nar file contents into target directory?

2008-06-27 Thread Brian E. Fox
Like this: org.apache.maven.plugins maven-dependency-plugin narUnArchiver narUnArchiver 0.1 unpack package unpack

Re: Maven & WebSphere 6.1

2008-06-27 Thread Jon SlinnHawkins
Hi Chris This is exactly what i was looking for - you mentioned below that this was part of the batch file you use. Are there any WAS 6.1 libraries missing from the list below. Cheers Jon [EMAIL PROTECTED] wrote: Hi. I do not get maven to actually generate the EJB deployment code, WebSph

question about scm:tag

2008-06-27 Thread sachin . x . mahajan
Hi, I am using scm:tag to create tag. I am running this command maven scm:tag -Dmaven.scm.tag=RELEASE_121 -Dmaven.scm.message=jiranumber -Dmaven.scm.username=xyz -Dmaven.scm.password=xyz This command is failing due to pre-commit hook. We have a pre-commit hook to add jira number as a comment

Re: Include resources from other module in .jar

2008-06-27 Thread Aiko85
Thanks Stefan :-) So far I've added the part to each of the including jar's poms and it works. Is it possible to configure it so the plugin configuration is in one place ? Didn't work out when i placed it in root pom. Anne VUB Stefan Seidel wrote: > > Hi, > > one option is to extract the B

Re: Include resources from other module in .jar

2008-06-27 Thread Tomislav Stojcevich
Try the remote resources plugin http://maven.apache.org/plugins/maven-remote-resources-plugin/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Include resources from other module in .jar

2008-06-27 Thread Stefan Seidel
Hi, one option is to extract the B jar using the dependency plugin: maven-dependency-plugin 2.1-SNAPSHOT expand common JSP fragments unpack-dependencies generate-resources

Include resources from other module in .jar

2008-06-27 Thread Aiko85
Hi! Is it possible to directly include in a jar (lets call it A.jar) class/resource files from other module (lets call it B.jar). ? What I have is 5 jars/modules that need to have exactly the same property/xml files inside them, so I would like to keep the resources in a separate module, in one p

Re: set target directory for "mvn package"

2008-06-27 Thread Dennis Lundberg
Ishaaq Chandy wrote: I think you'll find the relevant documentation here: http://maven.apache.org/pom.html#Directories also note the /project/build/directory in the super pom: http://maven.apache.org/pom.html#The_Super_POM However, your results may vary, I think a lot of plugins just assume tha

RE: dependencyManagement and dependecies

2008-06-27 Thread Mikael Petterson
Hi, Thanks! I corrected typo and changed to the same type and now it works! Have a greate weekend! cheers, //mikael -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: den 27 juni 2008 11:56 To: Maven Users List Subject: RE: dependencyManagement and dependecies M

RE: dependencyManagement and dependecies

2008-06-27 Thread Jörg Schaible
Mikael Petterson wrote: > Hi, > > I am testing dependecy interitance. > > I our master pom.xml we have defined: > > > 0.0.0.1 > > > > > > > com.mycompany.app > admin >

Re: dependencyManagement and dependecies

2008-06-27 Thread Dennis Lundberg
There's a typo in your property: 0.0.0.1 the start and end tag don't match. Mikael Petterson wrote: Hi, I am testing dependecy interitance. I our master pom.xml we have defined: 0.0.0.1 com.myco

problem: disambiguate jar names of jars taken from Maven repo (for web app deployment)

2008-06-27 Thread Hoeher, Alexander
Hello Maven people, I have the current version of Maven, Maven 2.0.9 installed. Any helpful comments welcome! A. Problem This is the problem, abstract: How can I disambiguate jar names of jars taken from Maven repo (for example for web app deployment)? Unique jar names including the groupid a

specify more than one loadrule in SCM:clearcase (Auto-generated config spec)?

2008-06-27 Thread torsten . reinhard
Hi, actually there are two ways of specifying configSpec in ClearCase section: a) User-supplied configSpec b) Auto-generated config spec Because of the limitations at User-supplied configSpecs ( checking out from a tag (which is used by the maven-release-plugin) is currently not supported

Re: dependencyManagement and dependecies

2008-06-27 Thread Julien Simon
Hi, I think that's because in your master pom, you didn't specify ejb-client. But you are right, you don't need to specify the dependency version in your children poms. Regards, Julien Simon.

Re: Jboss plugin configuration with Maven2Problem

2008-06-27 Thread Kristian Rink
Renu Gupta schrieb: [...] > org.codehaus.mojo > jboss-maven-plugin > > default [...] > But when I execute mvn jboss:deploy it gives following error: > [INFO] [jboss:deploy] > [INFO] Deploying F:\Documents and > Settings\rvgupta\MavenProjects\JBOSS

Jboss plugin configuration with Maven2Problem

2008-06-27 Thread Renu Gupta
I have created a simple web application. And I have configured my pom.xml in following way: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.or

dependencyManagement and dependecies

2008-06-27 Thread Mikael Petterson
Hi, I am testing dependecy interitance. I our master pom.xml we have defined: 0.0.0.1 com.mycompany.app admin ${app.version}