Re: Build Failes For 521799

2007-03-23 Thread Pratik Parikh
could you please post when you are done with fixing it. Regards, Pratik Emmanuel Venisse wrote: Yes, it doesn't build today. We're working on it. Emmanuel Pratik Parikh a écrit : Hi Everyone, I am having hard time getting a build for archiva today. I am using maven 2.0.5 and

Re: Build Failes For 521799

2007-03-23 Thread Emmanuel Venisse
Fixed. Emmanuel Pratik Parikh a écrit : could you please post when you are done with fixing it. Regards, Pratik Emmanuel Venisse wrote: Yes, it doesn't build today. We're working on it. Emmanuel Pratik Parikh a écrit : Hi Everyone, I am having hard time getting a build for archiva

Re: Build Failes For 521799

2007-03-23 Thread Pratik Parikh
No it is not i am still having problem getting a successful build! Attached is the new http://www.nabble.com/file/7377/text.txt text.txt for mvn install on root director of archiva. Pratik Emmanuel Venisse wrote: Fixed. Emmanuel Pratik Parikh a écrit : could you please post when you

Re: Create new Java process

2007-03-23 Thread Kaare Nilsen
On Mar 23, 2007, at 5:32 AM, Kevin Menard wrote: Is there a maven analog to ant's org.apache.tools.ant.taskdefs.Java, which is used to easily spawn new java processes? I realize ProcessBuilder could be used, but it can be a little terse for this fairly common case. I guess the exec plugin

RE: Snapshots being packaged with datestamps instead of SNAPSHOT.

2007-03-23 Thread Reinhard Nägele
I've seen this problem too a while ago. This is indeed very strange. It looks like a bug to me. We do not package snapshots, so it does not concern me at the moment, but I'm still curious to see an answer here. Reinhard -Original Message- From: Tim Cederman [mailto:[EMAIL PROTECTED]

problem with mirrors

2007-03-23 Thread kozakp
Hi I've got a problem with mirrors I've placed two mirrors in my settings.xml ?xml version=1.0 encoding=UTF-8? settings proxies proxy activetrue/active protocolhttp/protocol host212.126.11.10/host port8080/port

Re: problem with mirrors

2007-03-23 Thread Wayne Fay
Right now, lists of mirrors which all override central do not work. Only one will be picked and used. I'm reasonably certain this is already filed in JIRA as a possible future enhancement. Wayne On 23 Mar 2007 09:29:06 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I've got a problem

(big) Problems using assembly plugin to create executable jar

2007-03-23 Thread Pierre-Yves Saumont
Hi, I am trying to use maven2 assembly plug-in. It seems to be completely broken: - First, a small problem: the standard assembly descriptor is not usable because of it very strange name. If the app is called myapp, the resulting jar will be called myapp-jar-with-dependencies.jar. It seems

RE: Snapshots being packaged with datestamps instead of SNAPSHOT.

2007-03-23 Thread Jörg Schaible
Hi Tim, Tim Cederman wrote on Wednesday, March 21, 2007 8:45 PM: Hi, I'm having a pretty weird problem with Maven at the moment. When I run mvn package on a project, it collects all the correct and most recent jar files for me in the lib directory, however in the zip file instead of

Problem with maven-ear-plugin

2007-03-23 Thread Boris Valkov
Hi, I have problem with maven-ear-plugin, I want only the EJB and the WEB project to be placed at the root of my ear archive and all other dependent libraries to be placed to lib folder in the same archive. I use defaultJavaBundleDirlib/defaultJavaBundleDir and all dependencies are placed to

Re: Snapshots being packaged with datestamps instead of SNAPSHOT.

2007-03-23 Thread Joern Huxhorn
Jörg Schaible wrote: Hi Tim, Tim Cederman wrote on Wednesday, March 21, 2007 8:45 PM: Hi, I'm having a pretty weird problem with Maven at the moment. When I run mvn package on a project, it collects all the correct and most recent jar files for me in the lib directory, however in the zip

RE: Snapshots being packaged with datestamps instead of SNAPSHOT.

2007-03-23 Thread Reinhard Nägele
Thanks for the hint. However, this should not justify the problem. No matter, whether I set this to true or false, the classpath in a manifest should be set accordingly. Reinhard -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Freitag, 23. März 2007 09:42 To:

Re: (big) Problems using assembly plugin to create executable jar

2007-03-23 Thread Thorsten Heit
Hi, - Even worst if possible, the plugin creates broken manifest. The lines are cut after 70 characters, in the middle of a jar name. This makes the addClasspathtrue/addClasspath option completely useless. I though I could use

[M2] maven-deploy-plugin: is it possibly to deploy sources?

2007-03-23 Thread CodingPlayer
Hi, i just want to deploy a 3rd party jar file to my remote repository, and wonder if it is possible to deploy the source.jar as well? i couldn't find any parameter/switch doing this. mvn deploy:deploy-file -Dfile=3rdparty.jar -DgroupId=com.3rdparty.app -DartifactId=3rdparty

Re: [M2] maven-deploy-plugin: is it possibly to deploy sources?

2007-03-23 Thread Valerio Schiavoni
try adding -Dclassifier=sources -Dfile=3rdparty-src.jar On 3/23/07, CodingPlayer [EMAIL PROTECTED] wrote: Hi, i just want to deploy a 3rd party jar file to my remote repository, and wonder if it is possible to deploy the source.jar as well? i couldn't find any parameter/switch doing this.

Re: [M2] maven-deploy-plugin: is it possibly to deploy sources?

2007-03-23 Thread CodingPlayer
Hi, i just found a solution to this: simply add -Dclassifier=sources, that's it. mvn deploy:deploy-file -Dfile=3rdparty-sources.jar -DgroupId=com.3rdparty.app -DartifactId=3rdparty -Dversion=1.1 -Dpackaging=jar -DrepositoryId=myremote-repository

Re: [M2] maven-deploy-plugin: is it possibly to deploy sources?

2007-03-23 Thread CodingPlayer
thx, i just found out the same^^ R.C. Valerio Schiavoni wrote: try adding -Dclassifier=sources -Dfile=3rdparty-src.jar On 3/23/07, CodingPlayer [EMAIL PROTECTED] wrote: Hi, i just want to deploy a 3rd party jar file to my remote repository, and wonder if it is possible to deploy the

Re: maven-changes-plugin 2.0-beta-2

2007-03-23 Thread Adam Hardy
I'm sorry, I saw those when I first started looking, couldn't see how to incorporate them in the pom.xml, went off looking for examples and all I ended up with was the issueManagement node I mentioned. Forgot about these ones. I'll see if I can work out what the xml should look like.

Maven2 jelly Script

2007-03-23 Thread Christian Clauss
Hi everybody, I wondered if it's possible to use the old Maven1 Jelly-Scripts in Maven2. Is this possible? Thanks for your help. Christian

Problem with version range

2007-03-23 Thread Alexey Kakunin
Hello! Today I've meet the problem with build. Trying to build our application I've got error: No versions are present in the repository for the artifact with a range [2.1 ,) commons-collections:commons-collections:jar:null After looking into user dependencies, I found that we are using

Re: Include source files in jar

2007-03-23 Thread Giuseppe Greco
I also need something similar... I want to create a package that constains the source code of all the project modules j3d. Hello, I want to pack jar archive, but I need the *.java classes also included into this jar. I need this, because I want other people that use my jar project to see

Re: Maven2 jelly Script

2007-03-23 Thread Eric Redmond
The question is - is it desirable? :) There is a little support for it ( https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/jelly-maven-tools/jellyapi-maven-plugin/). I've never used it - but it might be worth a shot. Eric On 3/23/07, Christian Clauss [EMAIL PROTECTED] wrote: Hi

Re: Problem with remote resources plugin

2007-03-23 Thread Daniel Kulp
Rob, On Thursday 22 March 2007 18:23, Duda, Rob wrote: I'm trying to create a remote resources bundle but not having any luck. I have attached the pom and currently there is only one file under src/main/resources, when I look into the remote-resources.xml after a package the file looks

Re: Include source files in jar

2007-03-23 Thread Eric Redmond
Read the assembly plugin doc. There is more than the assembly goal - try using the attached goal and bind it to your packaging phase in the pom (hint: project/build/plugins/plugin/executions/execution/phase). Eric On 3/23/07, Giuseppe Greco [EMAIL PROTECTED] wrote: I also need something

RE: Include source files in jar

2007-03-23 Thread Balasubramanian, Ravi Shankar
You can add the corresponding directory as a resource in your pom as follows: build !--Add sources to jar files-- resources resource directorysrc/main/resources/directory /resource

Re: Include source files in jar

2007-03-23 Thread Giuseppe Greco
Already tried... but I had to modify each module's POM and I got a source archive for each module. I just want an unique top level zip archive that includes the source code of all the modules. j3d. Read the assembly plugin doc. There is more than the assembly goal - try using the attached

Re: Include source files in jar

2007-03-23 Thread Boris Valkov
Yes I do something similar: build resources resource directorysrc/main/java/directory filteringfalse/filtering /resource resource directorysrc/main/resources/directory filteringtrue/filtering

where to put log4j.properties

2007-03-23 Thread Adam Hardy
I am running the 'mvn site' and one of the reports is not working. To get more info on the issue I'm trying to get logging working for it. Currently I see log4j complain like this: [INFO] Generate Jira Report report. log4j:WARN No appenders could be found for logger

Problem with Scope of Transitive Dependencies

2007-03-23 Thread Thomas R.
Hello, we are developing a very large project with a layered architecture. We decided to use Maven (Version 2.0.4) in order to have a good dependency-management. We are now facing the following problem with transitive dependencies: Consider following (simplified) example: We have a module DAO

Re: maven-changes-plugin 2.0-beta-2

2007-03-23 Thread Adam Hardy
Hi Dennis, unfortunately I can't report any success with this. I used the relevant configuration parameters and it seems I got them right, because the console logging shows that the plugin is attempting to open the correct URL - i.e. if I put the login URL into a browser, it logs in

RE: Snapshots being packaged with datestamps instead of SNAPSHOT.

2007-03-23 Thread Jörg Schaible
Joern Huxhorn wrote on Friday, March 23, 2007 10:40 AM: [snip] It's true that distributionManagement repository uniqueVersionfalse/uniqueVersion [..] /repository /distributionManagement is a workaround for the described problem. That's

[M2] Overview of common plugins?

2007-03-23 Thread CodingPlayer
Hi, i wonder if anyone has a nice list of useful common maven2 plugins? all i found is this outdated list: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix thx 4 help R.C. -- View this message in context:

RE: Include source files in jar

2007-03-23 Thread Jörg Schaible
Hi Boris, Boris Valkov wrote on Friday, March 23, 2007 12:54 PM: Hello, I want to pack jar archive, but I need the *.java classes also included into this jar. I need this, because I want other people that use my jar project to see the documentation of all methods ? Not with maven

RE: Problem with Scope of Transitive Dependencies

2007-03-23 Thread Peter Nilsson
Hello, Another solution is to accept the way the dependency mechanism works and use CheckStyle or similar to validate dependency model (import control check). We use the CheckStyle plugin to have the build fail if any checks with severity error are violated. One advantage is that it is possible

Re: Problem with Scope of Transitive Dependencies

2007-03-23 Thread Thorsten Heit
Hi Thomas, we are developing a very large project with a layered architecture. We decided to use Maven (Version 2.0.4) in order to have a good dependency-management. We are now facing the following problem with transitive dependencies: Sorry, but I don't understand what you want Maven to do

Re: [M2] Overview of common plugins?

2007-03-23 Thread Wendy Smoak
On 3/23/07, CodingPlayer [EMAIL PROTECTED] wrote: i wonder if anyone has a nice list of useful common maven2 plugins? all i found is this outdated list: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix There is a list here: http://maven.apache.org/plugins/ -- Wendy

Re: Include source files in jar

2007-03-23 Thread Eric Redmond
Do not do that. It's telling Maven that the source is a resource and to treat is as such. For example, if you chose to filter your resources, this will also filter all of your Java code - not really desirable. Stick to the Assembly plugin:

RE: M2 : Maven-changes-plugin : jira MCHANGES-42 fixed 2.0-beta2 ?

2007-03-23 Thread stefaan.desoete
Ok, my mistake, I was using mvn site:stage -DstagingDirectory=C:\fullsite to test the site. Apparently for this command the add,fix,update,... images are not copied to the site. I think this is a maven-site-plugin issue -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED]

Re: Include source files in jar

2007-03-23 Thread Eric Redmond
Or the source plugin. I tend to use assembly because it is more flexible - but source is straightforward enough: http://maven.apache.org/plugins/maven-source-plugin/ On 3/23/07, Eric Redmond [EMAIL PROTECTED] wrote: Do not do that. It's telling Maven that the source is a resource and to treat

RE: Problem with Scope of Transitive Dependencies

2007-03-23 Thread Jörg Schaible
Hi Thomas, first of all it is not necessary to send the same posting to two lists ... Thomas R. wrote on Friday, March 23, 2007 12:30 PM: Hello, we are developing a very large project with a layered architecture. We decided to use Maven (Version 2.0.4) in order to have a good

RE: Problem with Scope of Transitive Dependencies

2007-03-23 Thread Jörg Schaible
Jörg Schaible wrote on Friday, March 23, 2007 1:59 PM: [snip] We use a super POM that defines all used artifacts in a management section. A project will normal inherit it and redefine or add customer specific deps. You might add in your case to all deps a runtime scope, so everyone has to

RE: Include source files in jar

2007-03-23 Thread Giuseppe Greco
That works, but I haven't solved my problem... I get a separate source archive for each module, while I'd like an unique top-level source archive that contains the whole project - for instance, the source archive should be a 1:1 image of my local multi-module project. j3d. Hi Boris, Boris

RE: Problem with Scope of Transitive Dependencies

2007-03-23 Thread Brian E. Fox
Just be aware that the labels are reversed in alpha-3. When it says: [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO] Dependency: commons-lang:commons-lang:jar [INFO] DepMgt : 1.0 [INFO] Resolved: 2.3 [INFO] Dependency:

Various questions on trunk build 20070317.050000

2007-03-23 Thread David Roussel
Hi, I've installed continuum-20070317.05.war from: http://maven.zones.apache.org/~continuum/builds/trunk/continuum-20070317.05.tar.gz http://www.nabble.com/-continuum-build-trunk---SUCCESS---update--Sat-Mar-17-05%3A00%3A00-GMT-2007-tf3418114s177.html I've managed to install my multi

Re: (big) Problems using assembly plugin to create executable jar

2007-03-23 Thread Pierre-Yves Saumont
Thanks ! I knew that the lines could be broken, but I did not know that they could be broken in the middle of a jar name! So I thought this was one cause of my problem. In fact, it is not. The problem is with the assembly descriptors. But I think I will eventually find a solution know I know

Re: Include source files in jar

2007-03-23 Thread Wayne Fay
If you aren't happy with the results from m-source-p and m-assembly-plugin, I suggest this alternative. Assuming you are in your top-level directory... mvn clean cd .. tar -czvf myproject.tgz myproject/ Wayne On 3/23/07, Giuseppe Greco [EMAIL PROTECTED] wrote: That works, but I haven't solved

exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread jason r tibbetts
I've configured the exec plugin to launch a simple Swing app using the 'java' goal, not 'exec'. The app appears, but then immediately disappears. I understand that the app is running within Maven's VM, but I don't understand whether or how the various options can be used to keep the app alive

RE: exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread Barrett Nuzum
Jason: I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

assembly question

2007-03-23 Thread EJ Ciramella
Is it possible to do something like the following: plugins plugin artifactIdmaven-assembly-plugin/artifactId configuration descriptorsrc/main/assembly/dep.xml/descriptor /configuration executions

Using SNAPSHOT from local repository?

2007-03-23 Thread Dave Levitt
I'm trying to set up the configuration for a multi-module project, where most of the modules produce library jar files. When I mvn:install a project, maven reports on a successful upload [1.0-SNAPSHOT] to the repository in my home directory [default local repository]. A project, that lists that

Re: Include source files in jar

2007-03-23 Thread Eric Redmond
Oh, I see. Well, the assembly plugin has a pre-defined assembly named project (at least in the newest version). If you're using an older version create your own assembly like the following: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#project Eric On 3/23/07,

[M2] Checkstyle plugin

2007-03-23 Thread Rémy Sanlaville
Hi, I want to use the maven-checkstyle-plugin with a custom checker configuration xml file as : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.1/version configuration

Re: where to put log4j.properties

2007-03-23 Thread Eric Redmond
src/main/resources On 3/23/07, Adam Hardy [EMAIL PROTECTED] wrote: I am running the 'mvn site' and one of the reports is not working. To get more info on the issue I'm trying to get logging working for it. Currently I see log4j complain like this: [INFO] Generate Jira Report report.

Re: exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread jason r tibbetts
I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

Re: assembly question

2007-03-23 Thread Tommy Knowlton
I'm not positive, but I believe where you said phase you should say goal. I haven't tried this in a POM of my own, but I've been using the maven-assembly-plugin alot lately, and I think you've got it exactly right, modulo that one change. HTH -- Tommy On 3/23/07, EJ Ciramella [EMAIL PROTECTED]

maven-exec-plugin: Launching a main class in a module?

2007-03-23 Thread jason r tibbetts
Here's another maven-exec-plugin question: how can it be made to work in a multi-module project? Right now, I've added the exec plugin configuration to the pom.xml in my 'client' subproject, but that requires me to do mvn install mvn -f client/pom.xml exec:java every time, and the second

RE: assembly question

2007-03-23 Thread EJ Ciramella
Yeah, I've been trying this: plugin artifactIdmaven-assembly-plugin/artifactId executions execution idassembler-dir/id phaseassembly:directory/phase goals

continuum 1.0.3 org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider: 'https'

2007-03-23 Thread Alistair Young
Hi there, I'm using Continuum 1.0.3 on linux, Java version : 1.5.0_06(Sun Microsystems Inc.) my pom has this entry: scm connectionscm:svn:https://server.com:8493/svn/repo/test/trunk/ connection developerConnectionscm:svn:https://server.com:8493/svn/repo/test/ trunk/developerConnection

Re: How to use JunitEE in M2?

2007-03-23 Thread Pete
Jesse, If you have a look at this link http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies and then search for my comment see 'Posted by Pete at Feb 11, 2006 16:15 | Permalink' this was an approach I took and got JUnitEE working. cheers Pete On 20/03/07, JesseLiu

Re: Newby Questions...

2007-03-23 Thread Wayne Fay
I took a look at your zip file... Here's my feedback: 1. Put your i18n language files in: thermota-cli\src\main\resources\com\agamura\thermota Thermota.properties Thermota_de.properties Thermota_fr_CA.properties etc After adding these files, I was successfully able to test with multiple Locales

Build Failes For 521799

2007-03-23 Thread Pratik Parikh
Hi Everyone, I am having hard time getting a build for archiva today. I am using maven 2.0.5 and the 521799 checkout revision. I am attaching a output file of what happens when i run mvn install. Can someone please help me? Thanks, Pratik Parikh http://www.nabble.com/file/7373/text.txt

RE: Newby Questions...

2007-03-23 Thread Phill Moran
Here is the link to add main class to jar http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: March 23, 2007 12:25 PM To: Maven Users List Subject: Re: Newby Questions... I took a look at

Re: Build Failes For 521799

2007-03-23 Thread Emmanuel Venisse
Yes, it doesn't build today. We're working on it. Emmanuel Pratik Parikh a écrit : Hi Everyone, I am having hard time getting a build for archiva today. I am using maven 2.0.5 and the 521799 checkout revision. I am attaching a output file of what happens when i run mvn install. Can someone

Re: Newby Questions...

2007-03-23 Thread Wayne Fay
Normally I would agree with you... except that he's using Assembly plugin to build a jar-with-dependencies, which means the manifest.mf file ends up looking like: Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.) even if you configure the

Question about changelog-plugin

2007-03-23 Thread Roland Asmann
Hi, I thought the changelog-plugin might do some nice things for me, but I've got a feeling it's not doing exactly what it is supposed to do... So, my question would be: Am i right if I say that the plugin ONLY checks changes on projects that have java-sources? I wanted to use the plugin on a

RE: where to put log4j.properties

2007-03-23 Thread Phill Moran
src/main/resources or src/main/java/resources? Is there a standard placement for this. -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: March 23, 2007 11:48 AM To: Maven Users List Subject: Re: where to put log4j.properties src/main/resources On 3/23/07, Adam

Re: Various questions on trunk build 20070317.050000

2007-03-23 Thread Wendy Smoak
On 3/23/07, David Roussel [EMAIL PROTECTED] wrote: I've installed continuum-20070317.05.war ... I've found that displaying the my project group page can be pretty slow. There are 53 modules and one parent pom. Loading the page takes 31 seconds and 100% CPU usage. Everytime. I'm using

Re: where to put log4j.properties

2007-03-23 Thread Wayne Fay
As Eric stated, src/main/resources is the standard placement for this. Wayne On 3/23/07, Phill Moran [EMAIL PROTECTED] wrote: src/main/resources or src/main/java/resources? Is there a standard placement for this. -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent:

RE: where to put log4j.properties

2007-03-23 Thread Phill Moran
Huh, I had mine under src/test/resources as I saw this as a test requirement. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: March 23, 2007 2:45 PM To: Maven Users List Subject: Re: where to put log4j.properties As Eric stated, src/main/resources is the standard

Re: Snapshots being packaged with datestamps instead of SNAPSHOT.

2007-03-23 Thread kalebral
Using uniqueVersion=false only makes matters worse for us. When we do, the jar files which we are dependent upon are not downloaded to the local cache as they should be when a dependent jar file has been updated. These are some very serious bugs that are really hindering us. Has anyone found a

Re: Unit Test inheritance in a multi-pom project?

2007-03-23 Thread GreJ
Hi, I have the same problem and followed exactly the maven2 help. But it seems that Maven2 can't find the test-jar without the install. So the dependency ist not resolved. It works only with an install, and not with the 'package' command. Is it a bug ? [Sorry for the bad english, i need more

maven war overlay trigger dependent war rebuild

2007-03-23 Thread Qing Gao
Hi, I have two web projects, A and B. Since project B depends on project A, I use the maven war plugin to overlay the project B on project A when building project B. One problem I have is that every time I make a change in project A, I need to reinstall it into my local repository, if

Re: maven war overlay trigger dependent war rebuild

2007-03-23 Thread Qing Gao
I've found this, http://mail-archives.apache.org/mod_mbox/maven-users/200701.mbox/% [EMAIL PROTECTED] Is this the only way? What if I have project B, C, D all depend on project A. If I build from the top level, would that trigger the build of C and D? What if I just want to rebuild B?

Re: maven war overlay trigger dependent war rebuild

2007-03-23 Thread Wayne Fay
You can get this functionality if they share a common parent which has both projects defined as modules, and build from the top level directory ie: project/pom.xml run mvn package here project/projA/pom.xml project/projB/pom.xml Otherwise, no, this is not possible. Wayne On 3/23/07, Qing Gao

Re: maven war overlay trigger dependent war rebuild

2007-03-23 Thread Qing Gao
Thanks, Wayne! That is the way my projects are configured now. But as I added in my other post, I'd prefer to have more control on the dependency trigger if I have several projects depend on one or many projects. I'd like to choose which one I want to rebuild. Please let me know if this is

Re: maven war overlay trigger dependent war rebuild

2007-03-23 Thread Wayne Fay
Generally, no, this is not possible. You could perhaps rig something complicated with profiles etc such that given modules A, B, C, D and you only want to rebuild A and B, you could say mvn -Pabonly package and it would use the C and D artifacts from your repo rather than rebuilding them. I'll

Re: Unit Test inheritance in a multi-pom project?

2007-03-23 Thread Jim Bethancourt
Hi GreJ, You must do an install in order for the test-jar to be available, otherwise it won't be installed and can't be referenced as a jar by the dependent project. You will also need to list the dependency as a normal dependency and a test jar in order to successfully do a mvn compile and mvn

Re: Unit Test inheritance in a multi-pom project?

2007-03-23 Thread GreJ
Hi, Thanks for your answer, I do several tests, and in fact it doesn't work without install. The test jar really needed to be installed in the local repository(?). This is my project layout -Root +sslServer +client client must use the test-jar generated by the sslServer module. So here

RE: assembly question

2007-03-23 Thread EJ Ciramella
So is anyone doing anything like this or is there a better way to install outside of your target directory with AND have an option to build a jar with the same series of parameters? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 12:06 PM To:

RE: War plugin question

2007-03-23 Thread Steve Vangasse
The assembly plugin certainly seems to be the solution. My project is multi module; a module for each webapp and a module for the shared library. I've been trying to write an assembly descriptor in the parent module that copies all the jar files from each webapp module (that would normally

Re: War plugin question

2007-03-23 Thread Wayne Fay
Any reason you're not just packaging it all up in an EAR? Wayne On 3/23/07, Steve Vangasse [EMAIL PROTECTED] wrote: The assembly plugin certainly seems to be the solution. My project is multi module; a module for each webapp and a module for the shared library. I've been trying to write an

Re: Deploying to multiple repositories

2007-03-23 Thread Samuel Le Berrigaud
Thanks, I found the thread but nothing came out. In the end it looks like you have to run maven twice :-( SaM On 3/23/07, Rodrigo Ruiz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mmmm, I think there was a mention in another thread to how to create several artifacts