Cannot configure Legacy Artifact Path Resolution of Non-standard path

2008-04-08 Thread Michael Mallete
Hi guys, I'm having troubles configuring legacy artifact path for maven-jaxb-plugin. Artifact is located here: http://download.java.net/maven/1/com.sun.tools.xjc.maven2/maven-plugins/ I believe, the M1 standard is to rather put maven plugins inside the plugins directory instead of

Re: Cannot configure Legacy Artifact Path Resolution of Non-standard path

2008-04-08 Thread Michael Mallete
hi nicolas, here you go: http://jira.codehaus.org/browse/MRM-768 On Tue, Apr 8, 2008 at 3:37 PM, nicolas de loof [EMAIL PROTECTED] wrote: legacy artifact path configuration is a way for archiva to support maven1 clients (maven1 request URL is not fine-grained enough to safelly detect the

Re: timeouts configuration

2008-04-08 Thread Brett Porter
the feature is present in trunk and will be released with Archiva 1.1. On 09/04/2008, aldana [EMAIL PROTECTED] wrote: hi, currently proxy repository of http://repository.codehaus.org/ had been very slow in respondance. this made archiva hang (see log below). after removing this

Re: Archiva purge

2008-04-08 Thread Stefano Fornari
Hi Brett, it is not docuented, but you need to restart archiva. Thanks for teh hint. Stefano yes, it should. Do you see a block summary in the logs that says the repository was scanned? If so, was the purge consumer listed? On 05/04/2008, Stefano Fornari [EMAIL PROTECTED] wrote: Hi All,

Re: metadata -updater does not appear to be working!

2008-04-08 Thread Brett Porter
Hi Jason, Can you file this as a request? I think at present the updater corrects the versions flag, but not the snapshot information (it also doesn't correct the plugin group metadata). - Brett On 09/04/2008, Jason Chaffee [EMAIL PROTECTED] wrote: According to the documentation the

RE: metadata -updater does not appear to be working!

2008-04-08 Thread Jason Chaffee
I will file it today. Is there any chance of getting it into a 1.0.2 release? I know that this is extremely important to us. I would even be willing to contribute to with some general guidance where in the code to get started? -Original Message- From: Brett Porter [mailto:[EMAIL

Re: metadata -updater does not appear to be working!

2008-04-08 Thread Brett Porter
On 09/04/2008, Jason Chaffee [EMAIL PROTECTED] wrote: I will file it today. Is there any chance of getting it into a 1.0.2 release? This is being released now, but there's no reason we can't get another release together soon if there are high priority issues. I know that this is extremely

RE: metadata -updater does not appear to be working!

2008-04-08 Thread Jason Chaffee
I can confirm that both timestamp and build number are the problem. For example, here is the latest artifact on the file system: test-1.0-2008407.211352-3.jar here is the metatdata file: metadata groupIdchaffee.jason.test/groupId artifactIdtest/artifactId

Re: metadata -updater does not appear to be working!

2008-04-08 Thread Brett Porter
Ah, sorry I wasn't clear. I was referring to the timestamp on the filesystem - if you touch the JAR you listed and scan again, is the metadata updated? Likewise, does adding a new build instead of removing work? - Brett On 09/04/2008, Jason Chaffee [EMAIL PROTECTED] wrote: I can confirm that

RE: metadata -updater does not appear to be working!

2008-04-08 Thread Jason Chaffee
If the metadata has been updated, then the deploy works fine and the metadata in updated correctly. If the metadata has not been update, the deploy still works fine, but the build numbers get off and there will be missing builds in the repo. I am not sure of other scenarios. We have not

Unable to build archiva trunk

2008-04-08 Thread Roland Klein
Hi, just tried to build archiva 1.0.2-SNAPSHOT and getting following error: [INFO] Building Archiva

Re: Unable to build archiva trunk

2008-04-08 Thread Brett Porter
fixed On 09/04/2008, Roland Klein [EMAIL PROTECTED] wrote: Hi, just tried to build archiva 1.0.2-SNAPSHOT and getting following error:

[ANNOUNCE] Apache Archiva 1.0.2 Released

2008-04-08 Thread Brett Porter
The Apache Archiva team is pleased to announce the release of Archiva 1.0.2 Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown artifacts

Using Maven Ant Tasks in a CI Environment with IBM Jazz

2008-04-08 Thread Thomas Tardy
Hello, I'm struggeling with some problems using the Maven ant tasks in the CI environment with IBM Jazz. There are some ant tasks for IBM Jazz which are handling the connection between the build engine and the Jazz server. These Jazz ant tasks are working well as long as I haven't used the Maven

Re: integration tests, packaging type pom and the maven-eclipse-plugin

2008-04-08 Thread Martin Höller
Hi Kalle! On Monday 07 April 2008 Kalle Korhonen wrote: Just change the packaging type temporarily from pom to jar and run mvn eclipse:eclipse. That's what I do right now, but IMHO that's not a solution for the problem but rather a workaround. Thanks anyway and best regards, - martin

Re: Use assembly and deploy togeather

2008-04-08 Thread Michael Mühlebach
I tried it with this command but my problem is the created zip file does not contain the deployed jar file. It still has a -SNAPSHOT postfix which is quite ugly. On Tue, Apr 8, 2008 at 1:44 AM, Luke Daley [EMAIL PROTECTED] wrote: On 07/04/2008, at 11:14 PM, Michael Mühlebach wrote: I

Re: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Martin Höller
On Monday 07 April 2008 Andreas Guther wrote: We see a difference in classpath loading between Surefire 2.3 and 2.4. Search the archive of this list on nabble.com for surefire 2.4 classpath and you'll find your answer. Note, that there was a bug in maven 2.0.7, so updating to a newer maven

Re: maven2 pom help

2008-04-08 Thread Martin Höller
On Monday 07 April 2008 Wayne Fay wrote: Start over from scratch. Put all Java source files in main/src/java. You do not need to configure the jar plugin. Sorry to correct you Wayne, but it's not main/src/java but src/main/java. hth, - martin signature.asc Description: This is a digitally

Issue when run ant task under maven2

2008-04-08 Thread gerasim
Hello y'all, Would u be nice to look a bit into my wicked issue) Bugger, i've spent 3 days and still screwing.. Main idea: try to submit any simple task under maven, i've done it before on my local machine as well, and then try on remote VM ware. Everywhere have the same enviroment - Eclipse

RE: Repository search

2008-04-08 Thread Brian E. Fox
We have a live instance of Nexus sitting on a mirror of Central: http://repository.sonatype.org -Original Message- From: Martin von Gagern [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 11:33 AM To: Maven Users List Subject: Re: Repository search Stuart McCulloch wrote: you

RE: Downloading Apache Maven Repositories : Proxy Workaround

2008-04-08 Thread Brian E. Fox
Use Nexus as a local proxy/cache. You can download and run it out of the box with no config so it's the easiest and lightest instance to run on a local machine. Just hook up your Maven to it with a mirrorOf central (or *) and run your build ahead of time. This will populate Nexus with all the

Repository not working problem

2008-04-08 Thread Java Programmer
Hello, How to setup timeout for rarely not working repository, or how to set to skip fetching poms from such repositories? I have problem because sometime when developing one of repo is out, and our build waits for it very long period of time - it consider only checking if newer version is

RE: Downloading Apache Maven Repositories : Proxy Workaround

2008-04-08 Thread Edward Song
Thanks Wayne for your reply, They're super strict with their networking and only allow HTTP traffic through a firewall and the demo computer is onsite. So installs can only be done from an internal approved resource. Despite their tight restrictions, they have a manual build process, and

Re: Downloading Apache Maven Repositories : Proxy Workaround

2008-04-08 Thread Brett Porter
Well, for the record, this is the same with a default Archiva installation. Each to their own :) On 08/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: Use Nexus as a local proxy/cache. You can download and run it out of the box with no config so it's the easiest and lightest instance to run on

Maven assembly differs when built on Windows vs. Unix

2008-04-08 Thread Robin Roos
Hi Folks I've raised a JIRA issue regarding my project. When I do mvn assembly:assembly on Windows I get good artifacts, but the contents of my .tar files differs materially when the same is done on Linux (our build server). The problem concerns my introduction of classifier-based artifacts

AW: Maven assembly differs when built on Windows vs. Unix

2008-04-08 Thread Giesselmann, Torben
I noticed the difference between 2.2-beta-1 and 2.2-beta-2 as well. Either lock the plugin version: build plugins plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-1/version /plugin /plugins /build or update your plugins by starting Maven

timeouts configuration

2008-04-08 Thread aldana
hi, currently proxy repository of http://repository.codehaus.org/ had been very slow in respondance. this made archiva hang (see log below). after removing this repository as proxy connector everything worked fine again. instead of deleting this another setting would be nice, so if there are

RE: Maven assembly differs when built on Windows vs. Unix

2008-04-08 Thread Robin Roos
Since the behaviour of 2.2-beta-2 is not what I want I have now fixed the version number. Hopefully that will address the problem when our build server does the build. The problem I then face is that either -beta-2 breaks something, or I am relying on broken behaviour that was fixed in

RE: Downloading Apache Maven Repositories : Proxy Workaround

2008-04-08 Thread Brian E. Fox
Since you mentioned it, and I wasn't aware that there was a standalone archiva, I decided to check it out. Firing it up with no config, just adding an admin user uses up ~130MB of ram. A standalone default Nexus config is using only ~28. Artifactory is using about ~50mb. On a server this might not

Re: Multiple Executions with Hibernate3 Plugin

2008-04-08 Thread Alan Gutierrez
So, it is the case that you can only use antrun one in your pom.xml to do one thing? You can't create new goals using XML? If so, that is wicked lame. Alan On Apr 7, 2008, at 3:38 PM, Alan Gutierrez wrote: Wayne You could either include the full plugin config in the plugin or just a

Re: Downloading Apache Maven Repositories : Proxy Workaround

2008-04-08 Thread Brett Porter
On 09/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: Since you mentioned it, and I wasn't aware that there was a standalone archiva, I decided to check it out. Firing it up with no config, just adding an admin user uses up ~130MB of ram. A standalone default Nexus config is using only ~28.

Re: Using Maven Ant Tasks in a CI Environment with IBM Jazz

2008-04-08 Thread Jason van Zyl
Whatever operations are performed on our side that switches the classloader should switch it back. The analysis below doesn't really help us identify where this is happening, but Herve can probably take a look. It might be in the task code, or in Maven itself. On 7-Apr-08, at 11:22 PM,

Re: Multiple Executions with Hibernate3 Plugin

2008-04-08 Thread Wayne Fay
No, you can't create new goals using XML. And this is not wicked lame -- its a good thing for people who care about consistent and repeatable builds across their organization. You can however bind multiple occurrences of the antrun plugin (with varying configurations) to multiple phases if you

Re: maven2 pom help

2008-04-08 Thread Wayne Fay
Thanks for that Martin, and no need to say sorry! I am human just like anyone and certainly make my share of mistakes. Wayne On 4/8/08, Martin Höller [EMAIL PROTECTED] wrote: On Monday 07 April 2008 Wayne Fay wrote: Start over from scratch. Put all Java source files in main/src/java. You do

Re: How change location of settings.xml

2008-04-08 Thread author
THANX ALL! -- View this message in context: http://www.nabble.com/How-change-location-of-settings.xml-tp16535853s177p16562011.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Using Maven Ant Tasks in a CI Environment with IBM Jazz

2008-04-08 Thread Donald Weinand
Here's a simple ant class and script that demonstrates the problem. It uses the Maven sample. The ant build script: ?xml version=1.0 encoding=UTF-8? project name=MavenTest default=default xmlns:artifact=antlib:org.apache.maven.artifact.ant description description

mvn repository:bundle-create, no SCM available

2008-04-08 Thread Eugeny N Dzhurinsky
Hello! I would like to upload an artifact to Maven central repository, however there's no public SCM available for the artifact - can I still upload the artifact to the repository, or I have to set up and maintain our custom in-house repository for publishing jars and source attachments? Thank

how to execute a plugin only once in multi-project parent pom

2008-04-08 Thread Ittay Dror
Hi, I have a pom that acts both as parent and as multi-module. In it, I have a plugin execution. What I want is for the plugin to execute once when invoking maven on the parent pom (so it does not run for every module), and also have it executed when invoking maven on some child module

Re: mvn repository:bundle-create, no SCM available

2008-04-08 Thread Wayne Fay
That's ok -- you can publish jars without having a public SCM. Wayne On 4/8/08, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: Hello! I would like to upload an artifact to Maven central repository, however there's no public SCM available for the artifact - can I still upload the artifact to

RE: how to execute a plugin only once in multi-project parent pom

2008-04-08 Thread Brian E. Fox
You can set inherited=false in the parent so it won't go down to all the children. There is no way to currently tell a plugin to execute only once in a given build no matter where the build is executed. I tried to do this with the enforcer and ended up having to put caching logic into the plugin

Accessing test.properties from within a test case class?

2008-04-08 Thread Allen, Daniel
Hi, all. I feel like this must be a really obvious question, but I haven't found an example yet. When I started my project from an archetype (struts 2, specifically) my /test/resources folder got a file called test.properties. It seems pretty clear that this is where properties that my test cases

RE: Accessing test.properties from within a test case class?

2008-04-08 Thread Brian E. Fox
It will be on the classpath, so load that property file as a resource from the cp. -Original Message- From: Allen, Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 3:45 PM To: Maven Users List Subject: Accessing test.properties from within a test case class? Hi, all. I

RE: Accessing test.properties from within a test case class?

2008-04-08 Thread Allen, Daniel
Ok, thanks. Sorry, I knew it was going to something simple that I was just missing. ~DVA -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 3:59 PM To: Maven Users List Subject: RE: Accessing test.properties from within a test case class?

Re: how to execute a plugin only once in multi-project parent pom

2008-04-08 Thread Ittay Dror
ok, created case http://jira.codehaus.org/browse/MNG-3508 Brian E. Fox wrote: You can set inherited=false in the parent so it won't go down to all the children. There is no way to currently tell a plugin to execute only once in a given build no matter where the build is executed. I tried to do

Re: Using Maven Ant Tasks in a CI Environment with IBM Jazz

2008-04-08 Thread Hervé BOUTEMY
Le mardi 08 avril 2008, Jason van Zyl a écrit : Whatever operations are performed on our side that switches the classloader should switch it back. The analysis below doesn't really help us identify where this is happening, but Herve can probably take a look. It might be in the task code, or

Missing artifact org.apache.maven.plugins:maven-jetty-plugin

2008-04-08 Thread Brier, Frederick (IHG Temp)
I was attempting to use AppFuse. Created a project from an archetype and then tried mvn jetty:run-war. I got a BUILD ERROR - The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found. So I checked. Sure enough, the plugin is missing from the

Re: Missing artifact org.apache.maven.plugins:maven-jetty-plugin

2008-04-08 Thread Michael
Brier, Frederick (IHG Temp) wrote: I was attempting to use AppFuse. Created a project from an archetype and then tried mvn jetty:run-war. I got a BUILD ERROR - The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found. So I checked. Sure

metadata -updater does not appear to be working!

2008-04-08 Thread Jason Chaffee
According to the documentation the metadata-updater will do the following: metadata-updater - Updates artifact metadata files depending on the content of the repository. I have been testing this by deploying several artifacts to the repository and getting a specific timestamp and build

Re: Missing artifact org.apache.maven.plugins:maven-jetty-plugin

2008-04-08 Thread Dennis Lundberg
This is not an official plugin, so it has a different groupId than the normal official plugins. Therefor you have to specify the groupId to be able to use it: org.mortbay.jetty:maven-jetty-plugin Brier, Frederick (IHG Temp) wrote: I was attempting to use AppFuse. Created a project from an

Examples for scm:checkout Goal

2008-04-08 Thread Harper, Brad
Greetings: We've begun committing release notes to an svn repository. I'd like to extract the document during a release and bundle it with a project artifact via the assembly plugin. I'm attempting to use the scm plugin attached to the 'process-resources' phase in preparation for the assembly,

RE: Missing artifact org.apache.maven.plugins:maven-jetty-plugin

2008-04-08 Thread Brier, Frederick (IHG Temp)
Thank you. I made a silly mistake. -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 5:57 PM To: Maven Users List Subject: Re: Missing artifact org.apache.maven.plugins:maven-jetty-plugin This is not an official plugin, so it has a

Re: Examples for scm:checkout Goal

2008-04-08 Thread Dan Tran
here is an example. http://svn.codehaus.org/mojo/trunk/mojo/pde-maven-plugin/src/it/m2eclipse/pom.xml -D On Tue, Apr 8, 2008 at 3:49 PM, Harper, Brad [EMAIL PROTECTED] wrote: Greetings: We've begun committing release notes to an svn repository. I'd like to extract the document during a

Re: Use assembly and deploy togeather

2008-04-08 Thread Luke Daley
On 08/04/2008, at 5:15 PM, Michael Mühlebach wrote: I tried it with this command but my problem is the created zip file does not contain the deployed jar file. It still has a -SNAPSHOT postfix which is quite ugly. On Tue, Apr 8, 2008 at 1:44 AM, Luke Daley [EMAIL PROTECTED] wrote: On

exec:java in multi project environments

2008-04-08 Thread Joshua ChaitinPollak
Hi, I'm having a bit of trouble with the exec-maven-plugin. I've got a project setup with two sub-modules, and when I run the exec plugin on a main class that is in one module that depends on another, I get an error that the dependancy module is not in the repository. I don't want to have

Re: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Dan Fabulich
Andreas Guther wrote: Does anyone have an idea how to solve this issue and get the classes back on the path under Surefire 2.4? This is a somewhat frequently asked question, so I've written a wiki article about it:

RE: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Andreas Guther
The solution to the problem is to configure Surefire 2.4.2 to not use the System Classloader, i.e in the following way: configurationuseSystemClassLoaderfalse/useSystemClassLoader/confi guration Or in more details: properties

Re: exec:java in multi project environments

2008-04-08 Thread Joshua ChaitinPollak
Correction to my previous post: I realize now that the problem described below is actually caused by my helper script changing into the ModuleB directory before running the command below, which would understandably cause the problem described. HOWEVER, I am still having a problem, which is

[ANNOUNCE] Apache Archiva 1.0.2 Released

2008-04-08 Thread Brett Porter
The Apache Archiva team is pleased to announce the release of Archiva 1.0.2 Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown artifacts

[ANNOUNCE] Sonatype Nexus 1.0-beta-2 Released

2008-04-08 Thread Jason van Zyl
Hi, The Sonatype gang are pleased to announce the release of Nexus 1.0- beta-2. We're pushing hard to try and get the 1.0 out the door. You can see Brian's blog entry here about it here: http://blogs.sonatype.com/brian/2008/04/08/1207707783272.html And you can download it here:

Adding a Main-Class to a jar-with-dependencies jar?

2008-04-08 Thread Mark Derricutt
Hey all, http://docs.codehaus.org/pages/viewpage.action?pageId=72602 shows how to set the Main-Class for a .jar file using the maven-jar-plugin and thats fine, but I was wondering if this could also be applied to the jar being made from the assembly plugin somehow? Do I need to make a custom

Newer Jar Override

2008-04-08 Thread Chris_Graham
Hi All. The org.apache.maven.plugins:maven-checkstyle-plugin dependon upon checkstyle 4.1. I'd like to use checkstyle 4.4 (that matches by eclipse version). Is there any way to override it and get it to use 4.4 instead of 4.1? TIA, -Chris

Re: exec:java in multi project environments

2008-04-08 Thread Joshua ChaitinPollak
I've discovered my problem and submitted a patch for the exec-maven- plugin: http://jira.codehaus.org/browse/MEXEC-43 On Apr 8, 2008, at 11:01 PM, Joshua ChaitinPollak wrote: Hi, I'm having a bit of trouble with the exec-maven-plugin. I've got a project setup with two sub-modules, and when