Re: How to get the command maven test:test to delete test files before executing?

2009-11-04 Thread Lukas Theussl
Use a preGoal in maven.xml: preGoal name=test:test ant:delete ant:fileset dir=. includes=*.tmp / /ant:delete /preGoal HTH, -Lukas laredotornado wrote: Hi, I'm using Maven 1.1 with Java 1.5 on a Mac 10.5.6. In my test directory, I can run maven test:test to execute all of

Re: Is there a way to say get the latest version in the project.xml file?

2009-11-04 Thread Lukas Theussl
There is no way to do that in maven 1.x (and for a good reason). See http://maven.apache.org/maven-1.x/using/managing-dependencies.html#Using_SNAPSHOT_Dependencies HTH, -Lukas laredotornado wrote: Hi, I'm using Maven 1.1. I have this dependency in my test/project.xml file ...

Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
Hello, I have a Maven installed in a linux Server and there is the local repository. Then I have my Eclipse in a Windows system. How can I configure m2eclipse in order to search inside the linux repository? Thanks a lot. -

Re: Maven Configuration in Eclipse

2009-11-04 Thread Valentin Jacquemin
You should specify the repository location either in your pom.xml or in settings like that: repository idmaven2-repository.dev.java.net/id nameJava.net Repository for Maven/name urlhttp://download.java.net/maven/2//url /repository Adapt basing on your environment. Regards, Valentin

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
But I want (if it is possible) to configure it in Eclipse options, not in the POM file because then I have to modify every project. After installing m2Eclipse a new Maven option is created inside Window--Preferences. If I go to Maven Installations, I have to select where my Maven is installed

Parent multimodule pom dependencyManagement block for defining versions of modules contained in the same multimodule project

2009-11-04 Thread Baptiste MATHUS
Hi all, Well, I tried to find a clear title. But it wasn't so simple :-). So I'll describe my question below. This is more a best practice question than a feasibility one. In fact, we already use but feel not sure if this is correct. We have a multimodule project that contains some modules.

Re: snapshots resolution, metadata and classifier

2009-11-04 Thread Julien CARSIQUE
Or not :( Here is the case layout (with Maven 2.0.10): nuxeo-distribution/ |-- nuxeo-distribution-jboss/ |-- ... Running from root module (nuxeo-distribution), default classifier of a sub-module is deployed with a unique version: Uploading:

Re: Maven Configuration in Eclipse

2009-11-04 Thread Valentin Jacquemin
But I want (if it is possible) to configure it in Eclipse options, not in the POM file because then I have to modify every project. Put the repository in the settings.xml of maven instead of the pom and it will be set for your general maven setup not only for one project. From the maven doc: You

Re: Maven Configuration in Eclipse

2009-11-04 Thread Jouko Johansson
Have you tried configuring mirror to user's settings.xml - http://maven.apache.org/settings.html#Mirrors On Wed, Nov 4, 2009 at 12:02 PM, Exposito Aguilera, Francisco francisco.expos...@es.issworld.com wrote: But I want (if it is possible) to configure it in Eclipse options, not in the POM

Re: Parent multimodule pom dependencyManagement block for defining versions of modules contained in the same multimodule project

2009-11-04 Thread Jörg Schaible
Hi, Baptiste MATHUS wrote at Mittwoch, 4. November 2009 11:06: Hi all, Well, I tried to find a clear title. But it wasn't so simple :-). So I'll describe my question below. This is more a best practice question than a feasibility one. In fact, we already use but feel not sure if this is

POMs on central repo with references to other repositories

2009-11-04 Thread Stevo Slavić
Hello Maven users, By this guidehttp://maven.apache.org/guides/mini/guide-central-repository-upload.htmlit seems to be forbidden to upload artifacts to central with POMs that reference other repositories, so that central repo is self-contained. Even with this rule there seem to be many artifacts

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
I'm a little bit lost (and new in Maven)... Maybe I explain what I finally want... 1) Linux server: - Apache Maven - Nexus - A new corporate repository in order to have the jars we use in all projects. 2) Windows - Eclipse with m2eclipse Functionality: 1) All

include resource changing the path

2009-11-04 Thread Daniele Dellafiore
Hi everyone. I have this resource: resource directorysrc/main/contents/directory includes include${runtime}/**/include /includes targetPathcontents/targetPath /resource let's suppose that ${runtime} has this value: stage. The result

Re: Tomcat plugin problem

2009-11-04 Thread Anders Hammar
To me this sounds like a bug and you should file an issue report. /Anders On Wed, Nov 4, 2009 at 05:56, vijay shanker vijay.s...@gmail.com wrote: Hi all; I am using tomcat plugin to run my war project. When I use this plugin form eclipse; it works very well. i found a folder tomcat

Re: include resource changing the path

2009-11-04 Thread Daniele Dellafiore
I also see a strange behavior that tells me I am missing something: with the configuration I described, I have my contents put in: WEB-INF/classes/contents/stage The same result I have if I put them in src/main/webapp/contents/stage without any additional configuration or targetPath, of

Re: POMs on central repo with references to other repositories

2009-11-04 Thread Anders Hammar
My understanding is: 1) No, central will not be cleaned. No changes are done to central as it might break builds. 2) http://jira.codehaus.org/browse/MEV 3) I don't think so. The pom(s) you've found are old ones before the rules were enforced (or even existed possibly) /Anders On Wed, Nov 4,

Re: Tomcat plugin problem

2009-11-04 Thread Olivier Lamy
Hi, Yes and please provide more informations (or a simple project to reproduce the case) Thanks ! -- Olivier 2009/11/4 Anders Hammar and...@hammar.net: To me this sounds like a bug and you should file an issue report. /Anders On Wed, Nov 4, 2009 at 05:56, vijay shanker vijay.s...@gmail.com

RE: Maven Configuration in Eclipse

2009-11-04 Thread Jörg Schaible
Hi, fist you have to understand that you cannot really share the settings.xml. All you can do is, that you provide a template that can be copied by the users and should be stored in the default location userhome/.m2/. Exposito Aguilera, Francisco wrote at Mittwoch, 4. November 2009 12:30: I'm

Re: Tomcat plugin problem

2009-11-04 Thread vijay shanker
Hi, In between, any workaround suggested? should i use jetty plugin to run my project.? Regards, Vijay Shanker Dubey Ph: +91-9818311884 On Wed, Nov 4, 2009 at 5:32 PM, Olivier Lamy ol...@apache.org wrote: Hi, Yes and please provide more informations (or a simple project to reproduce the

Creating a JAR with dependencies

2009-11-04 Thread maven_newbie99
Hi all, I'm a Maven Newbie, so please forgive me if you find my question stupid. In my project I use libraries such as Apache commons-collections and many more. When I create an executable .JAR file of my project using the org.apache.maven.plugins:maven-jar-plugin:2.2:jar Goal, which I

Re: POMs on central repo with references to other repositories

2009-11-04 Thread Stevo Slavić
OK, thanks! I believe these rules existed before year 2009. Herehttp://repo1.maven.org/maven2/org/springframework/ws/spring-ws-parent/1.5.8/is one such pomhttp://repo1.maven.org/maven2/org/springframework/ws/spring-ws-parent/1.5.8/spring-ws-parent-1.5.8.pomuploaded in August 2009, and another

Same plugin, different phases

2009-11-04 Thread Gajo Csaba
Hello, I use the exec plugin, and I need to pass it different parameters based on the target I define. So for example, if I write mvn test, then exec should forward one set of arguements to the command it executes, and if I write mvn compile, then it sends another arguement. How to do this?

Re: POMs on central repo with references to other repositories

2009-11-04 Thread Anders Hammar
Ok, it could be that these rules are still enforced by manual checking today. There was a thread about this some weeks ago. Reporting these issues would be good, I guess. It makes it possible to address any future releases of these artifacts. /Anders On Wed, Nov 4, 2009 at 13:29, Stevo Slavić

Re: Same plugin, different phases

2009-11-04 Thread Anders Hammar
Most likely you've put the configuration element wrong. It should be inside the execution section. /Anders 2009/11/4 Gajo Csaba csaba.g...@cosylab.com Hello, I use the exec plugin, and I need to pass it different parameters based on the target I define. So for example, if I write mvn test,

Re: Same plugin, different phases

2009-11-04 Thread Gajo Csaba
If I put the configuration element inside the execution element, I get an error saying that it needs to be inside the plugin element. This is what I've tried: build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

Re: Same plugin, different phases

2009-11-04 Thread Jörg Schaible
Hi Csaba, Gajo Csaba wrote at Mittwoch, 4. November 2009 13:29: Hello, I use the exec plugin, and I need to pass it different parameters based on the target I define. So for example, if I write mvn test, then exec should forward one set of arguements to the command it executes, and if I

Email notification on Build failure

2009-11-04 Thread Zainab
Hi Is there a provision in Maven to notify by email or any other medium that the build is failed/succeeded? I dont want to use any CI tool like Hudson, Bamboo etc. I just want to know if it is possible plainly with Maven. Thanks Zainab -- View this message in context:

Re: Same plugin, different phases

2009-11-04 Thread Gajo Csaba
Ah ok, got it to work. Looks like I needed to define a global execution as well - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Benson Margulies
I have a webapp that runs in Jetty and Tomcat. To make it run cleanly in JBoss, I need to subtract some jar files from the dependency graph. Unless I'm confused, this is going to take a lot of POM XML, because those jars are in the graph of several of my dependencies. So, I'm wondering: is

Re: Creating a JAR with dependencies

2009-11-04 Thread Jesse Farinacci
Hi Frank, On Wed, Nov 4, 2009 at 7:09 AM, maven_newbie99 fr...@visign.ch wrote: second: is it possible not to include the whole dependent JARs but only those classes within my dependencies that I really use in my code? Try http://mojo.codehaus.org/minijar-maven-plugin/ -- There are 10 types

jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Johan Vogelzang
Hi all, Today I discovered that jta-1.0.1B.jar is removed from the central Maven repository. See: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B Causing our builds to fail. It still exists in http://download.java.net/maven/2/javax/transaction/jta/1.0.1B What steps can I take to

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Anders Hammar
I don't think it has ever been there. Are you sure that it has been removed? /A On Wed, Nov 4, 2009 at 14:10, Johan Vogelzang johan.vogelz...@gmail.comwrote: Hi all, Today I discovered that jta-1.0.1B.jar is removed from the central Maven repository. See:

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Jesse Farinacci
Hi Benson, On Wed, Nov 4, 2009 at 8:03 AM, Benson Margulies bimargul...@gmail.com wrote: I have a webapp that runs in Jetty and Tomcat. To make it run cleanly in JBoss, I need to subtract some jar files from the dependency graph. Unless I'm confused, this is going to take a lot of  POM XML,

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Benson Margulies
The problem is that it's not quite 'corporate'. The problem is this: you can build a webapp with CXF services that is self-contained on Jetty and tomcat. Then, to get it to run on JBoss, you want to start subtracting. OK, well, a profile that subtracts. If the profile can just use

RE: RE: Maven Configuration in Eclipse

2009-11-04 Thread Todd Thiessen
fist you have to understand that you cannot really share the settings.xml. It is easier to share the global settings.xml file (the one found in the /conf directory of you maven installation. You can put all the corporate repo information in the global settings.xml file location and this file

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Jesse Farinacci
Benson, On Wed, Nov 4, 2009 at 8:22 AM, Benson Margulies bimargul...@gmail.com wrote: The problem is that it's not quite 'corporate'. The problem is this: you can build a webapp with CXF services that is self-contained on Jetty and tomcat. Then, to get it to run on JBoss, you want to start

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
How can I create the corporate repository? Is it a new web project in Tomcat? How must I define it? -Mensaje original- De: news [mailto:n...@ger.gmane.org] En nombre de Jörg Schaible Enviado el: miércoles, 04 de noviembre de 2009 13:03 Para: users@maven.apache.org Asunto: RE: Maven

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Benson Margulies
I see, if you mean a set of profiles, each with a dependencyManagement that makes some things 'provided', then I'm following, and that is what I need. On Wed, Nov 4, 2009 at 8:32 AM, Jesse Farinacci jie...@gmail.com wrote: Benson, On Wed, Nov 4, 2009 at 8:22 AM, Benson Margulies

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Jesse Farinacci
Hi Benson, On Wed, Nov 4, 2009 at 8:39 AM, Benson Margulies bimargul...@gmail.com wrote: I see, if you mean a set of profiles, each with a dependencyManagement that makes some things 'provided', then I'm following, and that is what I need. No, that isn't what I mean. I would have a profile

Re: Creating a JAR with dependencies

2009-11-04 Thread maven_newbie99
Hi jieryn, I could achieve what I want using your link (ueberjar). Many thanks. The only thing I don't understand is why so many maven-specific libraries are included in my taret? For eample: mavenmodel, mavenmonitor, mavenpluginapi, mavenpluginregistry, ... plexusarchiver,

maven-resources-plugin: escapeWindowsPaths actually working?

2009-11-04 Thread Jochen Wiedmann
Hi, is the attribute escapeWindowsPaths in the maven-resources-plugin actually working? I don't think it does with 2.4, or 2.4.1, at least not with something like my.dir=${project.build.directory} in src/main/filtered-resources/my.properties. I have checked the sources of maven-resources-plugin

Re: include resource changing the path

2009-11-04 Thread Daniele Dellafiore
On Wed, Nov 4, 2009 at 12:54 PM, Daniele Dellafiore ilde...@gmail.comwrote: I also see a strange behavior that tells me I am missing something: with the configuration I described, I have my contents put in: WEB-INF/classes/contents/stage The same result I have if I put them in

Maven fails to deploy to artifactory - Code 401

2009-11-04 Thread Villemos, Gert
We are building a Maven2 multi-module project using Hudson v1.323. When using the 'deploy' goal, the build fails with the exception; [INFO] [ERROR] BUILD ERROR [INFO]

Re: How to get the command maven test:test to delete test files before executing?

2009-11-04 Thread laredotornado
Thanks all for your responses. Lukas, I went with yours and it worked instantly. - Dave Lukas Theussl-4 wrote: Use a preGoal in maven.xml: preGoal name=test:test ant:delete ant:fileset dir=. includes=*.tmp / /ant:delete /preGoal HTH, -Lukas

Re: Creating a JAR with dependencies

2009-11-04 Thread maven_newbie99
Please forget about my last post. I have had, for some copy/paste reason, the following lines in my .pom: dependency groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.1/version /dependency which caused all these maven-specific libs to be added

Re: Creating a JAR with dependencies

2009-11-04 Thread Jesse Farinacci
A-ha! Ok, glad to hear you figured it out. :-) On Wed, Nov 4, 2009 at 9:30 AM, maven_newbie99 fr...@visign.ch wrote: Please forget about my last post. I have had, for some copy/paste reason, the following lines in my .pom: dependency  groupIdorg.apache.maven.plugins/groupId  

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Johan Vogelzang
Hmm, I thougt I was, but now I am not so sure anymore Johan. 2009/11/4 Anders Hammar and...@hammar.net I don't think it has ever been there. Are you sure that it has been removed? /A On Wed, Nov 4, 2009 at 14:10, Johan Vogelzang johan.vogelz...@gmail.com wrote: Hi all, Today

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Johan Vogelzang
Anyway it seems that this artifact in not correctly deployed (or synchronized). Johan. 2009/11/4 Anders Hammar and...@hammar.net I don't think it has ever been there. Are you sure that it has been removed? /A On Wed, Nov 4, 2009 at 14:10, Johan Vogelzang johan.vogelz...@gmail.com wrote:

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Anders Hammar
It's correct in central. You can get it from there, as it states in the pom. You need to download it manually. But you've found in at java.net, so use that. Or some other implementation that is available at central (I guess there is a geronimo one). /A On Wed, Nov 4, 2009 at 15:56, Johan

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Johan Vogelzang
I do not see why this is correct in central. The more recent version 1.1 seems to be correctly deployed to central see: http://repo2.maven.org/maven2/javax/transaction/jta/1.1 You can see the jar file there. We do not manage this dependency ourselfs. Jta is a transitive dependency, that comes

Clue for setting assembly file name

2009-11-04 Thread Jim Collings
I want to append the subversion revision to the file name of the assembly but not the war file. I believe I already have access to the ${buildNumber} as it shows up in my manifest appropriately. Clue? Jim C. - To unsubscribe,

executable uberjar

2009-11-04 Thread maven_newbie99
Hi Folks, I have figured out how to create a single .JAR file that contains all my dependencies. Using minijar:ueberjar I can extract all needed classes from the .JAR dependencies and include only those classes that are really referenced by my project. So far so good. With the old method of

Re: Specifying a different POM file

2009-11-04 Thread Stephen Connolly
why activate with properties, better to just activate the profile you want, e.g. mvn -Pdev clean install also, you will need to put all the modules you don't want run with that profile into a separate profile (probably one that is activeByDefault) that way when you specify -Pdev (which will

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Baptiste MATHUS
Well, no. The generic solution is to put a maven repository manager inside your own repository. This way, you'll be able to handle configuration very simply without depending on public repositories only. It just doesn't scale. Sometimes, you want things that'll never exist publicly. As Anders

Re: executable uberjar

2009-11-04 Thread Jesse Farinacci
Hi Frank, On Wed, Nov 4, 2009 at 10:53 AM, maven_newbie99 fr...@visign.ch wrote: But now that I create the .JAR file using minijar, I don't know how to automatically generate and include the MANIFEST.MF file. This sounds like a great requirement for minijar plugin. You should file a new

Re: Email notification on Build failure

2009-11-04 Thread Baptiste MATHUS
Well, no, I don't think so. If you read documentation http://maven.apache.org/maven-v4_0_0.xsd, the notifier tag is inside the ciMgmt one. I'm not totally sure, but I guess this is by design something that's to be read by an external ci system. Maven isn't a CI build tool. Good tools are also the

Integrate minijar into shade ? [was:Re: executable uberjar]

2009-11-04 Thread Baptiste MATHUS
I just discovered minijar. I seem to understand it does something close to the shade plugin, but that'll only let useful dependencies present. Though I am very interested in discovering this new plugin, wouldn't it be a good idea to integrate minijar as an evolution of the shade plugin ? I'm now

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
Suppose I use the same computer for server and client, right now. I've created a Hosted repository in Nexus, where the repository path is http://localhost:8081/nexus/content/repositories/ISS Then I've used the embedded maven installation inside eclipse and defined the user settings like that:

Execute a command cross-platform?

2009-11-04 Thread Jim Collings
Assume that a command exists on all OS's and is in the command execution path. 'svnversion', for example. Is there a plugin that will allow one to execute it? Jim C. - To unsubscribe, e-mail:

Strange behavior with Assembly Plugin's directory-single goal

2009-11-04 Thread Klaus Teller
Hi, Have you guys made the same experience with the directory-single goal of the assembly plugin? It is supposed to for the assembly plugin to ignore the format. The implication of this goal would be that the assembly plugin could be used to store artifacts in a specific directory. Now what i

Re: Execute a command cross-platform?

2009-11-04 Thread Stephen Connolly
exec-maven-plu...@mojo 2009/11/4 Jim Collings jlistn...@gmail.com: Assume that a command exists on all OS's and is in the command execution path.  'svnversion', for example.  Is there a plugin that will allow one to execute it? Jim C.

Anyone know how to auto-include this option when I'm running tests?

2009-11-04 Thread laredotornado
Hi, I'm using Maven 1.1 for a Java (1.5) project on Mac 10.5.6. I have a number of unit tests within a sub-folder of my test directory. In order to run everything smoothly, I must run a command like below when I cd into my test directory: maven -Dhttp.nonProxyHosts=localhost test:test My

maven-build-number buggy

2009-11-04 Thread Jim Collings
It seems to me that the API only supports execution of the 'svn' command and it's various parameters and switches. The problem is that in subversion, a different executable command is used to retrieve a proper detailed version number of the local copy, that being 'svnversion'. Using this command,

Can't seem to get rid of 1.6

2009-11-04 Thread Benson Margulies
I have set JAVA_HOME to a 1.5 java home. I have traced the mvn shell script to watch it get used. I have set source/ and target/ in the compiler plugin to 1.5. I have checked the results with help:effective-pom. Nonetheless, code that calls the new DocumentBuilderFactory.newInstance(several

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Benson Margulies
Ah, I can't use your suggestion. CXF itself has all these dependencies that have to be trimmed for some containers. I'll just have to make all the exclusions. On Wed, Nov 4, 2009 at 8:49 AM, Jesse Farinacci jie...@gmail.com wrote: Hi Benson, On Wed, Nov 4, 2009 at 8:39 AM, Benson Margulies

Re: Can't seem to get rid of 1.6

2009-11-04 Thread Benson Margulies
A bit more detail from sh -x on the mvn command ... 1.5 goes in, 1.6 comes out. + '[' -z '' ']' + '[' -n /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home ']' + '[' -x /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/jre/sh/java ']' +

RE: Can't seem to get rid of 1.6

2009-11-04 Thread Damon Jacobsen
My understanding is the by using that target attribute, maven is still using the default java installation to compile, but the byte code generated will be compatible with the java version specified. Damon -Original Message- From: Benson Margulies [mailto:bimargul...@gmail.com] Sent:

Re: Can't seem to get rid of 1.6

2009-11-04 Thread Benson Margulies
That doesn't help with bootclasspath inventory. However, I've found my problem. On MacOS snow leopard, the So-called Java 1.5 home is actually java 1.6! On Wed, Nov 4, 2009 at 1:29 PM, Damon Jacobsen dajacob...@lifetouch.com wrote: My understanding is the by using that target attribute, maven

RE: Can't seem to get rid of 1.6

2009-11-04 Thread Jamie Whitehouse
I was just about to ask that, if the 1.5 home was symlinked to 1.6. You may want to consider the animal-sniffer plugin to detect and error on Java API incompatibles. The one from Codehaus mojos should be out shortly, in the mean time Kohsuke's is working for me. -Original Message- From:

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Anders Hammar
The issue with those old Sun libraries is that they require some kind of click-through licensing agreement. That cannot be accomplished with Maven, so that's why you have to download it manually. In more recent version/implementations this limitation has been removed, my guess is that that is

Re: Clue for setting assembly file name

2009-11-04 Thread Anders Hammar
Use the finalName ( http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#finalName) paramater. /Anders On Wed, Nov 4, 2009 at 16:42, Jim Collings jlistn...@gmail.com wrote: I want to append the subversion revision to the file name of the assembly but not the war file. I

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Johan Vogelzang
Ok, that probably explains the difference between version 1.1 and 1.0.1B Thanks, Johan. 2009/11/4 Anders Hammar and...@hammar.net The issue with those old Sun libraries is that they require some kind of click-through licensing agreement. That cannot be accomplished with Maven, so that's why

Re: jta-1.0.1B.jar missing in central repo

2009-11-04 Thread Johan Vogelzang
Babptiste, I understand that this is a good solution for users who work for a comany that service a managed repo. First i didn't get the difference between the two deployed jta versions, but thanks to Anders now I know... Regards, Johan. 2009/11/4 Baptiste MATHUS m...@batmat.net Well, no. The

Re: Can't seem to get rid of 1.6

2009-11-04 Thread Stephen Connolly
Sent from my [rhymes with tryPod] ;-) On 4 Nov 2009, at 18:51, Jamie Whitehouse jamie.whiteho...@genesyslab.com wrote: I was just about to ask that, if the 1.5 home was symlinked to 1.6. You may want to consider the animal-sniffer plugin to detect and error on Java API incompatibles.

workaround for MNG-3119/MSOURCES-13

2009-11-04 Thread Jerome Lacoste
Hei, [I've found a work-around. Sending this to the list in case it saves someone else's time] I am trying to remove source:jar from being invoked and attaching the sources.jar to the build without success. The reason I don't want it is that when I run e.g. mvn --batch-mode release:prepare

Re: How can I drop a custom Velocity tool into archetype:generate?

2009-11-04 Thread stug23
Unfortunately I never did find a way to do what I described in the posting. Perhaps this could eventually be a feature in Maven 3? matinh wrote: Hi stug23! Did you make any progress on this topic? If yes, could you please explain the details. tia, - martin On 07 Sep 2009, stug23

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Tomas Pollak
We do something like this in a profile: !-- Generate JBoss artifact -- !-- We generate another war with 'jboss' classifier, excluding some jars from WEB-INF/lib --

exploded war only

2009-11-04 Thread EJ Ciramella
Is there an easy way to make a war project ONLY generate the exploded form (vs both exploded AND non-exploded)?

Maven Question

2009-11-04 Thread Roger Studner
I've dodged(?) using Maven since its inception, but quite clearly that isn't possible anymore. I was thinking of using the Jboss RESTEasy project, and then reailty struck. There are 471,932 jars (okay, that isn't true). They don't list which are for what. But of course, there are a

all assemblies run - always

2009-11-04 Thread EJ Ciramella
Hello again list - sorry for that quick worded question, but here's another (semi-related) one: When you have an assembly defined as part of the standard build plugin section AND another one nestled away in a profile, how can you avoid running the default one that's in the standard build tags?

Re: JAR subtraction from webapp WEB-INF/lib / forcing 'provided' on a list of artifacts

2009-11-04 Thread Benson Margulies
BIngo! Thanks! On Wed, Nov 4, 2009 at 5:27 PM, Tomas Pollak tomas_pol...@yahoo.com wrote: We do something like this in a profile:                    !-- Generate JBoss artifact --                    !--                        We generate another war with 'jboss' classifier,