Re: versions on central-repo (stupid question)?

2008-05-23 Thread Heinrich Nirschl
On Thu, May 22, 2008 at 10:41 PM, kawazu [EMAIL PROTECTED] wrote: Folks; after merrily using maven2 for quite a while, by now I dealt with defining dependency using version ranges for the first time - and failed, not sure why. Maybe I am just too stupid, and maybe someone can help me outta

Re: versions on central-repo (stupid question)?

2008-05-23 Thread kawazu
Henry; first off, thanks for your comment on that. Heinrich Nirschl schrieb: The problem in this case is the broken metadata: http://repo1.maven.org/maven2/jmimemagic/jmimemagic/maven-metadata.xml it lists only version 0.0.4a Ah, I see. So basically, in situations like this the only way is

Re: versions on central-repo (stupid question)?

2008-05-23 Thread Heinrich Nirschl
On Fri, May 23, 2008 at 8:20 AM, kawazu [EMAIL PROTECTED] wrote: Ah, I see. So basically, in situations like this the only way is to avoid using version ranges and defining a fixed version for an artifact used? As far as I know, yes. You could also open a JIRA to get it fixed. Here are a few

Castor 1.0 pom is missing into http://repo1.maven.org/maven2/castor/castor/1.0/

2008-05-23 Thread Dobri Kitipov
Hi all, I want to notify you that Castor 1.0 pom is missing into http://repo1.maven.org/maven2/castor/castor/1.0/. This should be corrected. Thank you. Regards, Dobri

generated sources folder with maven-eclipse-plugin

2008-05-23 Thread Siarhei Dudzin
Hi All, Is there easy way to disable creation of target/generated-resources folder by maven-eclipse-plugin when I don't generate any sources? This folder causes me to regenerate eclipse project files each time I do mvn clean (because if it doesn't exist the projects don't build in eclipse).

Re: Castor 1.0 pom is missing into http://repo1.maven.org/maven2/castor/castor/1.0/

2008-05-23 Thread Werner Guttmann
Hi, I know this is the case (as I am one of the committers of Castor), but maybe you are in a position to switch to a version of Castor higher than 1.0.4 (that's the first version where we (committers) started to use Maven for deployment at the Codehaus Maven repository). As far as I remember,

RE: Downloading a unique snapshot

2008-05-23 Thread Richard Chamberlain
That would always give me 1.0-SNAPSHOT-20080522.114841-2. I always want the latest snapshot, when I receive it i'd like it to be named in a unique way. Is this possible? Regards, Rich -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: 23 May 2008 00:20 To: Maven

Re: generated sources folder with maven-eclipse-plugin

2008-05-23 Thread Arnaud HERITIER
I don't think and it is an issue for me (I don't know if there's already something in Jira) Arnaud On Fri, May 23, 2008 at 9:39 AM, Siarhei Dudzin [EMAIL PROTECTED] wrote: Hi All, Is there easy way to disable creation of target/generated-resources folder by maven-eclipse-plugin when I don't

RE: Maven Unplugged (no network access)

2008-05-23 Thread Richard Chamberlain
How about getting the privileged guys to rsync the maven repo so you have an internal mirror? Then you'd have the latest maven stuff available internally. See http://maven.apache.org/guides/mini/guide-mirror-settings.html about creating your own mirror. -Original Message- From: Andreas

Profile activation based on jdv version and property value

2008-05-23 Thread Julien Eluard
Hi everyone, I would like to activate a profile based on a specific jdk version and the definition of a environment property. ie activation property namesome.property/name /property jdk1.4/jdk /activation It looks like any of those condition will

Re: generated sources folder with maven-eclipse-plugin

2008-05-23 Thread Siarhei Dudzin
Arnaud, I haven't found anything in jira Siarhei On Fri, May 23, 2008 at 10:35 AM, Arnaud HERITIER [EMAIL PROTECTED] wrote: I don't think and it is an issue for me (I don't know if there's already something in Jira) Arnaud On Fri, May 23, 2008 at 9:39 AM, Siarhei Dudzin [EMAIL PROTECTED]

Re: Maven Unplugged (no network access)

2008-05-23 Thread Seth Geoghegan
Thanks for the great feedback everyone. I am going to put together a list of options for management and advocate for mirroring the entire repository. It will be a tough sell, since they are very cautious about open source software. However, as Brian mentioned, anything else would be tedious at

Re: Maven Unplugged (no network access)

2008-05-23 Thread [EMAIL PROTECTED]
That sounds like a really bad idea to me. Awful. Mirroring the entire maven repository is a pointless waste of your bandwidth and diskspace, and more importantly a waste of the bandwidth of the ASF. You do not need every copy of every lib going back to the creation of maven itself. And IMO people

Re: Weird Signed Jar Issue

2008-05-23 Thread Adam
I found a fix for this. I figure I'll throw it out in case someone else runs into this problem. The fix is to include an assembly descriptor that excludes the current project I am building the jar with dependencies in. Here is the assembly.xml: assembly idjar-with-dependencies/id formats

Compiling JAR file with debug info included

2008-05-23 Thread David
Hi, I have a Java application and class library that need interactive debugging enabled. To do that I need to build them with debug information included. Can someone explain to me how I do that with Maven as they are Maven builds? Many Thanks, David

Re: Compiling JAR file with debug info included

2008-05-23 Thread [EMAIL PROTECTED]
David schrieb: Hi, I have a Java application and class library that need interactive debugging enabled. To do that I need to build them with debug information included. Can someone explain to me how I do that with Maven as they are Maven builds? See the documentation for the

How do I change the default goal of a war plugin

2008-05-23 Thread Dobri Kitipov
How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? I am trying to do the following, but it seems not working: plugin groupIdorg.apache.maven.plugins/groupId

RE: Compiling JAR file with debug info included

2008-05-23 Thread David
Hi, Thanks for the feedback. I've made a change which I thought was correct but it appears that it isn't: - plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId - configuration compilerArgument-g:source,lines,vars/compilerArgument (Added this line)

cargo-extensions-1.pom

2008-05-23 Thread Clifton
There's a pom in the central repo pointing to a non existant 4.1-SNAPSHOT version of cargo-parent. Is anyone else suffering from it this morning? I went in and set my cargo version to 0.3.1 to work around the problem. It's the second time I had to manually set a plugin version to fix a build

three questions...

2008-05-23 Thread Newcomb, Michael-P57487
1. installing/using maven WITHOUT an internet connection, can this be done? - do I have to execute one goal of each plugin on a machine with an internet connection so that maven will go download it? - then move my .m2 directory to every machine without an internet connection? 2. is there a

Re: cargo-extensions-1.pom

2008-05-23 Thread Luke Ma
I'm having the same problem. Can you point me to which POM is including the bogus snapshot? Clifton wrote: There's a pom in the central repo pointing to a non existant 4.1-SNAPSHOT version of cargo-parent. Is anyone else suffering from it this morning? I went in and set my cargo version to

Re: cargo-extensions-1.pom

2008-05-23 Thread Luke Ma
OK, I'm stupid. Didn't read the title :P Luke Ma wrote: I'm having the same problem. Can you point me to which POM is including the bogus snapshot? Clifton wrote: There's a pom in the central repo pointing to a non existant 4.1-SNAPSHOT version of cargo-parent. Is anyone else

Re: artifact.jar - artifact.zip?

2008-05-23 Thread Russ Tremain
At 6:18 PM -0700 5/22/08, Wendy Smoak wrote: On Thu, May 22, 2008 at 5:59 PM, Russ Tremain [EMAIL PROTECTED] wrote: is it possible to coax the maven-jar-plugin to name my artifact with a .zip suffix instead of .jar? also, can I tell it not to include any manifest? I don't see anything helpful

Re: cargo-extensions-1.pom

2008-05-23 Thread Wayne Fay
On 5/23/08, Clifton [EMAIL PROTECTED] wrote: There's a pom in the central repo pointing to a non existant 4.1-SNAPSHOT version of cargo-parent. Is anyone else suffering from it this morning? I went in and set my cargo version to 0.3.1 to work around the problem. It's the second time I had to

Re: cargo-extensions-1.pom

2008-05-23 Thread Clifton
I see. Yes I will start hard coding versions now. But then How will I know about new releases? I need something to break before I go in and change things. And yes that does sound as dumb as it looks. Wayne Fay wrote: On 5/23/08, Clifton [EMAIL PROTECTED] wrote: There's a pom in the central

Re: cargo-extensions-1.pom

2008-05-23 Thread Wayne Fay
On 5/23/08, Clifton [EMAIL PROTECTED] wrote: I see. Yes I will start hard coding versions now. But then How will I know about new releases? I need something to break before I go in and change things. And yes that does sound as dumb as it looks. A better question is... if your current version

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-23 Thread swilliams89
[X] Our team uses HTTP to retrieve our artifacts - Scott Williams Jason van Zyl-2 wrote: Hi, I'm just trying to get some data on what protocol is used to retrieve artifacts. This question strictly relates to what you use for retrieval. Most people I have seen use a web server

Re: Assembly plugin with several descriptors

2008-05-23 Thread John Casey
This is a fairly involved use case, but I'd suggest taking a slightly different approach. First, split your plugin configuration into two execution sections, instead of one...one per assembly descriptor. This should allow you to set the finalName for your distro ZIP, but not the plugin ZIP.

Maven site – how to link up each sub-module’s sites

2008-05-23 Thread hackaton
I am using Maven 2.0.9 I using “site:run” to generate and test run my projects site. I have no problem access the top level module site but when I access of my sub-module’s sit I get a NOT_FORND error from Jetty Any extra step I need to do to explicitly link up each sub-module’s site? The only