Re: Dependency overriding.

2010-12-02 Thread per-henrik hedman
Hi John, there is such a thing as dependency exclusions, that might help you in this: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html cheers, Phh On Fri, Dec 3, 2010 at 1:14 AM, asdas adasads wrote: > Hi, > >    My project has two pom's. One is

Re: webservice for maven artifact search?

2010-12-02 Thread Brian Fox
Repository.apache.org exposes nexus' rest interface --mobile On Dec 2, 2010, at 4:44 PM, Russ Tremain wrote: > anyone know of a web-service interface to any of the public maven artifact > lookup services? > > tia, > -russ > >

Re: Catch 22 with clean phase

2010-12-02 Thread Brian Topping
On Dec 2, 2010, at 7:05 PM, Wayne Fay wrote: >> Ok, so this is working great now, except for one problem. It runs >> great the first time, but if I run "mvn clean" a second time, the >> batch file is not there so it can't call it and it returns with an >> error. > > Turn your batch file into a

Dependency overriding.

2010-12-02 Thread asdas adasads
Hi, My project has two pom's. One is a called a super pom and contains basic configuration for the whole project. Second pom declares "super pom" as its parent. In super pom you can find these dependency: org.slf4j slf4j-log4j12 1.5.6

Re: Catch 22 with clean phase

2010-12-02 Thread Wayne Fay
> Ok, so this is working great now, except for one problem.  It runs > great the first time, but if I run "mvn clean" a second time, the > batch file is not there so it can't call it and it returns with an > error. Turn your batch file into a plugin and these problems will magically go away. Wayn

Re: webservice for maven artifact search?

2010-12-02 Thread Jason van Zyl
http://www.sonatype.com/people/2008/11/searching-with-the-sonatype-nexus-rest-api-groovy/ On Dec 2, 2010, at 6:57 PM, Russ Tremain wrote: > Well, if I were going to design something from scratch, I think a simple > REST'ful api would suffice, perhaps similar to hudson: > > http://wiki.hud

Re: Catch 22 with clean phase

2010-12-02 Thread Hilco Wijbenga
On 2 December 2010 15:57, Phillip Hellewell wrote: > Is there any way to make it conditional so it won't try to run the > batch file if the target/ directory is not there?  I'm using the > exec-maven-plugin but I don't see any options that would help. You could add a profile that's only triggered

Re: Catch 22 with clean phase

2010-12-02 Thread Phillip Hellewell
On Thu, Dec 2, 2010 at 4:43 PM, Phillip Hellewell wrote: > On Thu, Dec 2, 2010 at 1:25 PM, Brian Topping wrote: >> There is a pre-clean, see >> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference > > That's so weird.  I swear I was on this page look

RE: webservice for maven artifact search?

2010-12-02 Thread Russ Tremain
Well, if I were going to design something from scratch, I think a simple REST'ful api would suffice, perhaps similar to hudson: http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API (although don't need so many choices!) So perhaps I should broaden my question - is there anything o

Re: Catch 22 with clean phase

2010-12-02 Thread Phillip Hellewell
On Thu, Dec 2, 2010 at 1:36 PM, Wendy Smoak wrote: > On Thu, Dec 2, 2010 at 3:08 PM, Phillip Hellewell wrote: >> There's a batch file I want to run during the clean phase.  Problem >> is, the batch file lives below target/dependency, and the clean phase >> wipes "target" first, so then my batch f

Re: Catch 22 with clean phase

2010-12-02 Thread Phillip Hellewell
On Thu, Dec 2, 2010 at 1:25 PM, Brian Topping wrote: > There is a pre-clean, see > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference That's so weird. I swear I was on this page looking for pre-clean and couldn't find it. I don't know why. Oh we

Re: clean then package error

2010-12-02 Thread Marshall Schor
On 10/19/2010 6:14 AM, 冯仁君 wrote: > yes, I do this from m2eclipse, not command line. and I have set eclipse > running in jdk in the setting.ini of eclipse. > > my setting: > -vm > D:\Java\jdk1.6.0_21\bin\javaw.exe > > I think it's what you say,right? I think that's not right. should be without

RE: webservice for maven artifact search?

2010-12-02 Thread Martin Gainty
what kinds of things would you look for in this webservice? SOAP 1.0 or SOAP 1.1 or some other schema? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der v

webservice for maven artifact search?

2010-12-02 Thread Russ Tremain
anyone know of a web-service interface to any of the public maven artifact lookup services? tia, -russ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Catch 22 with clean phase

2010-12-02 Thread Tamás Cservenák
FYI, "Simple things" (you say for bath file "a plugin is really overkill for what this batch file does") are the best candidates to make into plugins. Especially if that's something "company specific" or "project specific" thingy. Thanks, ~t~ On Thu, Dec 2, 2010 at 9:36 PM, Wendy Smoak wrote:

Re: maven-dependency-plugin 2.2 release?

2010-12-02 Thread Brian Fox
Soon. I resolved a ton of issues at ApacheCon and just ran out of time to wrap it up. I'll be getting back to it in the next week or so. On Wed, Dec 1, 2010 at 10:19 PM, Dan Tran wrote: > me too :-) > > On Wed, Dec 1, 2010 at 10:04 AM, Jim McCaskey > wrote: >> Hello all, >> >> I ran across a pro

Re: Maven Central Repository & Bad Checksums

2010-12-02 Thread Brian Fox
We do a little bit of sleuthing when resolving these types of issues to make sure the file hasn't been changed, which is why automatic correction isn't implemented. We are working on process to ensure that no new things come in this way. It can only happen today via the old rsync mechanisms and tho

Re: Catch 22 with clean phase

2010-12-02 Thread Wendy Smoak
On Thu, Dec 2, 2010 at 3:08 PM, Phillip Hellewell wrote: > There's a batch file I want to run during the clean phase.  Problem > is, the batch file lives below target/dependency, and the clean phase > wipes "target" first, so then my batch file can't be found. What does the batch file do? Just g

Re: Catch 22 with clean phase

2010-12-02 Thread Brian Topping
There is a pre-clean, see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference On Dec 2, 2010, at 3:08 PM, Phillip Hellewell wrote: > There's a batch file I want to run during the clean phase. Problem > is, the batch file lives below target/dependen

Catch 22 with clean phase

2010-12-02 Thread Phillip Hellewell
There's a batch file I want to run during the clean phase. Problem is, the batch file lives below target/dependency, and the clean phase wipes "target" first, so then my batch file can't be found. Is there a good solution to this? Like a pre-clean phase or something? The only other ideas I've c

Re: Maven Central Repository & Bad Checksums

2010-12-02 Thread Wayne Fay
> I don't think that checksums are for detecting compromised jars. Checksums > are for checking that a file was transferred correctly, regardless of it > being compromised or not. So, I also think that all checksums should be > corrected. But how does a bot know that the Jar was uploaded ok into C

Re: Maven Central Repository & Bad Checksums

2010-12-02 Thread Anders Hammar
I don't think that checksums are for detecting compromised jars. Checksums are for checking that a file was transferred correctly, regardless of it being compromised or not. So, I also think that all checksums should be corrected. However, pgp signatures are for detecting compromised files. /Ander

Re: [Antrun]: access to build file located in a jar

2010-12-02 Thread Wayne Fay
>  I'm trying to lauch an antfile from a jar but it'd not working. > If I unzip the jar it works but the idea is to work with the jar. > >              antfile ="D:\Documents and > settings\elabouss\.m2\repository\fr\sogeti\plpm\infra\persistance\jpa\fr.sogeti.plpm.infra.persistance.jpa.model\0.0.1

Re: Maven Central Repository & Bad Checksums

2010-12-02 Thread Wayne Fay
> Furthermore, it would seem that automating this process would be the answer, > as > it probably wouldn't be difficult to crawl the repository and check checksums > and > either (a) add them where they are missing or (b) fix them where they are > there > and are incorrect. I don't think you wa

Re: Maven Central Repository & Bad Checksums

2010-12-02 Thread Scott Parkerson
On Dec 2, 2010, at 10:02 AM, Anders Hammar wrote: > You should file tickets for Maven Central at [1] instead. > > [1] https://issues.sonatype.org/browse/MVNCENTRAL > Sigh. This is what I get for not reading *closely* (and assuming that things were as they were 11 months ago). So Sonatype is in

Re: Maven Central Repository & Bad Checksums

2010-12-02 Thread Anders Hammar
You should file tickets for Maven Central at [1] instead. /Anders [1] https://issues.sonatype.org/browse/MVNCENTRAL On Thu, Dec 2, 2010 at 15:21, Scott Parkerson wrote: > Once upon a time, I filed a JIRA at Codehaus: > http://jira.codehaus.org/browse/MEV-641. Eleven months elapsed before > some

Maven Central Repository & Bad Checksums

2010-12-02 Thread Scott Parkerson
Once upon a time, I filed a JIRA at Codehaus: http://jira.codehaus.org/browse/MEV-641. Eleven months elapsed before someone finally fixed the checksum metadata to match the jar in the repository. Yesterday, I filed another pair of issues: MEV-675 and MEV-676. I was wondering if I have to wait

[Antrun]: access to build file located in a jar

2010-12-02 Thread abousso...@gmail.com
Hi I'm trying to lauch an antfile from a jar but it'd not working. If I unzip the jar it works but the idea is to work with the jar. This is my pom : fr.sogeti.plpm.infra.persistance.jpa fr.sogeti.plpm.infra.persistance.jpa.generator 0.

RE: Assembly filtering syntax - properties not filtered

2010-12-02 Thread Alberti Antoine
Hi Jochen, I tried to put back my @ character in my file to filter and changed my pom this way: maven-resources-plugin ${*} false

RE: Assembly filtering syntax - properties not filtered

2010-12-02 Thread Alberti Antoine
ok, thanks a lot. I'll try this other workaround. -Message d'origine- De : Jochen Stiepel [mailto:j.stie...@gmail.com] Envoyé : jeudi 2 décembre 2010 11:54 À : Maven Users List Objet : Re: Assembly filtering syntax - properties not filtered Hi Antoine, as far as I can see this is a kno

Re: Assembly filtering syntax - properties not filtered

2010-12-02 Thread Jochen Stiepel
Hi Antoine, as far as I can see this is a known bug. I has to do with the default delimiter "@". Please see: http://jira.codehaus.org/browse/MRESOURCES-104 CU, Jochen

RE: Assembly filtering syntax - properties not filtered

2010-12-02 Thread Alberti Antoine
Hi all, I found it. It's the @ character from @echo off. If I add the property @ and replace my original run.bat with ${project.version} ${atChar}echo off FOR /F "eol=; tokens=2,2 delims==" %%i IN ('findstr /i "http_port" conf\configuration.properties') DO set ht

Re: faster release:perform

2010-12-02 Thread Arnaud Héritier
I think no because what we want it is to be sure that what we publish is coming from what you have in the branch (no more, no less). Using a switch in SVN could keep various unwanted local files. Arnaud Héritier aherit...@apache.org On Dec 1, 2010, at 8:50 PM, Phillip Hellewell wrote: > Would