unable to have results when build is cancelled

2007-08-30 Thread remi . chevalier
Hi, I work on Continuum-1.1-beta-2 (thanks for this tool) and when I just noticed that when a build is cancelled, I only obtain this result: org.apache.maven.continuum.execution.ContinuumBuildCancelledException: The build was cancelled at

Re: unable to have results when build is cancelled

2007-08-30 Thread Emmanuel Venisse
Please file an issue, a build result must be saved with the process output it it is available. Emmanuel [EMAIL PROTECTED] a écrit : Hi, I work on Continuum-1.1-beta-2 (thanks for this tool) and when I just noticed that when a build is cancelled, I only obtain this result:

the last build is successful but the project shows as build in error

2007-08-30 Thread Ionut S
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 the last 10 or so builds are successful. Did anybody had this problem ? Ionut - Shape Yahoo! in your own image. Join our

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

2007-08-30 Thread Emmanuel Venisse
1.1 or 1.0.3? Maybe you have something that can help in your logs? an exception or something else? Emmanuel Ionut S a écrit : 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 the last 10 or so builds are successful.

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 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 the last 10 or so builds are successful. Did anybody had this problem ? Yes, this happens to us about

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

2007-08-30 Thread Emmanuel Venisse
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 the last 10 or so builds are successful. Did anybody had this problem ? Yes, this

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

2007-08-30 Thread mfs
is it...how can i verify.. LAMY Olivier wrote: Hi, Not really sure connectionscm:svn://localhost/svn/repos/pdfp/connection 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 À :

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

2007-08-30 Thread LAMY Olivier
Have a look here http://maven.apache.org/scm/subversion.html -Message d'origine- De : mfs [mailto:[EMAIL PROTECTED] Envoyé : jeudi 30 août 2007 18:52 À : continuum-users@maven.apache.org Objet : RE: Cannot checkout sourcesInvalid SCM URL is it...how can i verify.. LAMY

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

2007-08-30 Thread mfs
Thanks man..got it fixed...thats the url i used ... scm:svn:http://localhost/svn/repos/pdfp in the connection/developerConnection Actually i did try this earlier as well but the reason it wasnt working was..after uploading the project pom the first time..i was just updating the pom.xml and

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

2007-08-30 Thread mfs
I just upgraded to the 1.1-beta and still the same problem... 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

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) but

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 number

RE: Trying to run both Archiva and Continuum

2007-08-30 Thread LAMY Olivier
Hi, Have a look here https://svn.apache.org/repos/asf/maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml . This is a project which build this type of distrib. Use the correct version for war dependencies (org.apache.maven.continuum:continuum-webapp and

Re: Deployment Repository Directory in case of artifactory ?

2007-08-30 Thread Brett Porter
You should change the Maven goals to be deploy instead of install, and configuration the distributionManagement appropriately. It's best to just let Maven handle it :) Cheers, Brett On 31/08/2007, mfs [EMAIL PROTECTED] wrote: Hello Guys, I am using artifactory as the repository manager and

Re: Specifying the jar name in profiles

2007-08-30 Thread Tim Kettler
drippy schrieb: This has all been helpful. Now I am facing yet another challenge with this setup. when I run mvn -PprofileA clean install my (service module) pom file does not generate the pom that goes into the repository. It only places the jar file into it. Yes, that's how it works.

Re: Skiping module during mvn eclipse:eclipse

2007-08-30 Thread Marcin Waldowski
Dan, thanks for checking my example. I'm sure that I use 2.4 version. In debug mode I can see: [INFO] Building ejb3 . [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-eclipse-plugin:2.4:eclipse' -- But now I see that the problem is not around skipping module. In debug

Re: The packaging for this project did not assign a file to the build artifact

2007-08-30 Thread Tim Kettler
Hi, just don't use deploy:deploy on the command line. 'mvn deploy' executes the deploy phase, whereas 'mvn deploy:deploy' executes just the deploy goal of the deploy plugin. When executing the phase, all other phases before the deploy phase will execute too. This includes most importently

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

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: 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]

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.

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

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, thanks

'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

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

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).

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

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 tool

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 the last 10 or so

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: blockquote pre Java6TestProjectFromAboveArcheType | Java6TestArtifactFromArcheType.txt | pom.xml | \---src +---main | \---java | \---com | \---mooo | \---archetype -- Where

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

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

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: groupIdcom.mooo/groupId artifactIdarchetype.test/artifactId and this gets converted to the shown package structure. See here [1]. It's a

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: mvn

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:

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

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 I will

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

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

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

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

ant tasks webdav authentication

2007-08-30 Thread Craig Ryan
Here is an Ant build.xml snippet using maven tasks: artifact:remoteRepository id=my.repo url=dav:http://fred:[EMAIL PROTECTED] layout=default/ artifact:install-provider artifactId=wagon-webdav version=1.0-beta-2/ artifact:deploy file=my.jar remoteRepository refid=my.repo /

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 several

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-api

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 not,

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

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

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

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

2007-08-30 Thread LAMY Olivier
Hi, Not really sure connectionscm:svn://localhost/svn/repos/pdfp/connection 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

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 allowPartialtrue/allowPartial tag makes it

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: artifact:remoteRepository id=my.repo url=dav:http://fred:[EMAIL PROTECTED] layout=default/ artifact:install-provider artifactId=wagon-webdav version=1.0-beta-2/ artifact:deploy

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: '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: 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 -

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 problem

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

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 job

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

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:

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

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

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 the

Re: 'mvn eclipse:eclipse' fail problem

2007-08-30 Thread Mick Knutson
Great. Now I have a question: Where does the plugin get the name value from for the .project: namecommon-a3name Can it get it from (pom.xml): nameUtilities__Common-A3/name instead of: artifactIdcommon-a3/artifactId On 8/30/07, Alexander Sack [EMAIL PROTECTED] wrote:

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

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 name value from for the .project: namecommon-a3name Can it get it from (pom.xml): nameUtilities__Common-A3/name instead of:

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

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 use any

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 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

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: 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 screen

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: 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

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 can

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

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. settings ... mirrors mirror idcatchy/id nameEBS Maven Repository

[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

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,

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

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

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

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) but

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 number

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

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

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 packagingjboss-sar without a

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

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 useSystemClassloader, but it turns out this was

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

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

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 : dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.1/version typejar/type

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: ?xml version=1.0

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 below)

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

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: excludes exclude**/*/exclude /excludes What resource file is being copied without filtering being applied? And what does your filter file look like?

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

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