RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Wayne Fay wrote on Monday, August 27, 2007 8:55 PM: A couple comments... take them or not, entirely your choice: 1. The properties at the bottom -- any reason you aren't just configuring maven-compiler-plugin instead? Although not done here, but you need the same values configuring the

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Hi Michael, Michael McCallum wrote on Tuesday, August 28, 2007 12:34 AM: IMO the log4j, logkit, avalon dependencies all need to go... I as I imagine most people do only use one logging implementation in the deployed systems why introduce a dependency on several implementations at the top

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
Hello, Here is what I get now that I have changed to org.apache.poi (groupId) and turned on the -e switch: C:\dev\calyonfinancial\ProtideWebmvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: Community review of the next commons-logging pom

2007-08-28 Thread Barrie Treloar
On 8/28/07, Jörg Schaible [EMAIL PROTECTED] wrote: Michael McCallum wrote on Tuesday, August 28, 2007 12:34 AM: I've generally stopped using dependencyManagement in favour of dependency composition Why? Only with dependencyManagement you're able to manage transitive versions. Michael,

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
Sorry: I had forgotten to include proxy info in my maven settings.xml. J. 2007/8/28, Julien Martin [EMAIL PROTECTED]: Hello, Here is what I get now that I have changed to org.apache.poi (groupId) and turned on the -e switch: C:\dev\calyonfinancial\ProtideWebmvn -e install + Error

copernic Jeremy wants to chat

2007-08-28 Thread copernic Jeremy
--- copernic Jeremy wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-343cfbc0c9-62ea441ab5-75f2453e951bd631 You'll need to

Re: Maven and macker plugin working??[UPDATES]

2007-08-28 Thread Rémy Sanlaville
Thanks a lot Wayne. We will try to use it as soon as possible (certainly during september) and give you our feedback. Rémy 2007/8/27, Wayne Fay [EMAIL PROTECTED]: Just FYI... The code is available in the Mojo sandbox SVN and the site was just deployed:

sorry!

2007-08-28 Thread copernic Jeremy
Hi all, just to appologies for the last email, I accidently sent gmail invitation on the mailing list... sorry again and have a nice day! Jeremy

Re: Associate a default goal for a plugin and type the plugin name only on cmdln

2007-08-28 Thread Rémy Sanlaville
not in maven 2. It was only in maven 1. In m2 you have to call aPlugin:aGoal Yes, it's not available in maven 2. I ask for a such feature some time ago and I had this reply that explain why it is not so easy. http://www.nabble.com/-Proposal--New-profile-activation-tf3240038s177.html#a9031422

m2 ear plugin and resource filters.

2007-08-28 Thread Jonathan Chen
Hi all, I'm running Maven 2.0.7 and I'm trying to get resource filtering working with m2's ear plugin. I have a file which I'm trying to get certain properties replaced on a mvn package. src/main/application/META-INF/geronimo.xml: ?xml version=1.0 encoding=UTF-8? application

Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Julien Martin
Hello, Why does this POM includes the sun's jsf jars whereas I never asked for them?? I only want the Myfaces Jars... Can anyone help? How do I know which jars are included in a dependency? Thanks in advance, Julien Martin. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=

Re: Community review of the next commons-logging pom

2007-08-28 Thread Marcel Schutte
Hi Dennis, I've got two remarks: - You should really make sure that all plugins have a version declared. There are definitely differences between versions, so the reproducibility of your builds can only be guaranteed by using explicit versions. - The artifacts commons-logging,

Re: Skiping module during mvn eclipse:eclipse

2007-08-28 Thread Marcin Waldowski
Hello. I've returned to this subject :) Now I use version 2.4 of maven-eclipse-plugin which gives me a posibility to use 'skip' parameter. After making 'mvn help:effective-pom' I can see for one of my module: plugin artifactIdmaven-eclipse-plugin/artifactId configuration

How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
Hello all, How do I get Maven to include persistence.xml into a web app?? Any clue welcome! Julien. Here is my POM: project xmlns=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

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread ben short
persistence.xml needs to be on the class path doesn't it? Create a directory src/main/java/resources and put it in there. When maven packages up your war it will put all files in the resources directory into your war file under the WEB-INF/classes directory. Hope this helps. Ben On 8/28/07,

RE: shell execution from 1.1-beta-1

2007-08-28 Thread remi . chevalier
Hi! I have the same problem than LJ: Continuum-1.1-beta-2 is calling /bin/bash but my bash command is in another directory: usr/local/bin/bash So, I can't execute any script.sh... Is there a way to change the default command /bin/bash called? (I'm working on Solaris 8) Thanks, Rémi. LAMY

Re: Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Julien Martin
Thanks Jorg, Your advice was very useful!!! J. 2007/8/28, Jörg Schaible [EMAIL PROTECTED]: Julien Martin wrote on Tuesday, August 28, 2007 10:23 AM: Hello, Why does this POM includes the sun's jsf jars whereas I never asked for them?? I only want the Myfaces Jars... Can anyone help?

Maven repository

2007-08-28 Thread De Vleeschauwer Nele
Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the

Cyclic dependency status

2007-08-28 Thread Adrian Gonzalez
Hello, I've read some post and cyclic dependency between maven artifacts is not supported for the moment i.e. artifact A depends on artifact B which depends on artifact A. I would like to know if something is planned about cyclic dependency support or will it never be managed by Maven ? My use

RE: Failing to add a POI dependency

2007-08-28 Thread Arnaud Jeansen
Hi Julien, I made a simple test on a maven project I am working on and adding... dependency groupIdorg.apache.poi/groupId artifactIdpoi/artifactId version3.0.1-FINAL/version /dependency

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
merci 2007/8/28, Arnaud Jeansen [EMAIL PROTECTED]: Hi Julien, I made a simple test on a maven project I am working on and adding... dependency groupIdorg.apache.poi/groupId artifactIdpoi/artifactId

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
Thanks Ben, Is there not a way to put it (persistence.xml) into meta-inf instead? Julien. 2007/8/28, ben short [EMAIL PROTECTED]: persistence.xml needs to be on the class path doesn't it? Create a directory src/main/java/resources and put it in there. When maven packages up your war it will

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread Milos Kleint
you got the same error because you are building with the same embedded maven instance. you need to setup netbeans to use the command line tool. the help you refer to seems to refer to old method of adding AU center. The new way is this: Open Tools/Plugins dialog Find the Settings tab, there's an

RE: shell execution from 1.1-beta-1

2007-08-28 Thread LAMY Olivier
Try to add a link on your machine. I use solaris too and I have the following link : bash-2.05$ ls -lrt /bin/ lrwxrwxrwx 1 root root 9 Sep 22 2005 /bin/ - ./usr/bin And my bash is there : bash-2.05$ which bash /usr/bin/bash -- Olivier -Message d'origine- De : [EMAIL

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Michael McCallum wrote on Tuesday, August 28, 2007 1:15 PM: Why? Only with dependencyManagement you're able to manage transitive versions. In order to keep clean dependency graphs I have used standard OO principles to encasulate functionality in this case I will use spring as an example.

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
Why? Only with dependencyManagement you're able to manage transitive versions. In order to keep clean dependency graphs I have used standard OO principles to encasulate functionality in this case I will use spring as an example. Spring provided many artifacts. I have many projects that use

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread ben short
I think you can just create /src/main/webapp/META-INF and put it in there. On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote: Thanks Ben, Is there not a way to put it (persistence.xml) into meta-inf instead? Julien. 2007/8/28, ben short [EMAIL PROTECTED]: persistence.xml needs to be on

Problem: TRINIDAD and MAVEN

2007-08-28 Thread Julien Martin
Hello, I am having problems with Trinidad and Maven. Can anyone please help? Thanks in advance, Julien. I get this from the console: C:\dev\calyonfinancial\ProtideWebmvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
Why? Only with dependencyManagement you're able to manage transitive versions. In order to keep clean dependency graphs I have used standard OO principles to encasulate functionality in this case I will use spring as an example. Spring provided many artifacts. I have many projects that use

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread jayaram . x . ganapathy
Hi, The update center URL which you gave was already present. I can't send you a screen shot because the e-mail with screenshots bounced back. I have maven 2.0.7 and I integrated it. I can now trigger external maven build. Now the problem is where can I see the messages of build? Once I start

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
http://en.wikipedia.org/wiki/Relation_composition group.id.composition.spring 2.0.6 - spring-beans 2.0.6 - spring-context 2.0.6 group.id.composition.spring.persistence 2.0.6 -group.id.composition.spring 2.0.6 - hibernate 3.1.3 - spring-hibernate3 group.id.artifact.a X -

RE: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Bram de Kruijff
Hi Julien, you can configure aditional resources through the war plugin. http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filteri ng-webresources.html So you need something like this !-- All webapps filter and add **/**.xml in src/main/config tp the war -- plugin

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
The problem is that I have to use an existing path i.e. (MyProject\src\conf\persistence.xml) and cannot change that Is there not a way to modify the POM in order for it to include my persistence.xml?? Sorry I am a real beginner at Maven... Julien. 2007/8/28, ben short [EMAIL PROTECTED]: I

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Michael McCallum wrote on Tuesday, August 28, 2007 1:56 PM: http://en.wikipedia.org/wiki/Relation_composition group.id.composition.spring 2.0.6 - spring-beans 2.0.6 - spring-context 2.0.6 group.id.composition.spring.persistence 2.0.6 -group.id.composition.spring 2.0.6 - hibernate

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Tim Kettler
Hi, this should do what you want: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources resource directorysrc/conf/directory !-- override the destination directory for this resource --

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread Milos Kleint
doesn't happen to me, sorry.. I get the output correctly. file a bug at jira.codehaus.org/browse/MEVENIDE there you can attach screenshots, sample projects etc.. Milos On 8/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, The update center URL which you gave was already present. I can't

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
http://en.wikipedia.org/wiki/Object_composition is really just the software equivalent of the first link i sent [snip] You still did not explain, what composition means. It's no word used in standard Maven terminology. Your description does not make it clear what you *actually* have done.

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
OK. But this will not help you, if you include another artifact that depends transitively on Spring or Hibernate in different versions. And therefore we use a company or at least a master POM for a project with a dependencyManagement section. This way you can overwrite the versions of the

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread jayaram . x . ganapathy
Hi, Thanks a lot. I was able to fix the problem. It was my mistake. I setup the maven home to the bin directory of maven. So the tool was trying to execute $MAVEN_HOME/bin/bin/mvn.bat which was not present. The output windows never complained that invalid maven home set etc.. It shows as if

Re: Problem: TRINIDAD and MAVEN

2007-08-28 Thread Tim Kettler
Weird, see inline for what I read from the log output: Julien Martin schrieb: Hello, I am having problems with Trinidad and Maven. Can anyone please help? Thanks in advance, Julien. I get this from the console: [...] Downloading:

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
Thanks Tim for you suggestion. I thought I was getting there but apparently the targetPath is COMPLETELY ignored by Maven... Here is where the persistence.xml is copied: the root of the war... Here is my POM for your info. Tis almost identical to your suggestion: project

Re: Problem: TRINIDAD and MAVEN

2007-08-28 Thread Julien Martin
Thank you Tim!!! As a workaround you can just download the pom from central [2] by hand and copy in in your local repository. This worked a charm!!

Re: Debugging Maven in Netbeans

2007-08-28 Thread Milos Kleint
that's in project's popup menu. last item on the list.. Properties.. there in Run tab, you set the main class. Milos On 8/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have opened few maven project. I use NB6 Ms10 with external maven build enabled. The maven version I have is

Debugging Maven in Netbeans

2007-08-28 Thread jayaram . x . ganapathy
Hi, I have opened few maven project. I use NB6 Ms10 with external maven build enabled. The maven version I have is 2.0.7. I am able to compile( mvn install) the project. Now when I try to execute the same I get the following message. In order to run the project, Netbeans needs a custom

assembly project properties

2007-08-28 Thread Stefano Fornari
Hi All, I am interested to know if there is any documentation that specifies which exact project properties will be filtered when filtering is used. I searched the list and the assembly and resources plugins documentation but I could not find a proper list. I am particularly interested into

installing a ueber jar

2007-08-28 Thread Domingos Antonio Pereira Creado Júnior
Hi there, I´m developing an applet that has many dependencies. To speed-up the load phase, I´m using the ueber plugin [1]. The ueber plugins works fine.. It creates a smaller jar, but with a suffix -uber under target directory. The issue that I´m facing is how install this ueber jar under

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Michael McCallum wrote on Tuesday, August 28, 2007 2:39 PM: OK. But this will not help you, if you include another artifact that depends transitively on Spring or Hibernate in different versions. And therefore we use a company or at least a master POM for a project with a dependencyManagement

Re: Cyclic dependency status

2007-08-28 Thread Wayne Fay
I can't forsee Maven ever realistically making it possible/easy to introduce cyclical dependencies into your dependency graphs. This goes against the basic principles of the tool. Wayne On 8/28/07, Adrian Gonzalez [EMAIL PROTECTED] wrote: Hello, I've read some post and cyclic dependency

Re: installing a ueber jar

2007-08-28 Thread Wayne Fay
Use build-helper-m-p and attach your artifact to the build/project. Wayne On 8/28/07, Domingos Antonio Pereira Creado Júnior [EMAIL PROTECTED] wrote: Hi there, I´m developing an applet that has many dependencies. To speed-up the load phase, I´m using the ueber plugin [1]. The ueber plugins

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Wayne Fay
1. Try ${project.*} instead. 2. Consider writing a geronimo plugin (or patching the existing maven-ear-plugin), and contributing it back. It would be helpful for other people who need to generate these geronimo.xml files. And I think it would be pretty simple. Wayne On 8/28/07, Jonathan Chen

RE: deploy goal fails

2007-08-28 Thread Ivan Garcia
Hi, Did you find a solution for this? I'm having the same problem: Error deploying artifact: C:\projects\Portal2\code\workflow\web\target\classes (Access is denied) The point is that it only fails when adding a classifier to the war. mvn install OTOH works fine (I also get the :

Re: Embedded Tomcat within a Maven Unit Test

2007-08-28 Thread Joshua ChaitinPollak
Hi, I may not have made this clear in my initial post, but I do have all of the tomcat jar's listed as Maven dependancies. That's why I'm confused. Is there any way for maven to handle this, or do I need to pre-compile the jsp's? -Josh On Aug 27, 2007, at 7:36 PM, Joshua ChaitinPollak

Re: Skiping module during mvn eclipse:eclipse

2007-08-28 Thread Dan Tran
can you reproduce in a smaller set of projects? On 8/28/07, Marcin Waldowski [EMAIL PROTECTED] wrote: Hello. I've returned to this subject :) Now I use version 2.4 of maven-eclipse-plugin which gives me a posibility to use 'skip' parameter. After making 'mvn help:effective-pom' I can see

RE : Re: Cyclic dependency status

2007-08-28 Thread Adrian Gonzalez
Thanks for the answer Fay. Just posted the question cause there's already been some users having the same need (trying to put legacy libraries under maven) - and I think personnally it can be a 'common' need. But no problem, I'll try to cope with that. --- Wayne Fay [EMAIL PROTECTED] a écrit :

Cyclic dependency problem

2007-08-28 Thread COPPENS, Fabien
Hi all. I have just joined the list, so please forgive me if the exact same question has already been posted. Here is my use case : I have a project CORE_A which exposes a facade in the form of an EJB, which is built in a separate project EJB_A. I have a project CORE_B which exposes a facade in

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Stephane Nicoll
You're hacking the ear's plugin own resource directory with a standard resource. This own resource dir was a design error in the early days. Anyway, you might be able to configure a custom execution of the resource plugin with filtering enabled. But move your files out of src/main/application

How do I run a bat file as a build

2007-08-28 Thread Joakim Zetterberg
How would I set up a project if I would like a bat file to run? Let's say I have the bat file in c:\bat and its called foo.bat. I have tried to enter a local scm url, but I still get errors: Exception: Cannot checkout sources. The module isn't a directory. I guess I have missed something in

Re: How do I run a bat file as a build

2007-08-28 Thread Emmanuel Venisse
what is your scm url? Joakim Zetterberg a écrit : How would I set up a project if I would like a bat file to run? Let's say I have the bat file in c:\bat and its called foo.bat. I have tried to enter a local scm url, but I still get errors: Exception: Cannot checkout sources. The module

RE: installing a ueber jar

2007-08-28 Thread Domingos Antonio Pereira Creado Júnior
Thanks Wayne!! it worked really fine :-) Now my pom.xml is some like: ... build plugins plugin artifactIdminijar-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId executions execution

RE: Continuum version 103 (maven2)

2007-08-28 Thread James Clinton
Found the problem. Basically CI doesn't work if you have your parent pom at the same level as its child modules because CI creates a temporary directory which breaks the path from the parent to the child. This is true for the stable and 1.1 build. -Original Message- From: Emmanuel

Re: Maven Multi-Project - Modules are Numbers when checked out --repl y

2007-08-28 Thread Emmanuel Venisse
The problem I have now is when the build fails, say due to a unit test, the status of the build is SUCCESS. Although the log states FAILED. Is there some configuration I am missing here or is the problem related to me setup? It is a known issue in 2.0.7.

Re: Continuum version 103 (maven2)

2007-08-28 Thread Emmanuel Venisse
We don't have an entry in the faq about the bug in mvn.bat from maven 2.0.7 (http://jira.codehaus.org/browse/MNG-3084 ) James Clinton a écrit : Opps - should of read my original post!. Anwser is for Windows the mvn.bat file needs to be altered...I didn't read the faq's properly.

Re: Continuum version 103 (maven2)

2007-08-28 Thread Emmanuel Venisse
Do you use maven 2.0.7? James Clinton a écrit : Hello, I have a project structure like so: - parent - child - child Parent pom is them loaded into CI and the projects are detected. It builds fine, but if there is a compilation error, the status of the build is still 'success'.

Re: Continuum version 103 (maven2)

2007-08-28 Thread Emmanuel Venisse
yes and no. The problem is the same but not the patch to do, This entry is for an old maven version The fixed script for maven 2.0.7 is : https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn.bat Emmanuel James Clinton a écrit : See

classifier for maven deploy plugin

2007-08-28 Thread John Coleman
Hi, Is there a way to use a classifier with the maven deploy plugin by configuring the plugin in the pom rather that using command line properties? TIA, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information

Re: Associate a default goal for a plugin and type the plugin name only on cmdln

2007-08-28 Thread Farhan Sarwar
Thanks Remy... On 8/28/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: not in maven 2. It was only in maven 1. In m2 you have to call aPlugin:aGoal Yes, it's not available in maven 2. I ask for a such feature some time ago and I had this reply that explain why it is not so easy.

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
Thank!! 2007/8/28, Tim Kettler [EMAIL PROTECTED]: Strange, it's working for me with this simple test project: project modelVersion4.0.0/modelVersion artifactIdmy-test-app/artifactId groupIdmy-test-group/groupId version1.0-SNAPSHOT/version

targetPath tag COMPLETELY ignored by Maven......

2007-08-28 Thread Julien Martin
Hello, Apparently the targetPath tag is COMPLETELY ignored by Maven... The persistence.xml is copied at the root of the war... Can anyone please help? Julien. Here is my POM: code: -- project xmlns=http://maven.apache.org/POM/4.0.0;

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Tim Kettler
Strange, it's working for me with this simple test project: project modelVersion4.0.0/modelVersion artifactIdmy-test-app/artifactId groupIdmy-test-group/groupId version1.0-SNAPSHOT/version packagingwar/packaging build plugins plugin

Can't find settings.xml

2007-08-28 Thread EJ Ciramella
We occasionally have the following error: Error reading settings.xml: Error reading settings file Anyone seen this before? Stinks to have a 90+ min build fail even though this file is there... The solution seems to be to delete it (and let the boot strapping process copy it back in

Re: classifier for maven deploy plugin

2007-08-28 Thread Dan Tran
I am going to assume that you want to deploy artifacts that are not built by maven. You can create a pom and configure build-helper-maven-plugin to attach all your artifacts to maven, and finally call 'maven deploy' -D On 8/28/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Is there a way

Re: targetPath tag COMPLETELY ignored by Maven......

2007-08-28 Thread Wayne Fay
Try bumping your version to 2.0.2 which is apparently the latest available... http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/ Don't know if that will do anything, just an idea. Wayne On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote: Hello, Apparently the targetPath

Re: targetPath tag COMPLETELY ignored by Maven......

2007-08-28 Thread Julien Martin
Thanks! That was the problem... Julien. 2007/8/28, Wayne Fay [EMAIL PROTECTED]: Try bumping your version to 2.0.2 which is apparently the latest available... http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/ Don't know if that will do anything, just an idea. Wayne

environment variable for location of settings.xml?

2007-08-28 Thread Baz
All, Does maven 2.x looking at any environment variables for the location of settings.xml? I know the default location is user_home_dir/.m2 but I want to be able to change the default behavior when you type mvn. Thanks. B.

Re: environment variable for location of settings.xml?

2007-08-28 Thread Wayne Fay
mvn -? -s,--settings Alternate path for the user settings file Wayne On 8/28/07, Baz [EMAIL PROTECTED] wrote: All, Does maven 2.x looking at any environment variables for the location of settings.xml? I know the default location is user_home_dir/.m2 but I want to be able to

Re: Community review of the next commons-logging pom

2007-08-28 Thread Dennis Lundberg
Yes, it is enough, but by adding optionaltrue/optional we wanted to show that the dependency is also optional. You will only need it if you use certain features of commons-logging. And scopeprovided/scope says that it will be provided by the container, if you decide to use those features.

Re: Community review of the next commons-logging pom

2007-08-28 Thread Dennis Lundberg
Michael McCallum wrote: IMO the log4j, logkit, avalon dependencies all need to go... I as I imagine most people do only use one logging implementation in the deployed systems why introduce a dependency on several implementations at the top level? Commons-logging only has one level, the top

Re: environment variable for location of settings.xml?

2007-08-28 Thread Wayne Fay
Other than -s, nothing else is built in. Of course, you can easily alter the mvn.bat file for your company and add other parameters, check for environment variables etc. But then you need to make sure everyone is running your modified mvn.bat file. Wayne On 8/28/07, Baz [EMAIL PROTECTED] wrote:

RE: integration testing

2007-08-28 Thread EJ Ciramella
Ok, this looks like I cleared this up myself, but the NEW question is, what happens when there is ANOTHER module that depends on the assembly of another. So one of our app server artifact has integration tests, but it needs one of these registry type servers up and running. How can I say, during

Re: environment variable for location of settings.xml?

2007-08-28 Thread Baz
Wayne, Thanks for your reply. If I dont use -s then it will only look at user_home/.m2 ? No environment variable will change this behaviour right? B. On 8/28/07, Wayne Fay [EMAIL PROTECTED] wrote: mvn -? -s,--settings Alternate path for the user settings file Wayne On

Re: Community review of the next commons-logging pom

2007-08-28 Thread Dennis Lundberg
Marcel Schutte wrote: Hi Dennis, I've got two remarks: - You should really make sure that all plugins have a version declared. There are definitely differences between versions, so the reproducibility of your builds can only be guaranteed by using explicit versions. Yes we should, as

integration testing

2007-08-28 Thread EJ Ciramella
I'm kinda dancing around a local solution, but how is the rest of the maven world doing something like integration tests where the tests require a running instance of the code they're trying to test? We have things like registry services that we'd like to integration test, but the tests would

Re: Community review of the next commons-logging pom

2007-08-28 Thread Tom Huybrechts
This is the OSGi technical whitepaper: http://www.osgi.org/documents/collateral/OSGiTechnicalWhitePaper.pdf . Most relevant here is the Modularity section of the Architecture chapter. To be usable in an OSGi setting, the jar manifest needs to have some entries added. Most important are the name

Re: maven plugin for ckjm ...

2007-08-28 Thread Wayne Fay
Finally got around to submitting the code into the Sandbox... Thanks in advance for any feedback. You can find the (rough draft) code for the ckjm-maven-plugin in the Codehaus Sandbox: https://svn.codehaus.org/mojo/trunk/sandbox/ckjm-maven-plugin I also deployed the snapshot and site, so you

Re: maven plugin for ckjm ...

2007-08-28 Thread Wayne Fay
One last thing I forgot... Since the ckjm utility itself does not currently exist in the Central repo, you will need to download it from the site and mvn install it with groupId=gr.spinellis, artifactId=ckjm, and version=1.8 so the ckjm-maven-plugin can find it and use it as needed. Wayne On

Re: Question on maven-buildnumber-plugin

2007-08-28 Thread Kalle Korhonen
I've been amazed myself by the fact that the plugin (nor any other one) doesn't just provide a straight-up timestamp. buildnumber plugin comes the closest, but if you want to use both svn version number and a timestamp, you are frustratingly out of luck. Looking at buildnumber plugin source, it'd

Re: Question on maven-buildnumber-plugin

2007-08-28 Thread Dennis Lundberg
There is something like this in the sandbox: https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-property-setting-plugin/ You'll have to build it yourself. I haven't tried it, but the example seems to indicate that it does what you are looking for. Please provide feedback to

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Jonathan Chen
On Tue, Aug 28, 2007 at 05:32:25PM +0200, Stephane Nicoll wrote: You're hacking the ear's plugin own resource directory with a standard resource. This own resource dir was a design error in the early days. Anyway, you might be able to configure a custom execution of the resource plugin

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
but i want it managed across 75 artifacts in 11 groups with 9 aggregations... using inheritance to manage a change in the version of spring for example is way too time consuming and prone to error. Unless i specify all the deps in the aggregation i can never be sure of what version of any

SCM plugin and non-verbose mode

2007-08-28 Thread Eric Roberts
Is there any way to tell an SCM configuration to use 'quiet' or 'non-verbose' mode? I have a scenario where I need to use the checkin goal to checkin files but if there are files that need to be added (e.g. add_test.txt) the maven build stops with the following error: [WARNING] Unknown checkin

Maven Ant Tasks 2.0.7

2007-08-28 Thread Hilco Wijbenga
Hi all, I ran into something strange while using the Maven Ant Tasks (2.0.7). My Ant build now includes a POM which refers to a parent POM. If I have the parent POM available in my local repository everything works fine. If not, then the build fails because it can't download the parent POM. (If

Re: Community review of the next commons-logging pom

2007-08-28 Thread Carlos Sanchez
You can ping the people from Apache Felix, they create bundles of apache projects for consumption in OSGi with the goal of contributing it back to the projects. They will tell you if it's ready or not for the projects. On 8/27/07, Dennis Lundberg [EMAIL PROTECTED] wrote: Hi Tom I've heard the

Re: Manually Install Dependency to Archiva Managed Repository

2007-08-28 Thread Brett Porter
I believe for jta, the zip file is the jar, so can just be deployed as is (with -Dpackaging=jar). As for the POM - the default created should be fine, or the one you get from the central repo is good too. - Brett On 29/08/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 8/28/07, Cameron Jones

Re: SCM plugin and non-verbose mode

2007-08-28 Thread Dan Tran
dont think there is a solution for case, please file a request against maven scm. Best if you directly enhance maven-scm's starteam provider to get you going, and then submit a patch -D On 8/28/07, Eric Roberts [EMAIL PROTECTED] wrote: Is there any way to tell an SCM configuration to use

RE: Continuum version 103 (maven2)

2007-08-28 Thread James Clinton
See http://maven.apache.org/continuum/faqs.html##how-does-continuum-detect-a-suc cessful-build Sounds like the same issue? Apologies if I'm wrong. James -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 28 August 2007 16:59 To: continuum-users@maven.apache.org

RE: Continuum version 103 (maven2)

2007-08-28 Thread James Clinton
Ok - many thanks. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 28 August 2007 17:07 To: continuum-users@maven.apache.org Subject: Re: Continuum version 103 (maven2) yes and no. The problem is the same but not the patch to do, This entry is for an old maven