RE: Creating a .wsr file artifact

2006-10-06 Thread Swenson, Eric
Thanks Nathan. But I'm still not getting anywhere. I assume what you're saying is that I need to add a META-INF/plexus/components.xml to my plugin jar. I've done that (but perhaps the contents is still not right), but I still get the error message, upon doing an "mvn compile" or "mvn package" th

Proposal for maven-qc-plugin / maven-qc-report-plugin

2006-10-06 Thread Hilco Wijbenga
Hi all, A while ago I mentioned the idea of a quality number (without much detail). It's a long weekend so I'd like to get started and see how far I get. I'd appreciate comments! --- maven-qc-plugin / maven-qc-report-plugin --- 1) General Idea The maven-qc-plugin generates a "quality number" ea

Re: Creating a .wsr file artifact

2006-10-06 Thread Nathan Beyer
Check out the CustomArtifactHandler part of this guide [1]. I think what you're missing is an "extension" [2] element in your POM. -Nathan [1] http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html [2] http://maven.apache.org/ref/current/maven-model/maven.html#class_exte

RE: Creating a .wsr file artifact

2006-10-06 Thread Swenson, Eric
Well, I've made progress since my post. However, I still have an issue. I now have a maven-wsr-plugin, which I based on maven-war-plugin and I'm able to compile my project with: mvn compiler:compile and package my project (into a .wsr file) with: mvn wsr:wsr However, what I can

Re: [vote] Allowing Ant-based plugins to use file-based resources

2006-10-06 Thread Kenney Westerhof
+1, and i'm really curious how you would fit that into 10 lines.. ;) Btw, IIRC the current ant plugin tools already unpack the jar to /tmp/someplace so they can specify the location to the build.xml in the archive; I seem to remember that you couldn't just present an InputStream or URL to Ant to

RE: [vote] Allowing Ant-based plugins to use file-based resources

2006-10-06 Thread Brian E. Fox
+1 sounds interesting. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 6:33 PM To: Maven Developers List Subject: [vote] Allowing Ant-based plugins to use file-based resources Hi, I chatted with Kenney briefly about allowing ant-based plu

Creating a .wsr file artifact

2006-10-06 Thread Swenson, Eric
I'm using Maven 2.0.4 and need to produce a .wsr file. A .wsr file is a jboss web service archive and is very similar to a .war file, a .sar file, and an .ear file. I've tried two tacts so far, neither successful. The first approach was to take the mavin-war-plugin sources, renaming all insta

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Nathan Beyer
Even though I was able to update and correct the artifact's maven-metadata.xml (plus correct checksums)[1]? It would be nice to at least have this correct, so that the release version points to the latest version, rather than the oldest. -Nathan [1] http://repo1.maven.org/maven2/xerces/xercesImp

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Carlos Sanchez
Remove the one in the m2-ibiblio-sync directory On 10/7/06, Nathan Beyer <[EMAIL PROTECTED]> wrote: I deployed Xerces to m2 and then did a legacy deploy to m1. Should I clear out the legacy deploy? Thanks, -Nathan On 10/6/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > sorry, I forgot, if you

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Nathan Beyer
I deployed Xerces to m2 and then did a legacy deploy to m1. Should I clear out the legacy deploy? Thanks, -Nathan On 10/6/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: sorry, I forgot, if you build with ant you deploy to the m1 repo. The m2 is only for m2 builds because it's more accurate and h

[vote] Allowing Ant-based plugins to use file-based resources

2006-10-06 Thread Jason van Zyl
Hi, I chatted with Kenney briefly about allowing ant-based plugins to unpack resources from a known location to a known location so they things like shell scripts can be executed. So, in a nutshell I would like to add some capability to unpack the resources in an ant-based plugin JAR to $

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Carlos Sanchez
why would ever the jars differ? remove the sutff in m2, it hasn't been synced to ibiblio On 10/7/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Carlos Sanchez wrote: > sorry, I forgot, if you build with ant you deploy to the m1 repo. The > m2 is only for m2 builds because it's more accurate and h

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Jörg Schaible
Carlos Sanchez wrote: > sorry, I forgot, if you build with ant you deploy to the m1 repo. The > m2 is only for m2 builds because it's more accurate and has some > metadata. > > Files deployed to any of the repos will be available to both m1 and m2 > users, so just deploy to one of them. Yes, but

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Carlos Sanchez
sorry, I forgot, if you build with ant you deploy to the m1 repo. The m2 is only for m2 builds because it's more accurate and has some metadata. Files deployed to any of the repos will be available to both m1 and m2 users, so just deploy to one of them. On 10/6/06, Jörg Schaible <[EMAIL PROTECTE

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Jörg Schaible
Nathan Beyer wrote: > Xerces doesn't build with either Maven 1 or Maven 2; everything is > built with a custom Ant script. I created a custom POM and deployed > using deploy:deploy-file for the binary and source JAR to m2 and then > to m1 by setting the repo type to legacy. > > I essentially dupl

Re: please sync m1 and m2 repos for Xerces 2.8.1

2006-10-06 Thread Nathan Beyer
Xerces doesn't build with either Maven 1 or Maven 2; everything is built with a custom Ant script. I created a custom POM and deployed using deploy:deploy-file for the binary and source JAR to m2 and then to m1 by setting the repo type to legacy. I essentially duplicated what exists for Xerces 2.

MNG-2456: Maven Archiver creates incorrect Class-Path entry in Manifest for deployed snapshots

2006-10-06 Thread Max Bowsher
Hi. I've recently been looking at MNG-2456 and I've reached the point where I could use some insight from those more familiar with the core code. In summary: The Maven-Archiver uses the file part of the artifact's filename to create the Class-Path entries in the Manifest. This works fine for relea