Re: RE : [ANN] Continuum 1.0 Alpha 4 Released

2005-09-20 Thread Emmanuel Venisse
I don't test empty password with ths url scm:cvs:pserver:anoncvs:@ip:/local/cvs/Repository:module Can you try it? If it doesn't work, you should run cvs login on your machine for this cvsroot Emmanuel Olivier Lamy wrote: Hi all, I have a trouble with the cvs password which is apparently

Re: versioned jars and InstallShield

2005-09-20 Thread Wim Deblauwe
And in Maven 1.x ? 2005/9/20, Edwin Punzalan [EMAIL PROTECTED]: If you don't want to use the default artifact naming convention used by m2, you can set the filename of the package in your pom.xml like so: project ... build finalNamename/finalName /build ... /project with the

RE: Re: clean plugin

2005-09-20 Thread Jörg Schaible
jan_bar wrote on Monday, September 19, 2005 6:27 PM: Thanks Jörg, it was published in http://article.gmane.org/gmane.comp.jakarta.turbine.maven.user/19338. The solution replaces the multiproject:clean goal completely (the plugin should use this impl). What is the purpose of the postGoal?

mails from gmane gateway marked as (possible) spam

2005-09-20 Thread jan_bar
Hi, I want to contact administrator of this list. I post through gmane gateway and my mail are marked as spam: X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=FORGED_YAHOO_RCVD,PRIORITY_NO_NAME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Can someone look into this issue? Jan

Re: mails from gmane gateway marked as (possible) spam

2005-09-20 Thread Brett Porter
umm, it says Spam-Status: No, and your mails get through. Please direct any further questions to [EMAIL PROTECTED] - Brett On 9/20/05, jan_bar [EMAIL PROTECTED] wrote: Hi, I want to contact administrator of this list. I post through gmane gateway and my mail are marked as spam:

[m2] Extending Eclipse plugin

2005-09-20 Thread Rinku
Hi, I have a use case where I need to reuse/extend the functionality provided by existing M2 Eclipse plugin. The use case involves creating deployables directory from defined project properties and some other updates to .wtpmodules contents. What I want to do is to create sort of a wrapper

Fw :[m2-beta-1] Ear plugin: root-context copied JARs/WARs

2005-09-20 Thread fabrice . belingard
Nobody has an answer for these 2 little questions? For the second question, I've struggled with scopes, but it seems that because of the transitive dependencies feature, the Ear plugin packages every Jar set to compile/runtime in the pom of the War... Fabrice.

[m2] finalName in install and version for different environments

2005-09-20 Thread martin . kuhn
I have a project to build / deploy for three different enviroments (test,integration, production with different configs) and want to set the jar file name depending on the active profile. I know one possibility is with the finalName Element. The jar process uses the finalName and generate the

Error in m2 eclipse plugin

2005-09-20 Thread oddmar.sandvik
This is an issue that was pointed out on this mailinglist in 2003 on maven 1.0 and eclipse: When I run maven eclipse, it generates the .classpath file with the following entry: classpathentry kind=var rootpath=JRE_SRCROOT path=JRE_LIB sourcepath=JRE_SRC/ whereas when I create a

m2 - cannot find jta in global repository

2005-09-20 Thread oddmar.sandvik
I get the following error in my build. Any suggestions? I see that the pom is there, but the jar is not. Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Oddmar

Re: m2 - cannot find jta in global repository

2005-09-20 Thread Allan Ramirez
Hi there, I think jta is a sun jar. you must manually download it and install it to your local repo. You can see the url inside the pom. Regards, -allan [EMAIL PROTECTED] wrote: I get the following error in my build. Any suggestions? I see that the pom is there, but the jar is not.

Re: m2 - cannot find jta in global repository

2005-09-20 Thread Ralph Pöllath
On 20.09.2005, at 10:54, Allan Ramirez wrote: Hi there, I think jta is a sun jar. you must manually download it and install it to your local repo. You can see the url inside the pom. Or you could use geronimo-spec.geronimo-spec-jta as a replacement. If jta is a transitive dependency, the

SV: m2 - cannot find jta in global repository

2005-09-20 Thread oddmar.sandvik
Thanks Ralph, I think that is the key here, since it was Hibernate that generated this dependency as you rightly guessed. Cheers, - Oddmar -Opprinnelig melding- Fra: Ralph Pöllath [mailto:[EMAIL PROTECTED] Sendt: 20. september 2005 11:06 Til: Maven Users List Emne: Re: m2 - cannot

Re: m2 - cannot find jta in global repository

2005-09-20 Thread Ralph Pöllath
On 20.09.2005, at 11:15, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks Ralph, I think that is the key here, since it was Hibernate that generated this dependency as you rightly guessed. Glad I could help. With Hibernate, the same works for javax.transaction.jta and

[m1.1-b2] an empty string is not an empty string jelly bug

2005-09-20 Thread Geoffrey
Try the following line in jelly: echo0${res.targetPath}0 0${res.targetPath == ''}0/echo My output was: [echo] 00 0false0 So the string is empty but still it's not equal to empty. Must be a null != empty bug, but is this possible in Jelly? It wasn't before, because it breaks backwards compability

Re: [m1.1-b2] an empty string is not an empty string jelly bug

2005-09-20 Thread Geoffrey
Although the bug still exists, adding targetPath solved my problem with the idea plugin btw: resource directory${basedir}/src/resources/directory targetPath/targetPath!-- It should be '' instead of null (default) for the idea 1.6 plugin --

[m2] assembly plugin

2005-09-20 Thread Ashley Williams
Does anyone know how to use assembly:assembly, in particular what the descriptor is supposed to be? I did hardcode it as a path to my pom from within my pom (that seems wrong) which made the plugin run without errors, but I didn't see any output file. Thanks -AW

Re: Dependancy on other source project without use modules

2005-09-20 Thread Kristian Nordal
On Sep 19, 2005, at 10:23 PM, Miks Rozenbergs wrote: Kristian Nordal kristian.nordal at gmail.com writes: You need some way of connecting them together. If you don't have a parent project, then they are just three independent projects. Then you must put the dependencies in the

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
No answers so far, but this seems to be basic question for J2EE development with maven. Maybe I was not clear enough. The client code generated for EJB must be included in WAR file. I don't know how to do this with maven 1.1 beta 2 because war plugin copies only type=jar dependencies and EJB

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread Arnaud HERITIER
I never used it but it seems to be a missing feature in the war plugin. Can you open an issue. We'll fix it ASAP. The behavior of the ejb plugin was certainly changed recently and the war plugin wasn't updated. We should add the support for types : ejb and ejb-client (generated if

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
http://jira.codehaus.org/browse/MPWAR-50. I am starting with maven and j2ee, so my opinion may be of small value. For now I added: j:if test=${dep.type =='ejb'} ant:copy todir=${webapp.build.lib} file=${lib.path}/ /j:if Thanks, Jan PS: Can I create dependency on plugin patch? Or at least check

Re: [m2] Extending Eclipse plugin

2005-09-20 Thread Kenney Westerhof
On Tue, 20 Sep 2005, Rinku wrote: Hi, I have a use case where I need to reuse/extend the functionality provided by existing M2 Eclipse plugin. The use case involves creating deployables directory from defined project properties and some other updates to .wtpmodules contents. What I want

additional xml-files in WEB-INF directory

2005-09-20 Thread Filip Polsakiewicz
Hi, I am quite new to the maven:war plugin. I set up the directories as suggested (i.e. main/src/webapp) and added a WEB-INF Directory in the webapp directory since I need to add some additional xml files (struts-config.xml). Unfortunately when I run maven war the war file generated includes my

additional xml-files in WEB-INF directory

2005-09-20 Thread Filip Polsakiewicz
Hi all, I am quite new to the maven war plugin. I have the following problem: I set up the following directory strutcture: Main / src / webapp Main / src / webapp / WEB-INF Main / src / java Main / src / resources I want to include some additional xml-files in my WEB-INF directory.

Sorry for the double posting (n.T.)

2005-09-20 Thread Filip Polsakiewicz

Re: [m2] assembly plugin

2005-09-20 Thread Daniel Schömer
Hi. Ashley Williams wrote: Does anyone know how to use assembly:assembly, in particular what the descriptor is supposed to be? I did hardcode it as a path to my pom from within my pom (that seems wrong) which made the plugin run without errors, but I didn't see any output file. As far

Building eclipse plugins with maven, where can I find the eclipse jars?

2005-09-20 Thread Lucas Persson
Hi, I want to build my eclipse plugins with maven (maven1) Where can I find the eclipse jars to compile against? Or has everybody put them in an internal repository? I also got the maven-eclise-plugin-plugin but is it so that I have to maintain two lists of dependent jars; one in project.xml

Re: additional xml-files in WEB-INF directory

2005-09-20 Thread Jesse McConnell
I use this setup successfully ./src/main/webapp/WEB-INF ./src/main/webapp/WEB-INF/web.xml ./src/main/webapp/WEB-INF/client-config.wsdd ./src/main/webapp/WEB-INF/server-config.wsdd ./src/main/webapp/index.jsp ./src/main/webapp/fingerprint.jsp ./src/main/webapp/happyaxis.jsp

Re: additional xml-files in WEB-INF directory

2005-09-20 Thread Yann Le Du
Success here also with an XML file. ~ ./src/main/webapp/WEB-INF ~ +-- web.xml ~ +-- test.xml results into : ~ ./target/artifactId-version/WEB-INF ~ +-- web.xml ~ +-- test.xml Which version of Maven are you using ? Also, you said you were using Main / src / webapp, didn't you mean

RE: additional xml-files in WEB-INF directory

2005-09-20 Thread Filip Polsakiewicz
Hi, that was the mistake: my directory was main/src/webapp and the property was set to src/main/webapp Thanks Filip -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 2:18 PM To: Maven Users List Subject: Re: additional xml-files in WEB-INF

[m2] trouble accessing internal repository with beta1

2005-09-20 Thread Ralph Pöllath
Hi, since I upgraded to m2 beta 1, I'm having trouble accessing artifacts in my internal company-wide repository. m2 -X deploy prints ... [INFO] [deploy:deploy] [INFO] Retrieving previous build number from internal-repo and then hangs forever. I assume it's not an authentication problem,

RE: [m2] trouble accessing internal repository with beta1

2005-09-20 Thread Yann Le Du
Hi, I'm also having troubles accessing artifacts from my corp repository. More exactly, I can access plain versions (e.g. 1.0.3), but not snapshots (e.g., 1.0.4-SNAPSHOT). Here's my conf, which was working well before m2b1 : [1] On my corp. repo : ~ common-framework ~ +--

Re: [m1.1b1] log4j error

2005-09-20 Thread Wim Deblauwe
Is this solved in Maven 1.1 beta 2? Also what is the JIRA issue related to this problem? 2005/8/25, Arnaud HERITIER [EMAIL PROTECTED]: you can safely ignore them we'll try to remove them as soon as possible. an issue is open in velocity Arnaud On 8/25/05, Wim Deblauwe [EMAIL

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread Arnaud HERITIER
On 9/20/05, jan_bar [EMAIL PROTECTED] wrote: http://jira.codehaus.org/browse/MPWAR-50. I am starting with maven and j2ee, so my opinion may be of small value. For now I added: j:if test=${dep.type =='ejb'} ant:copy todir=${webapp.build.lib} file=${lib.path}/ /j:if It's good. Thanks,

RE: [m2] trouble accessing internal repository with beta1

2005-09-20 Thread Yann Le Du
Erratum : the [3] sample is common-framework/1.0.4-SNAPSHOT/maven-metadata-local.xml, of course. --- Yann Le Du [EMAIL PROTECTED] a écrit : Hi, I'm also having troubles accessing artifacts from my corp repository. More exactly, I can access plain versions (e.g. 1.0.3), but not snapshots

Re: [m1.1b1] log4j error

2005-09-20 Thread Arnaud HERITIER
Not it's not yet resolved :-( I'll take a look at it. I'm not sure that an issue was opened. Arnaud On 9/20/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Is this solved in Maven 1.1 beta 2? Also what is the JIRA issue related to this problem? 2005/8/25, Arnaud HERITIER [EMAIL PROTECTED]:

Re: SPAM: Problem with authenticated POM URLs

2005-09-20 Thread Mark Hobson
Hi Emmanuel, I found the problem deep within plexus, see: http://jira.codehaus.org/browse/PLX-157 Do you think this will get in for alpha4? Cheers, Mark On 20/09/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: Hi Mark, authorized urls are http[s]://[username:[EMAIL

[m2] reasons for sticking with maven

2005-09-20 Thread Ashley Williams
Sincere apologies to the dev team if this email seems like a troll, I absolutely don't mean it to be. I'm aware that they continue to do outstanding work and are few in number. The more I use Maven the more I get a feel for the size and shape of it and find myself looking for features that

Re: [m2] assembly plugin

2005-09-20 Thread Ashley Williams
Thanks that worked although I didn't find what I was hoping for in the resulting zip file. On 20 Sep 2005, at 12:49, Daniel Schömer wrote: Hi. Ashley Williams wrote: Does anyone know how to use assembly:assembly, in particular what the descriptor is supposed to be? I did hardcode it as a

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread Arnaud HERITIER
I opened on Jira a release 1.6.2 So we're working on the 1.6.2-SNAPSHOT The name of the patch isn't important Arnaud On 9/20/05, jan_bar [EMAIL PROTECTED] wrote: Thanks Arnaud, one more question: If I want to create my patch, which version of the plugin should I use so it will not

Re: Fw :[m2-beta-1] Ear plugin: root-context copied JARs/WARs

2005-09-20 Thread Kenney Westerhof
On Tue, 20 Sep 2005 [EMAIL PROTECTED] wrote: Hi, Nobody has an answer for these 2 little questions? Sorry but I missed this one! For the second question, I've struggled with scopes, but it seems that because of the transitive dependencies feature, the Ear plugin packages every Jar set to

[ANN] Continuum 1.0 Alpha 4 Released

2005-09-20 Thread Emmanuel Venisse
The Maven team is pleased to announce the 1.0-alpha-4 release of Continuum. This release offers users both an advance look at what's in Continuum 1.0 and a head start in helping to shape the final Continuum release. You can find everything here: http://maven.apache.org/continuum The binaries

[m2-b1] POM Inheritance and Variables

2005-09-20 Thread David Pick
Hi, I have the following section in a parent POM: pluginManagement plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Comments are inline. Please bear with me, I think my responses are as lengthy as your original email! :( Cheers, John Ashley Williams wrote: | Sincere apologies to the dev team if this email seems like a troll, I | absolutely don't mean it to be.

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread Arnaud HERITIER
I published a snapshot you can install it locally maven plugin:download -Dmaven.repo.remote=http:www.ibiblio.org/maven,http://cvs.apache.org/repository/ -DgroupId=maven http://cvs.apache.org/repository/-DgroupId=maven-DartifactId=maven-war-plugin -Dversion= 1.6.2-SNAPSHOT or you can reference it

Re: [m2-b1] POM Inheritance and Variables

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 System vars are accessed implicitly in m2...try: configuration ~ debug${build.debug}/debug ~ source${build.jdk}/source ~ target${build.jdk}/target /configuration Cheers, john David Pick wrote: | Hi, | | I have the following section in a parent

Re: [m2] assembly plugin

2005-09-20 Thread Daniel Schömer
Ashley Williams wrote: On 20 Sep 2005, at 12:49, Daniel Schömer wrote: Ashley Williams wrote: Does anyone know how to use assembly:assembly, in particular what the descriptor is supposed to be? I did hardcode it as a path to my pom from within my pom (that seems wrong) which made the plugin

Re: [m2-b1] POM Inheritance and Variables

2005-09-20 Thread Trygve Laugstøl
On Tue, 2005-09-20 at 16:07 +0100, David Pick wrote: Hi, I have the following section in a parent POM: pluginManagement plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId

RE: [m2-b1] POM Inheritance and Variables

2005-09-20 Thread David Pick
John, Many Thanks, that did the trick. Cheers Dave -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: 20 September 2005 16:22 To: Maven Users List Subject: Re: [m2-b1] POM Inheritance and Variables -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 System vars are

Re: [m2] assembly plugin + a few instructions

2005-09-20 Thread Ashley Williams
I was expecting the jars from my dependencies section to be there. However I did manage to find an example of a descriptor file by greping in the maven source - it's under maven-assembly-plugin/ For anyone who's interested I'm actually trying to see if there is enough in Maven to allow me to

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Jason van Zyl
On Tue, 2005-09-20 at 14:19 +0100, Ashley Williams wrote: 1. Usability from Ant - there are hundreds of Ant targets out there that are useful for me today. I can't justify waiting for them to be rewritten as Maven equivalents not only because I need functionality today, but also because

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Dave Neuer
John, I appreciate your thoughful and reasonable responses to questions/issues like this. I have to second Ashley on this one. Please try not to take the following personally, but consider it one person's bad experience w/ trying to use m2 to do what seems like a simple thing... I really like

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
Thanks for your time Arnaud, it works for me. Vincent should fix code for http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html?page=4 Jan Arnaud HERITIER [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I published a snapshot you can install it locally maven plugin:download

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread Arnaud HERITIER
He should add a requirement for the war plugin. I'll see with him.. Arnaud On 9/20/05, jan_bar [EMAIL PROTECTED] wrote: Thanks for your time Arnaud, it works for me. Vincent should fix code for http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html?page=4 Jan Arnaud HERITIER [EMAIL

RE : [ANN] Continuum 1.0 Alpha 4 Released

2005-09-20 Thread Olivier Lamy
Hi all, I have a trouble with the cvs password which is apparently needed ?? I have a scm url : scm:cvs:pserver:[EMAIL PROTECTED]:/local/cvs/Repository:module. The password associated to anoncvs is an empty password. The output generated is : Exception:Cannot checkout sources.Exception while

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Ashley Williams
On 20 Sep 2005, at 16:15, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Comments are inline. Please bear with me, I think my responses are as lengthy as your original email! :( Cheers, John Ashley Williams wrote: | Sincere apologies to the dev team if this email seems like

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Ashley Williams
I appreciate your response and I hope this information is useful to others as well as myself. With regards to comparing Ivy to Maven you might be right in saying it's comparing apples to oranges. Nevertheless it sure doesn't look that way to the newbie and I would say that you've made that

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
John is basically stating the very thing that I'm against in the statement below. I have a 3rd party command line utility from www.agitar.comhttp://www.agitar.com, that basically does unit tests against our code. I want to write (and have started writing) an M2 plugin to execute the java command

[a4] Build makes Continnum freeze

2005-09-20 Thread Yann Le Du
Hi, Thank you for the alpha-4, it is more complete and the Schedules feature seems like a killer one ! Though, I'm still the same kind of problems as with alpha-3 (precision, I am using Red Hat Linux). The scenario is : * the schedule launches a build * the project is correctly checked-out *

RE: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread Vincent Massol
-Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: mardi 20 septembre 2005 18:10 To: Maven Users List Subject: Re: ejb and war plugins (maven 1.1 beta2) He should add a requirement for the war plugin. I'll see with him.. I've just done that and committed

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Vincent Massol
-Original Message- From: Wendell Beckwith [mailto:[EMAIL PROTECTED] Sent: mardi 20 septembre 2005 19:15 To: Maven Users List Subject: Re: [m2] reasons for sticking with maven John is basically stating the very thing that I'm against in the statement below. I have a 3rd party

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
Probably because I'm not aware of what your talking about. Nonetheless, while there may be another way of doing what I need, the ability to simple specify a command line to a java process that is something that has tremendous capability. Can users overdo it sure, but in an effort to protect

Announcements mailing list

2005-09-20 Thread Richard Wallace
Hello, With the continued development on maven 1.1 and 2.0 and continuum it would be nice to have an announcements mailing list so that people can be notified when things are released. I mean, I'm not a regular user mailing list subscriber and I don't visit the maven site often because

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've actually done something just like this in the past, in order to call a Make-based build. IMO, you want to wrap a command line call in a plugin, to formalize the parameters - required and optional - which constitutes a valid invocation of that

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Jason van Zyl
On Tue, 2005-09-20 at 11:52 -0400, Dave Neuer wrote: To which I have to say: why the hell did someone develop surefire in the first place? Short answer: classloader issues. Longer answer is that I wanted something like SuiteRunner which Surefire is based on:

Re: Announcements mailing list

2005-09-20 Thread Jason van Zyl
On Tue, 2005-09-20 at 10:32 -0700, Richard Wallace wrote: Hello, With the continued development on maven 1.1 and 2.0 and continuum it would be nice to have an announcements mailing list so that people can be notified when things are released. I mean, I'm not a regular user mailing list

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No one is saying you have to follow the party line here. You're free to develop your own maven plugins to solve any problem you like, even run your toaster if you want. Maven will load your plugin, provided you add your groupId to the list of

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Chris Berry
Ashley, I recommend that you pull my AntFile Plugin (as a ZIP) from the M2 Jira. I think you will see that this provides exactly what you're asking for -- a simple, clean blending of Ant w/ Maven (Included is an Axis WSDL2Java plugin that demonstrates it's usage pattern). You script with Ant, roll

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
Just for clarification are you suggesting that a plugin that needs to execute a java process should be designed as an ant script, and the plugin would simply pass parameters to the ant script? I ask because I don't see how this is less maintenance than my current plugin that provides intelligent

Re: Announcements mailing list

2005-09-20 Thread Richard Wallace
Jason van Zyl wrote: We use the announce@apache.org for this. It's relatively low traffic, but we probably won't create an announcement list specifically for Maven itself. Ah I see. Didn't know that. Should probably be mentioned on the mailing lists page for people like me. Guess I'll go

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was actually referring to a couple of implementation patterns. 1. Wrap a command-line invocation. ~ Using commons-exec or any other Runtime.exec() wrapper, you can build a mojo that will pull in parameters from the Maven build process, format

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Carsten Ziegeler
Dave Neuer wrote: However, I don't like having no ability to reuse test code from one project in another project which depends on it. Example: project A has interface Blah and interface BlahDAO to persist blahs. I have AbstractBlahDAOTest which has testXXX methods which test *interface

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
I just re-read you email and I'm confused by your comment, please clarify if possible. But isn't what I've been hopefully explaining is the creation of a mojo that wraps a command line process. I have written the mojos (agitate and dashboard) an users only need to reference the plugin in their

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 that sounds perfectly sane, except it sounds like you only need an API for calling a java main() method and handling output than an actual plugin. Once you have that API, you're set, it sounds like...then your plugin can depend on that api, and give

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Trygve Laugstøl
On Tue, 2005-09-20 at 13:09 -0500, Wendell Beckwith wrote: I just re-read you email and I'm confused by your comment, please clarify if possible. But isn't what I've been hopefully explaining is the creation of a mojo that wraps a command line process. I have written the mojos (agitate and

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
YES!! That is exactly what I need/want. Sorry if I wasn't clear before, but I'm definitely not for the embedding of command lines in he pom. Now that I understand where you're coming from, I can completely agree with you that embedding this stuff in a pom would definitely lead to cut-n-paste code

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 it's not a command line execution...it's a java main() call...right? Trygve Laugstøl wrote: | On Tue, 2005-09-20 at 13:09 -0500, Wendell Beckwith wrote: | |I just re-read you email and I'm confused by your comment, please clarify if |possible. But

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 so, all that remains is to write that API that you need :-) I've been thinking that we may need a sub-project within maven (with separated release cycle) to address plugin utility libraries...constructing a classloader from the project dependencies,

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, fair enough...but the maven process should probably install a security manager to restrict who can call System.exit(..) (i.e. no-one can! :) But there is still the potential for issues surrounding OutOfMemoryError's and the like. If you're going

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
I will look into commons-exec since I wasn't aware of it and thnx for all the help. Wb On 9/20/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, fair enough...but the maven process should probably install a security manager to restrict who can call

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Dave Neuer
Yes, that's a workaround I'm not OK with, so a developer cannot be in /masterProject/projectA and do m2 test, see BUILD SUCCESSFUL and think that everything is OK and check in a bunch of broken code because no tests were run -- since the tests for A don't live in A. Again, I did write a

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 any time. Wendell Beckwith wrote: | I will look into commons-exec since I wasn't aware of it and thnx for all | the help. | | Wb | | | On 9/20/05, John Casey [EMAIL PROTECTED] wrote: | | Ok, fair enough...but the maven process should probably

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Trygve Laugstøl
On Tue, 2005-09-20 at 14:30 -0400, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 so, all that remains is to write that API that you need :-) I've been thinking that we may need a sub-project within maven (with separated release cycle) to address plugin utility

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Carsten Ziegeler
Dave Neuer wrote: Yes, that's a workaround I'm not OK with, so a developer cannot be in /masterProject/projectA and do m2 test, see BUILD SUCCESSFUL and think that everything is OK and check in a bunch of broken code because no tests were run -- since the tests for A don't live in A. Oh no,

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Mark Hobson
Isn't this covered by http://jira.codehaus.org/browse/MNG-932 ? Mark On 20/09/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Another solution might be an attached artifact (logically attached to the main .jar in the repository via the metadata) that

Re: [m2] reasons for sticking with maven

2005-09-20 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yeah, that looks like it. I wasn't aware of that issue...too new, I guess :) Thanks, Mark. john Mark Hobson wrote: | Isn't this covered by http://jira.codehaus.org/browse/MNG-932 ? | | Mark | | On 20/09/05, John Casey [EMAIL PROTECTED] wrote: | |

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Dave Neuer
Created: Today 08:00 AM. That is exactly what I'm talking about. I would have been happy to ask about donating my code, but it's unclear to me from the referenced JIRA entry whether they're talking about making the regular compile and install plugins do the test artifact generation (plus making

Re: [m2] assembly plugin + a few instructions

2005-09-20 Thread Daniel Schömer
Ashley Williams wrote: I was expecting the jars from my dependencies section to be there. [...] Which resulted in a compressed file(s) containing my jar file and its dependencies. I was then able to uncompress it and launch with the java -jar command. Well, you should have tried the

Re: [m2] assembly plugin + a few instructions

2005-09-20 Thread Ashley Williams
Ok, the name of the file may suggest that it would achieve my goals, but in practice it doesn't. I did give it a go and it resulted in all my jar dependencies being unpacked - definitely not what I want. Looking at the xml the line which does this is: unpacktrue/unpack Additionally it

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Chris Berry
Yes, it is the equivalent. But one thing confuses me, it's not about executing a java process (per se) -- it's about executing Ant. And it's not about maintenance. I think the heart of the discussion is reuse. Not reinventing what Ant already does. Providing a mechanism for reuse and versioning

Working with Branches

2005-09-20 Thread Jon Strayer
Today, for the first time ever, I needed to branch a project in CVS. How do I access that branch with Maven?

Re: Announcements mailing list

2005-09-20 Thread Brett Porter
Do we want to create/use [EMAIL PROTECTED] in addition? Perhaps to put up plugin releases? Or maybe [EMAIL PROTECTED] since it already exists with its 5 or so subscribers and 1 post :) - Brett On 9/21/05, Trygve Laugstøl [EMAIL PROTECTED] wrote: On Tue, 2005-09-20 at 10:52 -0700, Richard

Re: [m2] site:deploy password

2005-09-20 Thread Brett Porter
Please file a JIRA request for the command line entry, that should be possible now. Mostly we use private keys without a passphrase for this at the moment. I'm not aware of why it might be hanging. Can you scp the file to the remote server outside of Maven? Does the ssh server logs show

Re: [m2] faulty scp protocol handling in wagon?

2005-09-20 Thread Brett Porter
I have experienced this too - there is an open bug I believe. I'm not sure if the problem is in jsch, or our use of jsch though. I'd welcome any assistance you can provide. Thanks, Brett On 9/21/05, Orjan Austvold [EMAIL PROTECTED] wrote: Often when downloading new artifacts from a scp

RE: Working with Branches

2005-09-20 Thread Jay H. Hartley
In Maven 1 properties: maven.scm.tag=BRANCH_TAG_NAME See: http://maven.apache.org/reference/plugins/scm/properties.html In Maven 2 POM: scm ... tagBRANCH_TAG_NAME/tag ... /scm See: http://maven.apache.org/maven2/maven-model/maven.html#class_Scm I haven't used Maven 2

Re: [m2] Extending Eclipse plugin

2005-09-20 Thread Rinku
Hi Kenney, My comments inline... Kenney Westerhof wrote: On Tue, 20 Sep 2005, Rinku wrote: Hi, I have a use case where I need to reuse/extend the functionality provided by existing M2 Eclipse plugin. The use case involves creating deployables directory from defined project properties

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Brett Porter
Ugh, what a long thread to wake up to when you've got a headache :) I think there have been some very good answers here already, but I'll add my own thoughts for completeness. On 9/20/05, Ashley Williams [EMAIL PROTECTED] wrote: Sincere apologies to the dev team if this email seems like a

Re: [m2] assembly plugin

2005-09-20 Thread Johnny R. Ruiz
Ashley Williams wrote: Does anyone know how to use assembly:assembly, in particular what the descriptor is supposed to be? I did hardcode it as a path to my pom from within my pom (that seems wrong) which made the plugin run without errors, but I didn't see any output file. Thanks -AW

Re: .cvspass file not found on windows.

2005-09-20 Thread Jesse McConnell
the .cvspass file ought to be created when you do a cvs login there are a host of issues that can crop up with this on a windows box though..least of which is where the file is created.. I would make sure that you set a HOME environment variable and make sure you see it set in the shell

Re: .cvspass file not found on windows.

2005-09-20 Thread Eric Giguere
Try running: changelog:create-cvspass Hope it helps Eric. Mick Knutson wrote: I am trying to setup scm in maven, and I am using wincvs to access my cvs server. I have searched, and do not find a .cvspass file and maven is also complaining about this. How do I fix this issue? Create a

  1   2   >