Re: Trouble with mojo tutorial

2007-08-30 Thread Wayne Fay
You need to run "mvn install" to install your plugin into the local repo cache. Then you can test your plugin in another project by specifying "mvn ...:sayhi". Wayne On 8/31/07, siegfried <[EMAIL PROTECTED]> wrote: > Thanks Wayne, that "-U" appeared to work. > > Now I started out the tutorial wi

RE: Trouble with mojo tutorial

2007-08-30 Thread siegfried
Thanks Wayne, that "-U" appeared to work. Now I started out the tutorial with the command mvn -U archetype:create \ -DgroupId=sample.plugin \ -DartifactId=maven-hello-plugin \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-mojo because the tutorial

exporting classworlds or testing assembly output

2007-08-30 Thread Josh ChaitinPollak
Hello, I have a unit test which tests a shell script. This shell script calls java code, so it fails under Maven, because the java coded launched by the shell script doesn't have a complete classpath. I can work around this by using , but it turns out this was breaking my embedded tomcat.

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Marcin Waldowski
So you should vote for http://jira.codehaus.org/browse/MECLIPSE-252 too :P Regards, Marcin Dan Tran wrote: You poms are fine. I have seen this in my projects too. -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Daniel Kulp
You actually might be able to do this with the remote-resources plugin. We currently use it to generate the NOTICE files which include the License for each dependency. Since it's just a velocity template, you might be able to sort via the licenses before printing anything. Not really su

Re: Can I apply xslt to surefire reports?

2007-08-30 Thread Wayne Fay
Several options... You could attach maven-antrun-plugin and use the junitreport task directly, if you already have a process that works. Make sure you include the proper plugin dependency so you have access to the junitreport task. Or just call out to your existing build.xml file with ant after ex

filtering properties like pom.

2007-08-30 Thread William Ferguson
Meiko, I'm surprised you are getting any resources copied during your build, you seem to be excluding them all: **/* What resource file is being copied without filtering being applied? And what does your filter file look like? William -Original Message--

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Stephen More
I thought a plugin for this might be asking for too much, but what about the possibility of modifying the Dependencies report from the site to include a license column ? The output could look something like this: http://jspwiki.org/wiki/ApacheRelicensing -Steve On 8/30/07, Wayne Fay <[EMAIL PROT

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
Finally got it fixed...after alot of research...it was due to a maven (2.0.7) issue on windows...issue - MNG-3084...had to modify the mvn.bat file to get it working. Thanks nyways Farhan. mfs wrote: > > Dear All, > > I am getting this strange behavior where even on a build-failure (as > belo

filtering properties like pom.* dont work

2007-08-30 Thread meiko
I have a problem with filtering. - properties like maven.* or pom.* or project.*(e.g. ${pom.version}) dont work - other properties like ${basedir} or ${java.version} work What could be the reason ? Thank you for helping a frustrated maven-user ;-) here is my pom: http://maven.apache.org/POM/4.

Re: Can maven 1.x run Junit 4 tests ?

2007-08-30 Thread Manali Joshi
Thanks !! That worked :) On 8/25/07, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > It's possible but you have to : > - add a junit 4.x dependency in your project > For exemple : > > junit > junit > 4.1 > jar > > - add an adapter in your tests : > /** > *

Re: error getting maven-ant-plugin 2.0-SNAPSHOT

2007-08-30 Thread Srinivasan Chikkala
thanks, it works that way. You need to specify everything to work. Previously I did try using "mvn ant:2.0-beta-2-SNAPSHOT:ant" (partial-artifact-id:version:goal) thinking that it would determine the groupId and artifactId somehow if they are missing or partially specified from the command mu

Re: exporting classworlds or testing assembly output

2007-08-30 Thread Graham Leggett
Joshua ChaitinPollak wrote: If not (and this would actually be preferable), is there any way in Maven to run tests on an assembly (or other distributable)? If I could do that, I could write tests and have them test a fully built distributable, which would let the shell scripts assemble the cla

exporting classworlds or testing assembly output

2007-08-30 Thread Joshua ChaitinPollak
Hello, I have a unit test which tests a shell script. This shell script calls java code, so it fails under Maven, because the java coded launched by the shell script doesn't have a complete classpath. I can work around this by using , but it turns out this was breaking my embedded tomcat.

Re: Building JBoss EAR archives with SAR included

2007-08-30 Thread Wayne Fay
On 8/30/07, Alan D. Salewski <[EMAIL PROTECTED]> wrote: > > Hope that cookbook is helpful to someone, This is a great contribution. I don't suppose I could get you to post it in the Maven User Wiki? http://docs.codehaus.org/display/MAVENUSER/Home Wayne --

Re: Building JBoss EAR archives with SAR included

2007-08-30 Thread Alan D. Salewski
On Fri, Aug 17, 2007 at 10:35:19AM -0400, Alan D. Salewski spake thus: > On Fri, Aug 17, 2007 at 09:19:12AM -0500, Wayne Fay spake thus: > > I don't use the SAR plugin but I think I understand the error > > message... It looks like your dependencies define the sar as > > jboss-sar without a classif

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
Below is the stack-trace from the continuum log...i just tried uploading the pom this time instead of providing the pom url...but still the same issue.. 179243 [pool-2-thread-1] INFO org.apache.maven.continuum.scm.ContinuumScm:default - Checking out project: 'Share : PDFP', id: '6' to 'C:\appl\

Re: error getting maven-ant-plugin 2.0-SNAPSHOT

2007-08-30 Thread Wayne Fay
Yes, that is exactly correct: mvn groupId:artifactId:version:goal Wayne On 8/30/07, Srinivasan Chikkala <[EMAIL PROTECTED]> wrote: > > Thanks for the info. I fixed this part by removing the apache maven > repository from the mirror and adding it as a repository ( I just copied > the apache profil

Re: [m2] Possible to have eclipse project files in archetype?

2007-08-30 Thread Srinivasan Chikkala
If I understood this correctly, you are trying to add a ".xyz" file in your archetype. If that is correct, yes, you can add these files also in the archetype. Just add them to the "archetype-resources" directory the same way you add the other source or template files and update your META-INF/m

Re: Trying to run both Archiva and Continuum

2007-08-30 Thread Hilco Wijbenga
P.S. I'm using the latests releases: Archiva 1.0-beta-1 and Continuum 1.1-beta-2. On 8/30/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to set up both Archiva and Continuum on the same box. I > would like to have them run in the same Plexus instance and on the > same port

Trying to run both Archiva and Continuum

2007-08-30 Thread Hilco Wijbenga
Hi all, I'm trying to set up both Archiva and Continuum on the same box. I would like to have them run in the same Plexus instance and on the same port number but that seems too complicated to accomplish (for me :-) ). I found an email by Arnaud Bailly ("Continuum+archiva in same application") bu

Re: Layered Archetypes?

2007-08-30 Thread Wayne Fay
Another possibility is that the documentation is merely incorrect (or forward-looking ie "at some point this is what will be possible") or your interpretation of what "layered archetype" means is incorrect. I'm not sure what the correct answer is here, because I like constructing my pom.xml files

profiles.xml - profile activation

2007-08-30 Thread Kevin Frankic
Hello, I have a profiles.xml that has 2 profiles within it. The default profile is set to be active by default, which works fine. I then would like to activate more profiles based on an environment variable 'DEV_USER'. Within my pom.xml, I can access 'DEV_USER' successfully by doing the foll

maven-metadata.xml and deploy-file

2007-08-30 Thread Julien Eluard
Hi, periodically I have to upload a new version of a third-party library to a private repository using following command: mvn deploy:deploy-file -Durl= -DrepositoryId= -Dfile= -DpomFile= This override the current associated maven-metadata.xml file. Is there a way to only update this file? I w

Re: Layered Archetypes?

2007-08-30 Thread Andrew Leer
Yeah its definitely Friday, I know that feeling...but I do not think you are dumb, if you don't understand what I am saying, I am just not communicating clearly enough: The resulting pom.xml file I get after running "mvn archetype:create" using the two aforementioned archetypes I mentioned above,

[m2] Possible to have eclipse project files in archetype?

2007-08-30 Thread Mick Knutson
I want to know if it is possible to have and configure .project and .classpath files for eclipse in my archetype? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://w

Security Question

2007-08-30 Thread Joel Morris
We have just upgraded to the latest version of Archiva and I have a couple of security questions. 1. In the previous release we added our archiva repository to our ~/.m2/settings.xml as a mirror. ... catchy EBS Maven Repository Manager http:///archiva/repository/i

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Wayne Fay
I think a useful license report would simply look at all dependencies (including transitive) and then issue a report at the end which simply told you: GPL a.b.c-1.0.1 x.y.z-2.0.2 MIT l.m.n-1.0.0-SNAPSHOT None specified f.g.h-4.0.1 You could perhaps go the next step of saying "based on your depe

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Alexander Sack
'Sure they can, but how do you know if a license is compatible (maybe it should spit out "IANAL" j/k)? Well anyway, I do agree that a license attribute maybe useful none the less. -aps On 8/30/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > If the dependencies have maven pom.xml files, they c

Re: error getting maven-ant-plugin 2.0-SNAPSHOT

2007-08-30 Thread Srinivasan Chikkala
Thanks for the info. I fixed this part by removing the apache maven repository from the mirror and adding it as a repository ( I just copied the apache profile specified at http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html ) to my settings.xml. However, when I

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Dennis Lundberg
If the dependencies have maven pom.xml files, they can specify the license in them. Alexander Sack wrote: Just out of curiosity, how the heck would you figure this out? Seems like this would be too complicated to do in software though I AM 100% FOR replacing corporate legal teams with a Mojo!

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
any one...Emmanuel..you might have something on this..? mfs wrote: > > Dear All, > > I am getting this strange behavior where even on a build-failure (as > below) as shown in the Result, the success icon is shown against the > project on "show-project" screen and same is the case with history

Re: Layered Archetypes?

2007-08-30 Thread Andrew Leer
Raphaël, Thank you for your reply, that outlined list your created of the steps is exactly what I did, and a good bit more accurate than what I typed in my last email, "What i am not sure to understand is what you expected to have instead of what you got."

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Alexander Sack
Just out of curiosity, how the heck would you figure this out? Seems like this would be too complicated to do in software though I AM 100% FOR replacing corporate legal teams with a Mojo! :D! -aps On 8/30/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Not that I know of. If you write it, please co

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
I see the following error in the continuum wrapper.log...i.e. ${requestUtil.getParameter('buildId')} is not a valid reference. below is the stack-trace..any help would be much appreciated INFO | jvm 1| 2007/08/30 11:31:18 |

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Wayne Fay
Not that I know of. If you write it, please contribute it back, perhaps someone else would find it useful. Wayne On 8/30/07, Stephen More <[EMAIL PROTECTED]> wrote: > I would like to release some code as "open source", but I am not sure > which license to pick. > > "Does your project currently us

Can I apply xslt to surefire reports?

2007-08-30 Thread Joshua ChaitinPollak
Hello, How can I apply an xslt to our /target/surefire-reports/TEST-*.xml files? In our effort to migrate from ant to maven, I need to apply an xslt to our surefire XML reports. This xslt generates an sql file which we import into a database to track our continuous integration status ov

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Dan Tran
please dont hijack the thread On 8/30/07, Mick Knutson <[EMAIL PROTECTED]> wrote: > Great. > > Now I have a question: > > Where does the plugin get the value from for the .project: > > common-a3 > > > Can it get it from (pom.xml): > > Utilities__Common-A3 > > > instead of: > >common-a3 > > >

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Alexander Sack
I missed the beginning of this thread so I don't know what your asking. BTW, you can check out the Codehaus M2 Integration plugin which IMO does what I really want which is define a dynamic project classpath container based on my POM: http://m2eclipse.codehaus.org/ -aps On 8/30/07, Mick Knutson

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Mick Knutson
Great. Now I have a question: Where does the plugin get the value from for the .project: common-a3 Can it get it from (pom.xml): Utilities__Common-A3 instead of: common-a3 On 8/30/07, Alexander Sack <[EMAIL PROTECTED]> wrote: > > http://maven.apache.org/plugins/maven-eclipse-plu

Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
Dear All, I am getting this strange behavior where even on a build-failure (as below) as shown in the Result, the success icon is shown against the project on "show-project" screen and same is the case with history screen against a project...and even no emails are sent as its intrepreting that th

Re: Dependency on a tag libary and its descriptor

2007-08-30 Thread Olaf Krische
And now i know why i did this without asking myself. It seems to be a common practice to say something like i saw on jakarta taglibs: http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html > > Follow t

Re: Dependency on a tag libary and its descriptor

2007-08-30 Thread Olaf Krische
Hello Dennis, i just found this line in the jsp spec 1.1: 5.2.1 Packaged Tag Libraries JSP page authoring tools are required to accept a Tag Library that is packaged as a JAR file. When packaged sot he JAR file must have a tag library descriptor file named META-INF/tagl

Email notification to just the committer and the administrator

2007-08-30 Thread mfs
Dear All, Is there a way i can configure Continuum to send email notifications just to 1) the committer of the code 2) administrator Write now the emails are being sent to the notifiers i have configured in the pom.xml. Thanks and Regards, Farhan. -- View this message in context: http://w

Re: Confused about servlet-api.jar

2007-08-30 Thread Joshua ChaitinPollak
On Aug 30, 2007, at 12:17 PM, Farrukh Najmi wrote: Joshua ChaitinPollak wrote: Hello, I'm still having trouble with getting embedded tomcat to compile my JSPs. What did you mean by "embedded tomcat"? Is this a tomcat instance provided by an IDE like Netbeans? No, not at all. I have a cl

Compatible License Plugin - does one exist ?

2007-08-30 Thread Stephen More
I would like to release some code as "open source", but I am not sure which license to pick. "Does your project currently use any open source code? If so, then you may need to use the same license that the open source code uses, or another license that is compatible with it." Maven does a great j

Re: Dependency on a tag libary and its descriptor

2007-08-30 Thread Dennis Lundberg
okrische wrote: Hello, i have a project, which provides a tag library "mytaglib.jar". While the tag library is in development, the tag library descriptor "mytaglib.tld" grows and changes as well. It belongs together. I have another webapp project, which depends on this tag library and its tld

Re: pde-maven trying to generate a simple plugin.

2007-08-30 Thread Dan Tran
The current pde-maven-plugin only produces zip format for the plugin build. for the time being, you will need to manipulate that output zip file to produce your expected jar file. -D On 8/30/07, malc <[EMAIL PROTECTED]> wrote: > > I have a simple plugin which I can export from eclipse no proble

Re: Layered Archetypes?

2007-08-30 Thread Raphaël Piéroni
Hi, I am not sure to well understand what you meant. Here comes what i have understood, plesae correct me if i am wrong: - you did mvn archetype:create -DarchetypeArtifactId=java6archetype -DartifactId=TestLayer - you obtained the TestLayer folder in the directory you executed the mvn comand - tha

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Alexander Sack
http://maven.apache.org/plugins/maven-eclipse-plugin/index.html -aps On 8/30/07, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I guess I am confused, I can't find anything about the eclipse plugin to > create the eclipse project files from my Maven structure. > > Can someone help with the URL that

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Mick Knutson
I guess I am confused, I can't find anything about the eclipse plugin to create the eclipse project files from my Maven structure. Can someone help with the URL that describes the usage of this plugin? On 8/30/07, Dan Tran <[EMAIL PROTECTED]> wrote: > > You poms are fine. I have seen this in my

Re: ant tasks webdav authentication

2007-08-30 Thread Hervé BOUTEMY
Le jeudi 30 août 2007, Craig Ryan a écrit : > Here is an Ant build.xml snippet using maven tasks: > > url="dav:http://fred:[EMAIL PROTECTED]" layout="default"/> > version="1.0-beta-2"/> > > > > > > the above works fine, and does a PUT of my jar into my company

Layered Archetypes?

2007-08-30 Thread Andrew Leer
I am certain that I have misinterpreted the meaning of this piece of documentation: Guide to Creating Archetypes - (http://maven.apache.org/guides/mini/guide-creating-archetypes.html) | - 2. Create the archetype descriptor An optional true tag makes it possible to run the ar

RE: Cannot checkout sources....Invalid SCM URL

2007-08-30 Thread LAMY Olivier
Hi, Not really sure scm:svn://localhost/svn/repos/pdfp is a valid url. The scheme is missing. -- Olivier -Message d'origine- De : mfs [mailto:[EMAIL PROTECTED] Envoyé : jeudi 30 août 2007 18:39 À : [EMAIL PROTECTED] Objet : Cannot checkout sourcesInvalid SCM URL Hello Everyone,

Cannot checkout sources....Invalid SCM URL

2007-08-30 Thread mfs
Hello Everyone, I am getting this error on a build done through continuum... Exception: Cannot checkout sources.//localhost/pdfp url isn't a valid svn URL. The scm url is invalid. which i am not able to figure out why...any help is much appreciated..am using maven 2 with sub-version..nyways hav

pde-maven trying to generate a simple plugin.

2007-08-30 Thread malc
I have a simple plugin which I can export from eclipse no problem as a jar file. I have set up my pom.xml to be the same as that described on the usage page. However no jar gets created only a zip file and the structure inside the zip file is 1 level too deep to be able to use the zip file as is i

Assembly Plugin question, unpacking a fileset

2007-08-30 Thread Marc-Andre Houle
Hello everybody. i want to use the assembly plug-in to generate a tarball of the project I am working on. Everything is working fine and this plug-in have just saved my life... But one of the things I haven't found while searching on the list and on the examples, is how can I unpack a fileset

Re: Maven Ant Tasks 2.0.7

2007-08-30 Thread Hervé BOUTEMY
Hi Hilco, Le mercredi 29 août 2007, Hilco Wijbenga a écrit : > Hi all, > > I ran into something strange while using the Maven Ant Tasks (2.0.7). > My Ant build now includes a POM which refers to a parent POM. > > If I have the parent POM available in my local repository everything > works fine. If

Re: Confused about servlet-api.jar

2007-08-30 Thread Farrukh Najmi
Joshua ChaitinPollak wrote: Hello, I'm still having trouble with getting embedded tomcat to compile my JSPs. What did you mean by "embedded tomcat"? Is this a tomcat instance provided by an IDE like Netbeans? Right now I'm trying to understand the difference between javax.servlet:servlet-ap

Re: Links wrongs for the child submodules

2007-08-30 Thread Adam Fisk
I have the same problem. Seems like a pretty significant issue -- the site plugin looks totally broken. Anyone have workarounds for this? On 8/27/07, Martin Alejandro Villalobos <[EMAIL PROTECTED]> wrote: > > Hello, I have a question. > I'm executing mvn site site:deploy on a project with sever

ant tasks webdav authentication

2007-08-30 Thread Craig Ryan
Here is an Ant build.xml snippet using maven tasks: url="dav:http://fred:[EMAIL PROTECTED]" layout="default"/> version="1.0-beta-2"/> the above works fine, and does a PUT of my jar into my company maven2 repo. The following however does not work. Note: this time I

Dependency on a tag libary and its descriptor

2007-08-30 Thread okrische
Hello, i have a project, which provides a tag library "mytaglib.jar". While the tag library is in development, the tag library descriptor "mytaglib.tld" grows and changes as well. It belongs together. I have another webapp project, which depends on this tag library and its tld Reflecting the de

Confused about servlet-api.jar

2007-08-30 Thread Joshua ChaitinPollak
Hello, I'm still having trouble with getting embedded tomcat to compile my JSPs. Right now I'm trying to understand the difference between javax.servlet:servlet-api and tomcat:servlet-api, and whether I need both of them, or just one. I'm currently explicitly depending on tomcat:servlet-a

RE: classifier for maven deploy plugin

2007-08-30 Thread Andrew Boyer
John, I had a similar issue, where I wanted to copy my assembly to a network drive, but only on the releng machines. I ended up using a manually activated profile to do this. My deployment directory variable was set during automatically activated profiles based on the platform it was running on.

java 4 vs java 5 build profile issues

2007-08-30 Thread Justin Deoliveira
Hi all, I am using continuum-1.1-beta2 to build two branches of a project. One branch requires java 4 to build, and the other branch requires java 5. If I try to build the java 4 branch with java 5 i get test failures. Both projects use maven 2.0.6 to build. So... I have set up two build profiles

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Dan Tran
You poms are fine. I have seen this in my projects too. -D On 8/30/07, Marcin Waldowski <[EMAIL PROTECTED]> wrote: > Dan, > > I was absolutely convinced that the error was in my pom file. I'm > maven newbie, so it's hard for me to distinguish what is plugin bug and > what is my mistake :P > >

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Marcin Waldowski
Dan, I was absolutely convinced that the error was in my pom file. I'm maven newbie, so it's hard for me to distinguish what is plugin bug and what is my mistake :P I will create jira issue. Thanks again for your help. Regards, Marcin Dan Tran wrote: from our last discussion, eclipse pl

Re: Help Creating My Own Maven 2 Archetype

2007-08-30 Thread Tim Kettler
Wendy's answer is the correct one. The documentation I pointed to is buggy. I will file that in jira. -Tim Tim Kettler schrieb: Hi, Andrew Leer schrieb: I don't understand where the archetype/test directories came from: I guess your testproject has a groupId artifactId of: com.mooo ar

Re: Help Creating My Own Maven 2 Archetype

2007-08-30 Thread Andrew Leer
Thank you! I never thought to look at the command line for my mistake. I will do that next time! On 8/30/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 8/30/07, Andrew Leer <[EMAIL PROTECTED]> wrote: > > I don't understand where the archetype/test directories came from: > > Earlier, you wrote:

Re: Help Creating My Own Maven 2 Archetype

2007-08-30 Thread Tim Kettler
Hi, Andrew Leer schrieb: I don't understand where the archetype/test directories came from: I guess your testproject has a groupId artifactId of: com.mooo archetype.test and this gets converted to the shown package structure. See here [1]. It's a little bit cryptic but when you look at

Re: Help Creating My Own Maven 2 Archetype

2007-08-30 Thread Wendy Smoak
On 8/30/07, Andrew Leer <[EMAIL PROTECTED]> wrote: > I don't understand where the archetype/test directories came from: Earlier, you wrote: mvn archetype:create > -DarchetypeGroupId=com.mooo.mv.archetype.compilerversion > -DarchetypeArtifactId=maven-archetype-java-6 > -DarchetypeVer

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Dan Tran
from our last discussion, eclipse plugin requires your ejb3 module installed on you local repo, this is a bug. So the work around is to run 'mvn install' at eleast once before invoking 'mvn eclipse:eclipse' please file an issue against eclipse plugin On 8/30/07, Marcin Waldowski <[EMAIL PROTECTED

Re: Help Creating My Own Maven 2 Archetype

2007-08-30 Thread Andrew Leer
I don't understand where the archetype/test directories came from: Java6TestProjectFromAboveArcheType | Java6TestArtifactFromArcheType.txt | pom.xml | \---src +---main | \---java | \---com | \---mooo | \---archetype <-- Where did this come f

Re: the last build is successful but the project shows as "build in error"

2007-08-30 Thread Julien Stern
On Thu, Aug 30, 2007 at 01:36:38PM +0200, Emmanuel Venisse wrote: > > > Julien Stern a écrit : > >On Thu, Aug 30, 2007 at 03:23:13AM -0700, Ionut S wrote: > >>Hi, > >>I don't know for what reason one of our projects (shown when you hit > >>"Show projects" link) show as "Build in error" although

Re: effective project.xml generation

2007-08-30 Thread Arnaud HERITIER
This interpolated pom is generated in maven 1.1 when you deploy your artifact. The code is in the artifact plugin Arnaud On 30/08/2007, Ataul Wadood Ahmad <[EMAIL PROTECTED]> wrote: > Hi, > > sorry for the case that this question has already been answered. > Unfortunately I didn´t find any search

Best practices for providing installation and deployment for a maven war project

2007-08-30 Thread Farrukh Najmi
I have a maven project called foo-server which produces a war. I am looking for guidance on best practices for the following questions: * What is the best practice for distributing a packaged release of the foo-server project such that it is really simple for any deployment to depl

effective project.xml generation

2007-08-30 Thread Ataul Wadood Ahmad
Hi, sorry for the case that this question has already been answered. Unfortunately I didn´t find any search tool to search through the mail archive on the maven web site. Question: Is there a way (in maven 1) to generate the effective project.xml (with resolved variables and parent hierarchies).

Re: Help Info for Goal?

2007-08-30 Thread Tim Kettler
Roger Ye schrieb: Hi, Hi, I'm new to Maven, and now have a basic understanding of the Goal:Phase notation in Maven to do sth. That's not quite correct. Each packaging (for example jar) has a lifecycle associated to it. This lifecylce consists of a sequence of phases. So when you do 'mvn i

'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Marcin Waldowski
Hello. I created 2 module simple example which can be downloaded from: http://www.nabble.com/attachment/12381781/0/example.zip When I execute 'mvn package' everything works ok. But when I execute mvn eclipse:eclipse I ended up with error: [DEBUG] Unable to download the artifact from any r

Re: Skiping module during mvn eclipse:eclipse

2007-08-30 Thread Marcin Waldowski
Dan, Thanks for your continuous help. I think it is a subject for another thread... Regards, Marcin Dan Tran wrote: I ran into the same thing, and ended up to run mvn installfirst then mvn eclipse:eclipse -D On 8/29/07, Marcin Waldowski <[EMAIL PROTECTED]> wrote: Dan, thank

RE: Help Info for Goal?

2007-08-30 Thread Raúl Arabaolaza Barquín
Hi: Take a look at the help plugin, the help:describe goal gives you all you want ;) http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html Regards. -Mensaje original- De: [EMAIL PROTECTED] en nombre de Roger Ye Enviado el: jue 30/08/2007 10:46 Para: Maven Users List Asu

Help Info for Goal?

2007-08-30 Thread Roger Ye
Hi, I'm new to Maven, and now have a basic understanding of the Goal:Phase notation in Maven to do sth. My question is, regarding an unfamiliar goal, how can I know what phases are available? I do think there should be a common way for all the maven goals to provide some help information, e.g. t

Re: Possible filter bug?

2007-08-30 Thread Tim Kettler
Hi, sounds like a bug. Could be related with or the same as this one [1]. If you think it's unrelated, create a simple test project that shows the behaviour and file a new bugreport in jira [2]. -Tim [1] http://jira.codehaus.org/browse/MRESOURCES-20 [2] http://jira.codehaus.org/browse/MRESOU

Re: Skiping module during mvn eclipse:eclipse

2007-08-30 Thread Dan Tran
I ran into the same thing, and ended up to run mvn installfirst then mvn eclipse:eclipse -D On 8/29/07, Marcin Waldowski <[EMAIL PROTECTED]> wrote: > Dan, thanks for checking my example. > > I'm sure that I use 2.4 version. In debug mode I can see: > >[INFO] Building ejb3 >...

Re: error getting maven-ant-plugin 2.0-SNAPSHOT

2007-08-30 Thread Tim Kettler
Hi, I can't say if this is the final root of your problem but you should start by fixing the repository definitions in your settings.xml and see if that helps: Srinivasan Chikkala schrieb: Any help on how to get the latest maven-ant-plugin ( maven-ant-plugin-2.0-SNAPSHOT.jar) ? I am tryi