Re: Multi-module Site menu

2008-03-11 Thread Insitu
Erik Husby [EMAIL PROTECTED] writes: What would be the best way to generate the module menu? Hello, There seems to be complex interactions between site generation and various parts of the poms. Something I have seen worked is: - set URL for all modules to the right 'final' one, so that they

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-11 Thread Martin Höller
Hi! On Friday 07 March 2008 Brian E. Fox wrote: If this is the case for you, please reply and state the version you're using and why (preferably referring to a Jira). We will use this information to prioritize issues for 2.0.10 and beyond. We are using maven 2.0.7. I wanted to upgrade to

RE : Ojdbc Dependency Issue

2008-03-11 Thread Deneux, Christophe
Use com.oracle:ojdbc14:RDBMS-version instead of ojdbc:ojdbc:14 because ojdbc14 is different according to your Oracke RDBMS version ___ Christophe DENEUX / Capgemini Sud / Méditerranée Technical Leader Tel: + 33 4 93 95

RE: Release process

2008-03-11 Thread Luca Tagliani
To be more precise I will describe more in detail. I have some resources located on the filesystem of my PC that isn't inside my scm, because they are platform dependent (i.e.: configuratoin files for db connection). When I release the project these resources should be copied into the released

Using Junit4 with Maven

2008-03-11 Thread Nitin Agrawal
Dear Sir/Madam, We would like to use JUnit4 in our projects, and we were already using Maven 2.0.9. Currently we are using JUnit 3.8.1. Is there a way that we can start using JUnit4 with the release version on Maven. We would not like to go with the snapshot version. But, kindly let me know if

Re: Using Junit4 with Maven

2008-03-11 Thread ben short
I use JUnit 4.4 with Maven 2.0.8 and havent had any problems. Just change the JUnit version in your pom. Regards Ben On Tue, Mar 11, 2008 at 2:47 AM, Nitin Agrawal [EMAIL PROTECTED] wrote: Dear Sir/Madam, We would like to use JUnit4 in our projects, and we were already using Maven 2.0.9.

Re: problems downloading variants of an artifact

2008-03-11 Thread Jeff MAURY
You must specify the classifier in your dependency (jdk14 or jdk15). Jeff MAURY On Tue, Mar 11, 2008 at 10:28 AM, David Delbecq [EMAIL PROTECTED] wrote: Hello, If you look at http://repo1.maven.org/maven2/fop/fop/0.93/ You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.

Re: problems downloading variants of an artifact

2008-03-11 Thread [EMAIL PROTECTED]
David Delbecq schrieb: Hello, If you look at http://repo1.maven.org/maven2/fop/fop/0.93/ You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14. How do i tell maven that there is such variation? use classifierjdk15/classifier in the dependency declaration. Regards, Simon

RE: Using Junit4 with Maven

2008-03-11 Thread Adrian Shum
As I remembered, apart from having Junit dependecy being 4.x, you should also make sure the Surefire plugin is at least 2.3. Older version of surefire plugin seems unable to kick off junit4 test cases Adrian -Original Message- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday,

problems downloading variants of an artifact

2008-03-11 Thread David Delbecq
Hello, If you look at http://repo1.maven.org/maven2/fop/fop/0.93/ You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14. How do i tell maven that there is such variation? Using: dependency groupIdfop/groupId artifactIdfop/artifactId version0.93-jdk14/version

Re: Build blocked

2008-03-11 Thread Emmanuel Venisse
What is difficult??? On Mon, Mar 10, 2008 at 6:51 PM, Nicolas Loison [EMAIL PROTECTED] wrote: Ouc, It's too much difficult 2008/3/10, Emmanuel Venisse [EMAIL PROTECTED]: You can't except if you start a derby server plugged to your db. Emmanuel On Mon, Mar 10, 2008 at

Re: Bug within Maven ANT Tasks?

2008-03-11 Thread Matthew Tordoff
Hi Herve, Thanks for this response. I have replaced my old maven-ant-tasks-2.0.8.jar with the one you pointed me to. The substitution of the property works fine now, however, it keeps giving me a 401 error (access denied). I am specifying my authentication details (username and password)

Re: Build blocked

2008-03-11 Thread Nicolas Loison
Finally with your explication, it's very simply. I work on... Thanks 2008/3/11, Emmanuel Venisse [EMAIL PROTECTED]: if you don't want, you must connect to your db locally. A derby db is a directory so you can copy it on your computer, modify it, then copy back it to the server. On Tue,

How to reference a collection of properties

2008-03-11 Thread Dooing
I would like to REUSE elements defined in my Parent POM. For example, I defined all developers of the company, writing down the first and last name, email adress and company name of each developer. Now, for each individual project, I would like to use the id of a developer as a reference to

repository for snapshot plugins

2008-03-11 Thread ldelaforge
Hi all, I am trying to make Archiva be able to download the dashboard report plugin. In my pom.xml : plugin groupIdorg.codehaus.mojo/groupId artifactIddashboard-maven-plugin/artifactId version1.0-SNAPSHOT/version /plugin Because this plugin is in codehaus snapshot, I added

Re: Build blocked

2008-03-11 Thread Emmanuel Venisse
if you don't want, you must connect to your db locally. A derby db is a directory so you can copy it on your computer, modify it, then copy back it to the server. On Tue, Mar 11, 2008 at 11:00 AM, Nicolas Loison [EMAIL PROTECTED] wrote: starting a derby server plugged to my db.

Re: how to use buildnumber-maven-plugin

2008-03-11 Thread Rex Huang
how can I use both buildNumber and timestamp? but I had just set the buildNumber as below: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuildnumber-maven-plugin/artifactId executions execution phasevalidate/phase

RE: how to use buildnumber-maven-plugin

2008-03-11 Thread nicklist
I don't know for certain if this is gonna work, but you can give it a try: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuildnumber-maven-plugin/artifactId executions execution idgenerate-buildnumber/id

Re: problems downloading variants of an artifact

2008-03-11 Thread David Delbecq
En l'instant précis du 11/03/08 10:43, [EMAIL PROTECTED] s'exprimait en ces termes: David Delbecq schrieb: Hello, If you look at http://repo1.maven.org/maven2/fop/fop/0.93/ You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14. How do i tell maven that there is such

Re: is there a POM Java API?

2008-03-11 Thread konkere
well org.apache.maven.model.io.xpp3 does all the stuff, but now i experience that the pom.xml it generates using a Model object constructed by myself is just empty o.O. are there any requirements on that? -- View this message in context:

scm plugin

2008-03-11 Thread Dooing
Hi, desperately, I am trying to integrate a subversion connection into maven 2.08. I read: http://maven.apache.org/scm/plugins/usage.html Then I added to my parent pom: developerConnection scm:svn:https://MYSECRET_INTERNAL_IP:443//THE_MAIN_PROJECT/TRUNK/MY_SUB_PROJECT /developerConnection

RE: Maven / Repository / SVN

2008-03-11 Thread John Coleman
-Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 10 March 2008 23:00 To: Maven Users List Subject: Maven / Repository / SVN 8 the problem is that people here want to store artifact / external libraries in svn rather than in an internal repository These

excluding files from jar doesn't work completely well - maven-jar-plugin 2.2

2008-03-11 Thread Patrizio Munzi
Hi All, I'm trying to exclude some files from the built jar by using the maven-jar-plugin exclude feature. Here's my configuration: excludes exclude**/*.properties/exclude exclude**/*.xml/exclude exclude**/*.xsd/exclude /excludes Although all the specified files are actually excluded

Please help - Injecting a custom plugin parameter

2008-03-11 Thread carioca
Hi, I have a problem which seems to be easy to resolve but I have difficulties with it. I am developing a custom plugin that contains a Mojo that doesn't requires a project. The Mojo is invoked from an empty working directory. What the Mojo does is get a parameter defined in the plugin's POM

Re: how to use buildnumber-maven-plugin

2008-03-11 Thread Rex Huang
Thank you for your suggestion, but it seems not working correcttly for the bug of this plugin. the results as below: [buildnumber:create {execution: generate-buildnumber}] Storing buildNumber: 16 at timestamp: 1205242293453 [buildnumber:create {execution: generate-timestamp}] Storing

Re: excluding files from jar doesn't work completely well - maven-jar-plugin 2.2

2008-03-11 Thread Olivier Lamy
Post an issue in jira. And attach a simple project test case to reproduce the issue. Thanks, -- Olivier 2008/3/11, Patrizio Munzi [EMAIL PROTECTED]: Hi All, I'm trying to exclude some files from the built jar by using the maven-jar-plugin exclude feature. Here's my configuration:

Re: Maven / Repository / SVN

2008-03-11 Thread [EMAIL PROTECTED]
John Coleman schrieb: the problem is that people here want to store artifact / external libraries in svn rather than in an internal repository These people have some bad thinking. There is simply no point putting guaranteed static objects into VCS, which is all about tracking changes.

Pure dependency project

2008-03-11 Thread Steve Chernyak
I have a multi module project that I would like to declare as a dependency of another project. -Project 1: --Module A --Module B -Project 2 Modules A and B do not depend on each other. However, I would like project 2 to depend on both modules. Is there a way to create Module C in Project 1 whose

Re: excluding files from jar doesn't work completely well - maven-jar-plugin 2.2

2008-03-11 Thread Patrizio Munzi
Thanks for your answer, so is it a real problem...? Thanks Olivier Lamy wrote: Post an issue in jira. And attach a simple project test case to reproduce the issue. Thanks, -- Olivier 2008/3/11, Patrizio Munzi [EMAIL PROTECTED]: Hi All, I'm trying to exclude some files from the built

Re: Maven / Repository / SVN

2008-03-11 Thread Stephen Connolly
I know Kohsuke @ sun has a wagon that deploys to a svn server (as they run the sun maven2 repository off a svn repository) The advantage to storing a maven2 repository in svn is that mirroring becomes low on bandwidth, as svn update will only pull the changes since the last update where as rsync

Re: excluding files from jar doesn't work completely well - maven-jar-plugin 2.2

2008-03-11 Thread [EMAIL PROTECTED]
It doesn't surprise me too much that the maven-jar-plugin still creates empty directories even when all files that were in that directory have been excluded. I haven't checked myself, but it sounds like a situation that the plugin author could easily have overlooked. But it doesn't cause any

Re: Maven / Repository / SVN

2008-03-11 Thread Graham Leggett
[EMAIL PROTECTED] wrote: For example, the jspwiki project currently under apache incubation stores its dependencies in the version-control system and will not change. And they are not stupid people; it is just the way they like to work. The core problem is one of disk space - storing

maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread thebugslayer
Hello, Does anyone know why the earlier version of plugin works, but the latest failed? SUCESS: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \

[JRX] Problem with comments open and closed on the same line

2008-03-11 Thread Cyriaque Dupoirieux
Hi, I think there is a problem when a java line starts with a comment which opens and closes : /* comments */java statement... ; The following java statement appears in green just like the comment... Salutations, Cyriaque, I

Re: excluding files from jar doesn't work completely well - maven-jar-plugin 2.2

2008-03-11 Thread Patrizio Munzi
Yes, you're right. Not a so heavy issue. Just a correctness remark. I've already filed a jira issue for it with simple project test case. Regards, Patrizio [EMAIL PROTECTED] wrote: It doesn't surprise me too much that the maven-jar-plugin still creates empty directories even when all

Re: scm plugin

2008-03-11 Thread Martin Höller
On Tuesday 11 March 2008 [EMAIL PROTECTED] wrote: Then I added to my parent pom: developerConnection scm:svn:https://MYSECRET_INTERNAL_IP:443//THE_MAIN_PROJECT/TRUNK/MY_SUB_PROJECT /developerConnection [...] Did you miss the repository part in your URL? Andy why do you have two slashes?

RE: Release process

2008-03-11 Thread Brian E. Fox
If these resources are one of these: resources − resource filteringfalse/filtering directory${basedir}/conf/directory /resource − resource filteringfalse/filtering directory${basedir}/src/main/resources/directory /resource /resources Then you have a problem. Basedir is the folder

RE: Please help - Injecting a custom plugin parameter

2008-03-11 Thread Brian E. Fox
The plugin properties are injected at runtime from the project they run on. The properties defined in the plugin's pom are used to build the plugin not run it. You could do this, just in a different way. Make a property file in your plugin project and filter the value into it. Then when your

Re: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Wendy Smoak
On Tue, Mar 11, 2008 at 7:48 AM, thebugslayer [EMAIL PROTECTED] wrote: Does anyone know why the earlier version of plugin works, but the latest failed? Not without seeing some of the build output. Is it able to find the archetype (is -DremoteRepositories working?) Is it some other problem?

Re: Using Junit4 with Maven

2008-03-11 Thread Wayne Fay
Unrelated to the thread, but I had to comment... Nitin, I think including your full address, cell phone number, and personal plus work email is probably a bad idea when it comes to emailing this list. These emails are archived and indexed by multiple servers including Google, Nabble, Apache,

RE: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Brian E. Fox
Alpha-2 restored backwards compatibility so we need to see the logs to assist. -Original Message- From: thebugslayer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 10:49 AM To: Maven Users List Subject: maven-archetype-plugin 2.0-alpha-2 failed Hello, Does anyone know why the

Re: scm plugin

2008-03-11 Thread Dooing
Yeah, I found the two slashes too, and already removed them, but this didn't improve it either. Also, I've already tried ALL scm goals I found on the scm maven site, including scm:list, but it never worked. Currently I am at home so I can't provide you the exact error message untill tomorrow

Re: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Zemian Deng
The command I stated doesn't require any project setup. You should able to just run it on your terminal and you get error. On my Mac10.5, I get this: ~ thebugslayer$ mvn org.apache.maven.plugins:maven-archetype-plugin: 2.0-alpha-2:create - DarchetypeGroupId=net.liftweb

Re: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Zemian Deng
here is more logging using -X option if you needed + Error stacktraces are turned on. Maven version: 2.0.8 Java version: 1.5.0_13 OS name: mac os x version: 10.5.2 arch: i386 Family: unix [DEBUG] Building Maven user-level plugin registry from: '/Users/ thebugslayer/.m2/plugin-registry.xml'

Re: Maven / Repository / SVN

2008-03-11 Thread Stephen Connolly
On Tue, Mar 11, 2008 at 2:29 PM, Graham Leggett [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: For example, the jspwiki project currently under apache incubation stores its dependencies in the version-control system and will not change. And they are not stupid people; it is just the

Re: Maven / Repository / SVN

2008-03-11 Thread deckrider
The reason I'm getting my team to switch to maven2 is beacuse it makes life easier to do it the 'right way' and more difficult (if not impossible) to do it the 'wrong way'. But alas, when all one knows is a source code management tool, every build artifact looks like source code. Keep patience

How to create intermediate directories?

2008-03-11 Thread David C. Hicks
I need to create an intermediate directory under target. The only method I've seen, so far, to do this is using the antrun plugin. Is that the accepted method, or is there something more Maven-like? (Seems to me that using Ant to accomplish these things is rather ironic.)

Re: How to create intermediate directories?

2008-03-11 Thread Wayne Fay
If you want to be really Maven-ish, build a plugin. Other than that, the Antrun plugin is perfectly acceptable. Wayne On 3/11/08, David C. Hicks [EMAIL PROTECTED] wrote: I need to create an intermediate directory under target. The only method I've seen, so far, to do this is using the antrun

RE: How to create intermediate directories?

2008-03-11 Thread Brian E. Fox
Usually plugins will create the folder when they have something to put there. Why do you want a random empty folder in target? -Original Message- From: David C. Hicks [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 1:20 PM To: users@maven.apache.org Subject: How to create

Re: Maven / Repository / SVN

2008-03-11 Thread Graham Leggett
Stephen Connolly wrote: But then you would be breaking the old builds and bye-bye reproducibility! I was referring to local repositories, not the central ones. With snapshots, plus assemblies, ears and Eclipse product archives a local repository fills up very quickly. When diskspace is a

Maven Install Plugin Overwrites Custom Artifact Names

2008-03-11 Thread David Williams
Hi Everyone, I got a quick question. Is it by design that the install plugin overwrite a custom build finalName and installed the artifact with the name listed in the artifactId tag? Thanks, David

Re: Pure dependency project

2008-03-11 Thread simon
On Tue, 2008-03-11 at 09:59 -0400, Steve Chernyak wrote: I have a multi module project that I would like to declare as a dependency of another project. -Project 1: --Module A --Module B -Project 2 Modules A and B do not depend on each other. However, I would like project 2 to depend

problem with multi profiles activation

2008-03-11 Thread Yann Davin
Hi all, I've a strange problem when I try to activate more than one profile simultaneously, maven seems to activate only the last one. For example, I've two profiles one named ant-archive, and one other named ant-common-archive. If I type mvn -Pant-archive package or mvn -Pant-common-archive

RE: problem with multi profiles activation

2008-03-11 Thread nicklist
Perhaps they overwrite each other (the inside of the profiles). What's inside the profiles. If for example, you have two ant-run plugins, without id's I think it will go wrong. With regards, Nick S. -Original Message- From: Yann Davin [mailto:[EMAIL PROTECTED] Sent: Tue 3/11/2008

Re: How to create intermediate directories?

2008-03-11 Thread David C. Hicks
I now know that I was seeing the wrong error in my build. I thought I could use targetPath in the resource tag to direct the output to a different place than target/classes, but that doesn't appear to be the case. I need to filter some Jasper report sources prior to pre-compile, but I don't

injecting pom elements from multiple parents

2008-03-11 Thread Russ Tremain
I have an interesting situation where we have one test project that wants its parent to be an external project pom. I don't want that, because it means I can't have it inherit from a common parent we have described locally. I.e. let X be the external pom, L be the local parent, and T be the

Re: scm plugin

2008-03-11 Thread Dooing
At home, I tried the same (with a not existing svn url somerepository.com) and I got: [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] The command svn is either mispelled or could not be found (translated from german) So trying the scm command with a not

Re: scm plugin

2008-03-11 Thread Wayne Fay
That error means that svn is not installed on your home machine. Type svn at a command prompt. If it doesn't work, Maven can't help you. Wayne On 3/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: At home, I tried the same (with a not existing svn url somerepository.com) and I got: [ERROR]

Re: [JRX] Problem with comments open and closed on the same line

2008-03-11 Thread Dennis Lundberg
Can you explain more what the problem is. What do you see and what did you expect to see? Cyriaque Dupoirieux wrote: Hi, I think there is a problem when a java line starts with a comment which opens and closes : /* comments */java statement... ; The following java statement

RE: Maven Install Plugin Overwrites Custom Artifact Names

2008-03-11 Thread Brian E. Fox
Yes, the name format must be known in order for files to be found in the repository. -Original Message- From: David Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 1:44 PM To: Maven Users List Subject: Maven Install Plugin Overwrites Custom Artifact Names Hi Everyone,

How to exclude all test classes from jar?

2008-03-11 Thread Chris
I'd like to exclude all classes in the /test directory from the target jar file. The following does NOT work: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration excludes

Substitute One Plugin for Another?

2008-03-11 Thread SingleShot
I am writing a custom Maven plugin that wraps a code generation tool (BEA's Java Web Service Compiler for Weblogic Server). The tool takes in java source files and generates java class files (i.e. it is a compiler). The class files are different from what the normal Java compiler generates. I

Re: How to exclude all test classes from jar?

2008-03-11 Thread Russ Tremain
not quite sure I understand, are you saying you have test files in your buildsourceDirectory that you want to exclude? if so, then the convention is to exclude them in the buildresources.. section. classes in buildtestSourceDirectory are by default excluded from the final jar. At 2:30 PM

Re: Substitute One Plugin for Another?

2008-03-11 Thread Scott Ryan
You could try to use an include and exclude policy for both plugins based on some pattern. You could also try a lifecycle approach and sort the lifecycle steps properly.Also we are adding that capability to the Weblogic plugin at codehaus but just trying to get it checked in and into the

Re: [JRX] Problem with comments open and closed on the same line

2008-03-11 Thread Lukas Theussl
I verified the problem and created an issue: http://jira.codehaus.org/browse/JXR-58 feel free to comment... -Lukas Dennis Lundberg wrote: Can you explain more what the problem is. What do you see and what did you expect to see? Cyriaque Dupoirieux wrote: Hi, I think there is a

Re: injecting pom elements from multiple parents

2008-03-11 Thread simon
On Tue, 2008-03-11 at 12:15 -0700, Russ Tremain wrote: I have an interesting situation where we have one test project that wants its parent to be an external project pom. I don't want that, because it means I can't have it inherit from a common parent we have described locally. I.e. let

Re: scm plugin

2008-03-11 Thread Dooing
That error means that svn is not installed on your home machine. Of course, svn isn't installed on my pc - I just got a svn client - tortoise ( http://tortoisesvn.tigris.org/) to connect to a svn server. Isn't that what scm is used for?! Why would anyone install a svn server on a developer pc?!

Re: How to exclude all test classes from jar?

2008-03-11 Thread Chris
I see the problem. Eclipse was mistakenly putting all of my test classes into /target/classes instead of /target/test-classes. Must fix the Eclipse project. Russ Tremain wrote: not quite sure I understand, are you saying you have test files in your buildsourceDirectory that you want to

Re: scm plugin

2008-03-11 Thread Wayne Fay
I never said that you were literally running an SVN server on your PC. Why would you make that assumption? I simply said that the svn binary is not available in your path. Fix that problem. Wayne On 3/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: That error means that svn is not installed

Re: scm plugin

2008-03-11 Thread Nick Stolwijk
Subversion is the default client (svn), the default server(svnserve) and the default tools (svnadmin, svnlook) in one package. There is no server edition. (Or maybe the apache mod could be called the server edition. So subversion is your client. Tortoise is just a GUI, with the svn libraries

Re: scm plugin

2008-03-11 Thread Ken Liu
Maven scm does not implement the svn client software, it calls the command-line svn executable instead. You will need to install the command line client available at http://subversion.tigris.org, and have it available in the path. Ken On 3/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: injecting pom elements from multiple parents

2008-03-11 Thread Russ Tremain
At 9:10 PM +0100 3/11/08, simon wrote: It's rather odd to want to inherit anything except (transient) dependencies from an external pom. I agree - it is an odd case as well as an interesting one. :) Normally, you don't want an external pom to dictate how *your* project is built, or what

RE: How to exclude all test classes from jar?

2008-03-11 Thread Brian E. Fox
/target/test-classes are not included in the jar by default. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sent: Tuesday, March 11, 2008 3:30 PM To: users@maven.apache.org Subject: How to exclude all test classes from jar? I'd like to exclude all classes in

RE: Release process

2008-03-11 Thread Luca Tagliani
I was suspecting something like that I will try your suggestion tomorrow at work. Thanks Luca Brian E Fox wrote: If these resources are one of these: resources − resource filteringfalse/filtering directory${basedir}/conf/directory /resource − resource

Re: injecting pom elements from multiple parents

2008-03-11 Thread simon
On Tue, 2008-03-11 at 13:52 -0700, Russ Tremain wrote: At 9:10 PM +0100 3/11/08, simon wrote: It's rather odd to want to inherit anything except (transient) dependencies from an external pom. I agree - it is an odd case as well as an interesting one. :) Normally, you don't want an

[ANN] m2eclipse 0.9.0 Released

2008-03-11 Thread Jason van Zyl
Hi, Eugene, and crew have made huge strides with the release of the m2eclipse 0.9.0. You can find Eugene's blog entry about it here: http://www.jroller.com/eu/entry/m2eclipse_0_9_0 Among the very cool features - Integration with Archetype 2.x - Full integration with Remote Maven

maven2 jira plugin?

2008-03-11 Thread Ken Liu
Hi all - I am looking for a plugin that can query a jira repository and produce a report. I found an existing plugin, but that appears to be for maven 1. Anyone know of a plugin that is compatible with maven2? Ken

Re: injecting pom elements from multiple parents

2008-03-11 Thread Russ Tremain
At 10:37 PM +0100 3/11/08, simon wrote: On Tue, 2008-03-11 at 13:52 -0700, Russ Tremain wrote: At 9:10 PM +0100 3/11/08, simon wrote: It's rather odd to want to inherit anything except (transient) dependencies from an external pom. I agree - it is an odd case as well as an interesting one.

Deploy to multiple oc4j instances

2008-03-11 Thread Chris Russell
Hello, I've had good success deploying my application to a single oc4j instance using 'mvn install'. Now I have two instances to deploy to and I'm wondering how to do this. Initially I tried to add another tasks entry in that pom file. !-- this is the original task that is

Re: maven2 jira plugin?

2008-03-11 Thread Dennis Lundberg
Ken Liu wrote: Hi all - I am looking for a plugin that can query a jira repository and produce a report. I found an existing plugin, but that appears to be for maven 1. Anyone know of a plugin that is compatible with maven2? Ken Have a look at maven-changes-plugin

Re: Deploy to multiple oc4j instances - solved

2008-03-11 Thread Chris Russell
Ignore the first post. The issue was actually with the use of admin_client.jar and I understand the port numbers that I need to use now. BTW, for those who need it, I got the port numbers from Oracle Enterprise Manager and clicking on the Runtime Ports link. Now thats cleared up, I see me

RE: [ANN] m2eclipse 0.9.0 Released

2008-03-11 Thread Brian E. Fox
Nice! I stumbled on the ability to use external installations, including 2.0.x. This is awesome since 2.1-SNAPSHOT isn't quite ready for primetime. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 6:16 PM To: Maven Users List Subject: [ANN]

How to run a script from a pom.xml file?

2008-03-11 Thread Tawfik, Sameh E
How to run a perl or batch file at the beginning of the build? Is there is a command or a plugin I can use to run an external process then come back to the build when this process is complete? I'm using: Maven version: 2.0.7 Java version: 1.6.0_02-ea OS name: windows xp version: 5.1 arch: x86

Re: How to run a script from a pom.xml file?

2008-03-11 Thread Olivier Dehon
Look for the exec plugin. -Olivier On Tue, 2008-03-11 at 19:45 -0500, Tawfik, Sameh E wrote: How to run a perl or batch file at the beginning of the build? Is there is a command or a plugin I can use to run an external process then come back to the build when this process is complete?

src/it with maven-assembly-plugin 1.0?

2008-03-11 Thread Wendy Smoak
How soon they forget.. Is it possible to create an archetype that contains a src/it directory with the old (1.0-alpha-7) archetype plugin? Looking at this page, I don't see how. http://maven.apache.org/plugins/maven-archetype-plugin-1.0-alpha-7/examples/archetype.html I'm trying to create an

Filtering Javadoc overview.html and package.html

2008-03-11 Thread Andrew Hughes
Hello All, I am trying to filter the overview.html and package.html javadoc resources. Specifically, it is worthwhile inserting the ${project.description} and ${ project.version} and maybe even some other information like the SCM, Issue Tracking, information within the Javadocs. I have selected

Re: Pure dependency project

2008-03-11 Thread Steve Chernyak
Thank you. On Tue, Mar 11, 2008 at 1:54 PM, simon [EMAIL PROTECTED] wrote: On Tue, 2008-03-11 at 09:59 -0400, Steve Chernyak wrote: I have a multi module project that I would like to declare as a dependency of another project. -Project 1: --Module A --Module B -Project 2

Re: How to run a script from a pom.xml file?

2008-03-11 Thread Wayne Fay
Alternatively, if you're on Windows, you can add a file mavenrc_pre.bat and mavenrc_post.bat to your user home directory and Maven will run them before/after running the Maven build process. But this runs for all builds (not just a specific project) and requires that you distribute these

Re: Plugins repository

2008-03-11 Thread ldelaforge
Do you have some mirror settings in settings.xml? Yes I added a mirror too : mirror idarchiva.default/id urlhttp://localhost:8080/archiva/repository/internal//url mirrorOf*/mirrorOf /mirror Adding a repository such as this in Maven will have it use both 'central' and

How to copy artifacts (and dependencies) from archiva to execution environment?

2008-03-11 Thread kroe
What is the best way to consume the artifacts that are deployed to archiva? If the artifact is a WAR or EAR with all the dependencies bundled in then downloading it with a browser and FTPing the artifact to the execution environment is easy enough. If the artifact is a JAR this is more

Suppress Warnings

2008-03-11 Thread James Clinton
Is it possible to suppress warnings like the following? [WARNING] Entry: Project-1.3- SomeFile.java longer than 100 characters. AFAIK these are produced by the assembler plug-in right?

Re: Suppress Warnings

2008-03-11 Thread Emmanuel Venisse
Yes, you get this message generally when you create a tar archive. You get a similar message if you use the tar command line. Emmanuel On Tue, Mar 11, 2008 at 8:33 AM, James Clinton [EMAIL PROTECTED] wrote: Is it possible to suppress warnings like the following? [WARNING] Entry: Project-1.3-

Re: Build blocked

2008-03-11 Thread Nicolas Loison
starting a derby server plugged to my db. 2008/3/11, Emmanuel Venisse [EMAIL PROTECTED]: What is difficult??? On Mon, Mar 10, 2008 at 6:51 PM, Nicolas Loison [EMAIL PROTECTED] wrote: Ouc, It's too much difficult 2008/3/10, Emmanuel Venisse [EMAIL PROTECTED]: