Re: Release process

2008-03-04 Thread Vincent Massol
On Mar 4, 2008, at 6:13 AM, Wendy Smoak wrote: On Mon, Mar 3, 2008 at 7:29 PM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: There is 6 Tomcat 5.5 sandboxes, all of them running on RHE 6. There is a load balancer in front of them and we need to release every app on all of them. I am

Re: How to specify local dependency in maven2

2008-03-04 Thread Shakun Gupta
Hi Dipankar, You can not add jars from any local directory to maven. But, if the jars exist at some path like some-path/abc/jars Then you have to add a private repository in pom.xml as repositories repository layoutlegacy/layout idAbcRepository/id

upgrade from maven 1 to maven 2

2008-03-04 Thread David Delbecq
Hello, we have a few project here using maven 1. They become difficult to maintain when it come to using new plugins that are not available for maven 1. So we thought it might be time to switch to maven 2. Question is, considering about all projects are using preGoal/postGoal and

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread Samuel Le Berrigaud
Hi David, You don't to implement your whole maven.xml into one maven2 plugin. Instead you should decompose what you do in your maven.xml and find out the existing maven 2 plugins that would enable those different tasks. For example, if I take your two examples below: - copying resources of

Re: Test classpath problem in multi module project

2008-03-04 Thread VUB Stefan Seidel
Hi Petr, I have a default.persistence.properties in the artifact with the EJB3 abstract test case. There I can specify whatever I like. Also, in the jboss in deploy/ejb3.deployer/META-INF there is another persistence.properties where I specify the production properties. Stefan Petr Nejedly

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread [EMAIL PROTECTED]
David Delbecq schrieb: Hello, we have a few project here using maven 1. They become difficult to maintain when it come to using new plugins that are not available for maven 1. So we thought it might be time to switch to maven 2. Question is, considering about all projects are using

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread David Delbecq
Hello, i was hopping there was some way to take my pack of maven.xml preGoal rule and just relocate them somewhere where maven2 would use them. You suggestion will not work. For our XSLT transform, we need to pass parameters to the xslt transform engine (for that we use saxon transformer

Re: jspc precompile

2008-03-04 Thread VUB Stefan Seidel
[EMAIL PROTECTED] wrote: There must be some option to alter the default path, right?? You saw the text in jspc maven plugin doc: configuration webXml${basedir}/target/jspweb.xml/webXml ... /configuration There you can set the path Nope, I don't think that's it. There you can

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread Samuel Le Berrigaud
Hi again, I personally don't know any plugin that would take your maven.xml and insert it into the maven 2 lifecycle. There is no notion of lifecycle in maven1, just goals. I guess implementing such plugin could be possible but definitely not trivial. Indeed the xslt plugin doesn't give much

Re: Problem with snapshots

2008-03-04 Thread Papapara Tudu
I just wanted to bring this topic up again as I still don't know what the reason for my problem is. Does anyone have any other ideas? Thanks! Cheers, Papapara Tudu -- View this message in context: http://www.nabble.com/Problem-with-snapshots-tp15709789s177p15824504.html Sent from the Maven -

Re: Problem with snapshots

2008-03-04 Thread Jeff MAURY
Can you submit your output with -X option ? Jeff MAURY On Tue, Mar 4, 2008 at 11:35 AM, Papapara Tudu [EMAIL PROTECTED] wrote: I just wanted to bring this topic up again as I still don't know what the reason for my problem is. Does anyone have any other ideas? Thanks! Cheers, Papapara

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread David Delbecq
En l'instant précis du 04/03/08 11:03, [EMAIL PROTECTED] s'exprimait en ces termes: David Delbecq schrieb: Hello, we have a few project here using maven 1. They become difficult to maintain when it come to using new plugins that are not available for maven 1. So we thought it might be time

Re: javax.naming.CommunicationException: Receive timed out problem

2008-03-04 Thread VUB Stefan Seidel
Neo Anderson wrote: However, I encounter a new question. I use test case to call my ejb application (stateless session bean). Thus I found out when executing command 'mvn clean install,' it will do test first, resulting failure because the ejb artifact is still not yet deployed to the server.

Re: Problem with snapshots

2008-03-04 Thread amit kumar
Well I faced a similar problem but configuring my remote repository for snapshots worked for me. I had to add the below to my repository repository idmy-internal-site/id urlfile:///192.168.x.x/Repository/url snapshots enabledtrue/enabled

Add .classes to compilation classpath

2008-03-04 Thread georges . ravel
Hi everybody, I'm new to maven. I have a simple question that I can't find an answer anywhere: I want to include additional classes in the classpath while compiling my project but I can't find any obvious solution for this. - The classes I want to include can not be installed in a maven

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread David Delbecq
I'll try to find out solution, i began with one of our simplest project, it's made of several subprojects (using multproject maven 1 goal), but they have no custom maven.xml (should be the easiest to convert). But i don't get how to get the equivalent of extend../project.xml/extend I tried

Re: Add .classes to compilation classpath

2008-03-04 Thread amit kumar
I had concept/misconception that target/classes gets added to the classpath by maven as default? Are you dealing with generated sources? Regards, Amit On Tue, Mar 4, 2008 at 4:34 PM, [EMAIL PROTECTED] wrote: Hi everybody, I'm new to maven. I have a simple question that I can't find an

Re: Add .classes to compilation classpath

2008-03-04 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] schrieb: Hi everybody, I'm new to maven. I have a simple question that I can't find an answer anywhere: I want to include additional classes in the classpath while compiling my project but I can't find any obvious solution for this. - The classes I want to include can

Compiling only submodules in multi module projects

2008-03-04 Thread carioca
Hi, I have a multi module project in the form: pom.xml module1 pom.xml module2 pom.xml Module2 depends on module1. Both modules have the master project as parent project. I manage to compile the master project by using mvn package from the master project's base

Re: Add .classes to compilation classpath

2008-03-04 Thread georges . ravel
Oh sorry, I meant to include some .class files from some other projects which are not maven projects and they can not be easily installed as maven packages. I think it would be possible to use ant plugin but it should be something much simpler I guess? Thanks Quoting amit kumar [EMAIL

Re: Add .classes to compilation classpath

2008-03-04 Thread amit kumar
Okay. Then you can jar up the classes as told by Simon and install/deploy(look for command mvn install:install-file... or mvn deploy:deploy-file...) them to your repository. There are few jar files which are not outcome of maven projects but yet we are using at out place. This seems to be the

[ANN] Maven Shade Plugin 1.0 Released

2008-03-04 Thread Brett Porter
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.0. This plugin provides the capability to package the artifact in a uber- jar, including its dependencies and to shade - ie rename - the packages of some of the dependencies. For instructions on how to

Maven doesnt download archetypes from a custom repository

2008-03-04 Thread atouret . nospam
Hi, I deployed a custom archetype in the repository of my company. Unfortunately, I cant figure out how to retreive automatically that. I saw on JIRA I should use the remoteRepositories property but I have the same behaviour. Maven doesnt try to download the archetype from the 'local' repository

detected reference cycle, but there is no cycle conflict

2008-03-04 Thread simim
maven build aborted with the following message: Diagnosis: The projects in the reactor contain a cyclic reference ... and yes, there is a cycle in the specified dependencies, like: A - B - A but A needs B only for the compilation (because a class from A extends a class from B) and B needs A

Re: detected reference cycle, but there is no cycle conflict

2008-03-04 Thread Jan Torben Heuer
simim wrote: but A needs B only for the compilation (because a class from A extends a class from B) and B needs A only for the runtime (because B calls an object of the extended class per reflection). i specified the dependency in B as scoperuntime/scope and in A, B is referenced per default

Re: Maven doesnt download archetypes from a custom repository

2008-03-04 Thread Alexandre Touret
Hello I tried to create a project from a SNAPSHOT release of my custom archetype. It works fine ... So, in conclusion : maven can download automatically archetypes from a snapshot custom repository but not for a release repository If you can see how to solve this problem or any workaround

Re: detected reference cycle, but there is no cycle conflict

2008-03-04 Thread simim
Jan Torben Heuer-3 wrote: Try to completely eliminate the cyclic reference by using an interface in A, so that you don't need to specifiy a dependency from B to A Jan thanks, but i think thats not a smooth solution in my case. at compilation time there is definitively not cycle,

Re: detected reference cycle, but there is no cycle conflict

2008-03-04 Thread [EMAIL PROTECTED]
simim schrieb: Jan Torben Heuer-3 wrote: Try to completely eliminate the cyclic reference by using an interface in A, so that you don't need to specifiy a dependency from B to A Jan thanks, but i think thats not a smooth solution in my case. at compilation time there is

Re: detected reference cycle, but there is no cycle conflict

2008-03-04 Thread Stephen Connolly
AFAIK The scope does not matter as far as maven is concerned. This is a pom.xml cycle i.e. Maven does not know what order to examine the pom.xml files. The pom for A depends on the pom for B The pom for B depends on the pom for A In order to build the complete list of dependencies of A, it

Re: Maven doesnt download archetypes from a custom repository

2008-03-04 Thread Alexandre Touret
Hello I tried to create a project from a SNAPSHOT release of my custom archetype. It works fine ... So, in conclusion : maven can download automatically archetypes from a snapshot custom repository but not for a release repository If you can see how to solve this problem or any workaround

the archetype plugin doesnt download any archetype from a custom repository

2008-03-04 Thread Alexandre Touret
Hi, I deployed a custom archetype in the repository of my company. Unfortunately, I cant figure out how to retreive automatically that. I saw on JIRA I should use the remoteRepositories property but I have the same behaviour. Maven doesnt try to download the archetype from the 'local' repository

Re: jspc precompile

2008-03-04 Thread Dooing
YES! Now it works! Thanks! And this great help goal also helped me in getting the jetty jspc goal tu run. THANKS! Last but not least - is there a way to run the jspc goal standalone? When working on a certain jsp, without changing any backend java classes, creating the entire war seems to be

RE: compress obfuscate js files

2008-03-04 Thread John Coleman
Hi, We use the YUI compression/obfusation now, and it seems to work very nicely. You should certainly separate out your js, css and JSP, which should be easy. If you cannot, then you could get the compression plugin and tweak it to do JSP somehow. Seperation is the way to go though IMO.

Re: jspc precompile

2008-03-04 Thread VUB Stefan Seidel
[EMAIL PROTECTED] wrote: YES! Now it works! Thanks! Glad to hear it :) Last but not least - is there a way to run the jspc goal standalone? When working on a certain jsp, without changing any backend java classes, creating the entire war seems to be a bit of a pain. Is there a way to just

RE: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-03-04 Thread John Coleman
I can't see a way in Q4E to activate a profile in my settings.xml. Did you find out how to do that? My experience so far is that NetBeans mavenide seems to be streets ahead of the various eclipse efforts I have tried. Since devzuz support Q4E I am hoping it is better than what I have seen.

Re: RE: compress obfuscate js files

2008-03-04 Thread Dooing
Seperation is the way to go though IMO. You are 100% correct. Problem is, we just stared working on this project. Before, it was managed by an external company. Step by step, we will have to improve the legacy code. However, as it is now, css and javascript or totally mixed with jsp code - and

Re: jspc precompile

2008-03-04 Thread Dooing
Is there a way to just precompile the jsps to know if they'll be working / to redeploy them on tomcat server, without restarting the server? Yes, with mvn jspc:compile. :-( This says: Embedded error: The -uriroot option must specify a pre-existing directory I've read somewhere I had to

Re: jspc precompile

2008-03-04 Thread VUB Stefan Seidel
[EMAIL PROTECTED] wrote: Is there a way to just precompile the jsps to know if they'll be working / to redeploy them on tomcat server, without restarting the server? Yes, with mvn jspc:compile. :-( This says: Embedded error: The -uriroot option must specify a pre-existing directory I've

Re: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-03-04 Thread Thomas Lutz
I don't use profiles very much, I've one box for office work, another for private stuff :-)... found a post in the q4e users list: http://groups.google.com/group/q4e-users/browse_thread/thread/82ff5a7afd79ebcf refering to an issue in q4e: http://code.google.com/p/q4e/issues/detail?id=5 sorry,

Re: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-03-04 Thread Henri Gomez
I switched from m2eclipse to Q4E (still using the dev release, ie http://www.jroller.com/carlossg/entry/exist_global_acquires_devzuz). Even if Q4E is a new project and so less mature, it works great for me, ie I could use an eclipse project having both WTP and Q4E nature. Q4E is supported by

RE: RE: compress obfuscate js files

2008-03-04 Thread John Coleman
Hi, We only use JSPs to arrange content pieces (like creating a page by including header JSP and footer JSP), so our js/css is an entirely separate concern. The js handles things like form input fields all itself using DHTML/DOM. I can't believe that seperating the jss is such a big operation

Re: Problem with snapshots

2008-03-04 Thread Papapara Tudu
Jeff MAURY wrote: Can you submit your output with -X option ? Jeff MAURY Maven produced 200 kB of logs, so I'll skip the rest, to me the most relevant seem to be these few lines: [INFO] snapshot com.company.project:project:2.2-SNAPSHOT: checking for updates from myRepository [DEBUG]

Re: Problem with snapshots

2008-03-04 Thread Papapara Tudu
amit kumar-18 wrote: Well I faced a similar problem but configuring my remote repository for snapshots worked for me. I had to add the below to my repository repository idmy-internal-site/id urlfile:///192.168.x.x/Repository/url snapshots

Re: Problem with snapshots

2008-03-04 Thread amit kumar
You mean even from the local repository the maven is not able to pick up the latest of the jars? Regards, Amit On Tue, Mar 4, 2008 at 8:50 PM, Papapara Tudu [EMAIL PROTECTED] wrote: amit kumar-18 wrote: Well I faced a similar problem but configuring my remote repository for snapshots

RE: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-03-04 Thread John Coleman
Not supporting -P is a show stopper for us. We use the build number plugin, and insist that continumm builds have proper source-repo synchronization. Taking away these command line options is a big limitation. Expecting people to change their projects to suit this limitation seems unacceptable to

Re: Problem with continuum

2008-03-04 Thread Emmanuel Venisse
On Tue, Mar 4, 2008 at 4:12 PM, Tomislav Stojcevich [EMAIL PROTECTED] wrote: Isn't that what the Build Fresh option on the build definition is for? Yes and no :) The build fresh run a clean checkout instead of an update but it will be use on all runs except if you change back the value. With

escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
Hello, This is for maven-archetype-plugin related. There is a Closed-Won't Fix jira issue that doesn't have clear direction on a work around. http://jira.codehaus.org/browse/ARCHETYPE-39 What's more strange is that the many proposed methods in that jira comments only work on certain types

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
Never mind, Answered my own question. Setting velocity parameter in pom.xml will be visible as global to all other resources filter. Zemian Deng On Mar 4, 2008, at Tue Mar 4 - 11:07 AM, Zemian Deng wrote: Hello, This is for maven-archetype-plugin related. There is a Closed-Won't Fix jira

Looking for regressions from 2.0.7 to 2.0.8

2008-03-04 Thread Brian E. Fox
We are getting ready to close out the 2.0.9 release. Are there any regressions in 2.0.8 in Jira not already scheduled for 2.0.9[1]? Now is also the time to make your pleas for other critical issues that must get into 2.0.9. We're available in irc.codehaus.org #maven if you want to raise

how to dependency:sources if sources at different location

2008-03-04 Thread torsten . reinhard
Hi, I want to dependency:sources the sources from http://repo1.maven.org/maven2/org/springframework/spring/2.0.2/ But in my pom.xml I have only references to parts of spring, for example dependency groupIdorg.springframework/groupId

Re: Mevenide vs. M2Eclipse, Q for Eclipse/IAM

2008-03-04 Thread Carlos Sanchez
it's just a matter of priorities and time, there's only 28 hours in a day ;) On Tue, Mar 4, 2008 at 7:47 AM, John Coleman [EMAIL PROTECTED] wrote: Not supporting -P is a show stopper for us. We use the build number plugin, and insist that continumm builds have proper source-repo

RE: how to dependency:sources if sources at different location

2008-03-04 Thread Brian E. Fox
The sources goal tries to find sources for all your dependencies. What else is it you want to do? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 11:35 AM To: users@maven.apache.org Subject: how to dependency:sources if sources at

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 9:17 AM, Zemian Deng [EMAIL PROTECTED] wrote: Never mind, Answered my own question. Setting velocity parameter in pom.xml will be visible as global to all other resources filter. What did you need to put in pom.xml for this to work? Sounds like a good FAQ if it's not

Creating sources jar

2008-03-04 Thread Dooing
Hi, when installing a jar (MyProject-1.1.jar) of the project containing the class files - is it possible to also create install MyProject-1.1-source.jar and MyProject-1.1-java-api.jar at the same time? Thanks in advance, Stefanie -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen

Re: Compiling only submodules in multi module projects

2008-03-04 Thread Wayne Fay
Run mvn install once to install all artifacts into your local repo. Then, assuming you didn't change module1 and only change module2, you should be able to run mvn package from the module2 directory. If you make changes in module1 as well as module2, then you will need to run from the

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
Added this on top of pom.xml #set($dollar = '$') On Mar 4, 2008, at Tue Mar 4 - 12:02 PM, Wendy Smoak wrote: On Tue, Mar 4, 2008 at 9:17 AM, Zemian Deng [EMAIL PROTECTED] wrote: Never mind, Answered my own question. Setting velocity parameter in pom.xml will be visible as global to all

Re: Creating sources jar

2008-03-04 Thread VUB Stefan Seidel
The easiest way to do this is to run mvn clean install -DperformRelease For more information on what happens behind the curtain see the maven doc about the super pom. regards, Stefan [EMAIL PROTECTED] wrote: Hi, when installing a jar (MyProject-1.1.jar) of the project containing the class

Re: how to obtain project dependencies in maven 1.x?

2008-03-04 Thread Arnaud HERITIER
What do you want to say with obtain project dependencies ??In Maven 1.xdependencies are downloaded as soon as maven is started. Yu just have to define them in your pom. Arnaud On Mon, Mar 3, 2008 at 6:58 AM, san84 [EMAIL PROTECTED] wrote: hi all, am beginner to maven tool my Q is how can i

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 10:37 AM, Zemian Deng [EMAIL PROTECTED] wrote: Added this on top of pom.xml #set($dollar = '$') Doesn't that make it invalid xml? I'm not sure this is a good idea if anything other than Maven needs to consume the files. Specifically I wonder whether that line ends up

Re: Maven-eclipse-plugin - 2.5-SNAPSHOT

2008-03-04 Thread Arnaud HERITIER
Hi, It's better to ask such question on the mailing list. You should have replies quickly. Did you define a wtpversion set to 1.5 in your project's pom or in a parent ? There's an issue open somewhere in the core because we noticed that the command line parameter do not more override the

Re: Creating sources jar

2008-03-04 Thread simon
I prefer to generate the -sources jars whenever the normal jar is created. Building a source jar is a pretty quick process. This can be achieved just by binding the maven-source-plugin to the install phase. By java-api.jar, do you mean a jar containing javadocs? If so, then that can be done with

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
This is the archetype's template pom.xml, not the owning project pom.xml, and hence that line will get processed and removed by the template engine. I stated in my original email that this is the file in question: src/main/resources/archetype-resources/pom.xml. I am not saying this is a

Re: How to deploy ears to application instead of repository?

2008-03-04 Thread gotama
Excellent... thank you. I'll check it out. Does Maven's lifecycle end at the repository and deploying to an application one of those more customizable tasks that is not under the normal realm of Maven? The books I've looked through seem to end their deploy discussion around the repository and

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread Dennis Lundberg
David Delbecq wrote: Hello, we have a few project here using maven 1. They become difficult to maintain when it come to using new plugins that are not available for maven 1. So we thought it might be time to switch to maven 2. Question is, considering about all projects are using

mapping jar plugin include pattern to specific output location in jar...

2008-03-04 Thread shea
Hello, I am creating 3 classifier-differentiated jars from a single pom - each on contains the same classes, but different resources. The resources end up in the equivalent of classes/mystuff/a, classes/mystuff/b, and classes//mystuff/c where a, b, and c are the respective resources I want for

Release Plugin: How to specify next version

2008-03-04 Thread jp4
I am trying to find a way to specify the next version to be used by the maven release plugin on the command line. Basically, I have a project that is currently at version 1.0.9-SNAPSHOT and would like the next release to be 1.1.0-SNAPSHOT after the 1.0.9 version is released. I saw another

Re: Creating sources jar

2008-03-04 Thread Dooing
The easiest way to do this is to run mvn clean install -DperformRelease For more information on what happens behind the curtain see the maven doc about the super pom. WORKS! GREAT! THANKS! :-) -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN:

Compile error, cannot find locally installed resource

2008-03-04 Thread buzzterrier
Hello, I am new to Maven2 and am trying to get one of our applications building with it. I want to build myApp, and we have a home grown CoreTools.jar that is a dependency. The path of least resistance seemed to be to add CoreTools.jar as as dependency and then install it into my local

Re: maven-aar-plugin

2008-03-04 Thread Martin Gainty
Bodo- *supposedly* you can get an answer from maven users group on the exact URL for latest and greatest plugins (and live servers that host them) [EMAIL PROTECTED] Let me know if you find it because I need it to- Martin - Original Message - From: Bodo Tasche [EMAIL PROTECTED] To: [EMAIL

Fw: failure on version 2.2 maven-jar-plugin

2008-03-04 Thread Martin Gainty
All- attempting to execute an axis supplied pom.xml for one of the modules and see the following version errors //due to comcast network error I see this disabled error message [DEBUG] Skipping disabled repository apache-snapshots [DEBUG] maven-jar-plugin: using locally installed snapshot [DEBUG]

Re: Coverage report of web application integration test with cobertura-maven-plugin

2008-03-04 Thread joseph22
We have a very similar need. We have an integration-test module that has dependencies on other modules containing unit tests and would like to have the integration-test module use the instrumented classes from its dependencies to generate a cobertura report. A few questions: 1. Has this issue

Re: upgrade from maven 1 to maven 2

2008-03-04 Thread Samuel Le Berrigaud
Hey David, as you found out you have to define groupId, artifactId of your parent in the pom. I don't believe it is a lot of maintenance though as on many projects I've worked on groupdId and artifactId don't change much. You also have to specify the version. This can seems like a lot of pain to

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Wayne Fay
Its not finding the pom file because it doesn't exist, so its running out and trying to find one in remote repos. Re-run mvn install and this time specify -DgeneratePom=true along with the other parameters. Wayne On 3/4/08, buzzterrier [EMAIL PROTECTED] wrote: Hello, I am new to Maven2 and

Re: Fw: failure on version 2.2 maven-jar-plugin

2008-03-04 Thread Wayne Fay
Grep ~/.m2 for LATEST and RELEASE in *.pom files. Seems like you've got a bad pom (perhaps a snapshot?) or something along those lines. Also, you could try specifying the maven-jar-plugin version 2.2 in build for your pom. Wayne On 3/4/08, Martin Gainty [EMAIL PROTECTED] wrote: All-

Re: maven-aar-plugin

2008-03-04 Thread Wayne Fay
Ultimately, all Maven plugins are the responsibility of the team who created them. In this case, the maven-aar-plugin comes from the Apache WS team, so you should be able to find out where they have deployed it by asking them directly. Sending users like Bodo to the Maven Users list is exactly

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread buzzterrier
Thanks Wayne, That took care of that pom error at the start, but it still fails for to find the CoreTools-1.0-SNAPSHOT.jar when it tries to compile. Really odd, because it is clearly on the classpath. Wayne Fay wrote: Its not finding the pom file because it doesn't exist, so its running

Re: How to deploy ears to application instead of repository?

2008-03-04 Thread gotama
Actually, Cargo seems broken, at least for JBoss. Has anyone actually remote deployed to JBoss4x successfully with Cargo? What I have read and tried is that: 1) remote stop/start does not work; mvn cargo:start gives me only local containers can be started, 2) remote deploying to JBoss

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Karthik Krishnan
Hi, Is there a way to configure the pom creation? Thanks, Karthik On Tue, Mar 4, 2008 at 1:30 PM, buzzterrier [EMAIL PROTECTED] wrote: Thanks Wayne, That took care of that pom error at the start, but it still fails for to find the CoreTools-1.0-SNAPSHOT.jar when it tries to compile.

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Wayne Fay
What exactly do you want to know/do? Wayne On 3/4/08, Karthik Krishnan [EMAIL PROTECTED] wrote: Hi, Is there a way to configure the pom creation? Thanks, Karthik On Tue, Mar 4, 2008 at 1:30 PM, buzzterrier [EMAIL PROTECTED] wrote: Thanks Wayne, That took care of that pom error

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Karthik Krishnan
I have the module foo-util which is dependent on core module. So in my pom, I have this dependency. dependency groupIdfoo/groupId artifactIdfoo-core/artifactId version${project.version}/version scopecompile/scope /dependency The foo-core has been compiled and packaged into a

Re: How to deploy ears to application instead of repository?

2008-03-04 Thread Martin Gainty
if you need a task which will clean,compile and deploy use ant ejb deploy task http://www.informit.com/guides/content.aspx?g=javaseqNum=155 M- - Original Message - From: gotama [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, March 04, 2008 5:17 PM Subject: Re: How to deploy

Re: How to deploy ears to application instead of repository?

2008-03-04 Thread gotama
Any Maven solutions? Come on guys - we're talking about copying a file from point a to point b. Cargo can't do this? Maven can't do this? If you can't tell me how Cargo can do it, how can I simply scp a file in Maven? Thanks. -- View this message in context:

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Martin Gainty
In the same folder as the jar you should see CoreTools-1.0-SNAPSHOT.pom M- - Original Message - From: buzzterrier [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, March 04, 2008 3:47 PM Subject: Compile error, cannot find locally installed resource Hello, I am new to

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread buzzterrier
Yep. It contains: ?xml version=1.0 encoding=UTF-8?project modelVersion4.0.0/modelVersion groupIdcom.foo.core/groupId artifactIdCoreTools/artifactId version1.0-SNAPSHOT/version descriptionPOM was created from install:install-file/description /project mgainty wrote: In the same

Unit Testing Hibernate/Entities/EJB3/EE (Req Advice)

2008-03-04 Thread Andrew Hughes
Hi All, This seems to be a hot topic at the moment, but there is very little documentation and references I can find... and so I'm asking for your help. *Background:* One of Maven's most brilliant functions is it's lifecycle's ability to slip straight into agile+continuous integration

Re: How to deploy ears to application instead of repository?

2008-03-04 Thread Wayne Fay
It is perfectly legit to use Ant tasks in conjunction with Maven. Why write a whole plugin etc when the functionality is already available via Ant? Wayne On 3/4/08, gotama [EMAIL PROTECTED] wrote: Any Maven solutions? Come on guys - we're talking about copying a file from point a to point

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Wayne Fay
No. Wayne On 3/4/08, Karthik Krishnan [EMAIL PROTECTED] wrote: I have the module foo-util which is dependent on core module. So in my pom, I have this dependency. dependency groupIdfoo/groupId artifactIdfoo-core/artifactId version${project.version}/version scopecompile/scope

install:install-file via POM file

2008-03-04 Thread gotama
How can I do: mvn install:install-file not from the command line, but configured in a POM? I'd like to automate this as the EAR I am installing to the repo will change frequently, but is not built w/ Maven. Until the module is Mavenized, I simply want a module POM to copy an EAR from a

plugin.xml

2008-03-04 Thread EJ Ciramella
What's the correct way to include this file when creating a maven-plugin? I have it in src/main but it's not getting included with my plugin jar - am I supposed to alter the jar plugin configuration to include this?

Re: install:install-file via POM file

2008-03-04 Thread Wayne Fay
As far as I know, you can't. Most people would simply write a shell script to deal with repeatedly installing wars into a repo with different versions. Wayne On 3/4/08, gotama [EMAIL PROTECTED] wrote: How can I do: mvn install:install-file not from the command line, but configured in a

RE: plugin.xml

2008-03-04 Thread EJ Ciramella
Nvm - * @aggregator I thought you had to do * @aggregator=true. Apparently just having it = true. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 9:04 PM To: users@maven.apache.org Subject: plugin.xml What's the correct way to include

running optional ant tasks with maven-antrun-plugin

2008-03-04 Thread gotama
How can I run optional ant tasks with maven-antrun-plugin ? When I run it, it is missing the optional jar from the classpath - even though the jar is properly placed in %ANT_HOME%/lib/ and exec'ing the same ant task in native ant works fine. so there is some disconnect w/ the classpath... My

Re: running optional ant tasks with maven-antrun-plugin

2008-03-04 Thread Wayne Fay
Maven does not know about your ANT_HOME, nor does it use Jars from your ANT_HOME. To use optional Ant tasks, you must declare them as dependencies of the plugin. build plugins plugin dependencies dependency... Wayne On 3/4/08, gotama [EMAIL PROTECTED] wrote: How can I run optional ant tasks

Problem with deploy in maven 2.0.7

2008-03-04 Thread Arun Kathirvel Sarojam
Hi, when i try to call mvn deloy i am getting error The plugin 'org.apache.maven.plugins:maven-deploy-plugin' does not exist or no valid version could be found but in my local repository all the versions of maven-deploy jars are there... i need to deploy my snapshot.jar to

Re: Problem with deploy in maven 2.0.7

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 9:13 PM, Arun Kathirvel Sarojam [EMAIL PROTECTED] wrote: when i try to call mvn deloy i am getting error The plugin 'org.apache.maven.plugins:maven-deploy-plugin' does not exist or no valid version could be found but in my local repository all the versions

Re: Problem with deploy in maven 2.0.7

2008-03-04 Thread Arun Kathirvel Sarojam
Hi, thanks for your fast reply.. Actually my requirement is to track every successful build. so after every successfull build i have to version that package (in the sense jar or war) then keep it in some local location or repository. how can i achieve this.does snapshotrepository

Re: maven-aar-plugin

2008-03-04 Thread Upul Godage
It has been answered in the Axis mailing list. For further questions you can ask from the Axis mailing list. With version set to 1.3 in pom.xml build plugins plugin groupIdorg.apache.axis2/groupId artifactIdaxis2-aar-maven-plugin/artifactId

Re: Problem with deploy in maven 2.0.7

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 10:03 PM, Arun Kathirvel Sarojam [EMAIL PROTECTED] wrote: thanks for your fast reply.. Actually my requirement is to track every successful build. so after every successfull build i have to version that package (in the sense jar or war) then keep it in some local

Re: dependency-copy

2008-03-04 Thread Upul Godage
I think assembly plugin does this. Here all the dependencies are copied to a lib directory in the final release. http://maven.apache.org/plugins/maven-assembly-plugin/howto.html assembly idbin/id dependencySets dependencySet outputDirectorylib/outputDirectory

dependency-copy

2008-03-04 Thread Saxena, Sandeep
I want to copy all transitive dependencies for a list of artifacts in my assembly. If I use dependency: copy with a list of artifacts I just get all the jars defined In my list and not transitive dependencies. And if I use dependency: copy-dependencies, it takes all the artifacts from my

  1   2   >