changelog and perforce

2007-07-16 Thread Jackson, Brian R
I'm trying to use the changelog with Perforce but after some investigation it appear that the SCM provider for Perforce in not creating the necessary client. The changelog plugin executes this command: p4 -p perforce:1666 -c JACKSBRR-LW-CT-JACKSBRR-MavenSCM-C:\Projects\SuperPOMs\espn filelog

Re: Force higher version dependency?

2007-07-16 Thread noon
leetgeezer wrote: Hi list, Let me describe my problem by example. I have a dependency on Spring 2.1-m2 (one big jar) and Acegi security 1.0.4. The problem is that Acegi depends on various parts of Spring 2.0.4 (single component jars). Of course it works without any problems w/2.1-m2

Re: [M2]skip parent

2007-07-16 Thread Rémy Sanlaville
For the moment maven-antrun-plugin do not allows you to skip plugin's execution cf. http://jira.codehaus.org/browse/MANTRUN-65 , Vote for it ! :-) You can also vote for it ! http://jira.codehaus.org/browse/MNG-3102 Rémy

RE: Failed to validate POM warning

2007-07-16 Thread Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
Does anyone has an idea of why Maven is producing such a warning : [DEBUG] Retrieving parent-POM: sapiens:SocleSapiens::2.6.0 for project: null:SapiensCommonsCore:jar:null from the repository. [WARNING] POM for 'sapiens:SapiensCommonsCore:pom:2.6.0:compile' is invalid. It will be ignored for

Re: Failed to validate POM warning

2007-07-16 Thread Rémy Sanlaville
By the way, is there a tool or plugin to validate a POM ? mvn validate ? Rémy

diagnosing class version errors

2007-07-16 Thread Mark Derricutt
Hi all, I have a strange problem which has me pulling my hair out, using OS/X, maven and testng I had some tests working fine - up until I tried loading the postgresql database driver which now throws an UnsupportedClassVersion: Tests run: 12, Failures: 1, Errors: 0, Skipped: 11, Time elapsed:

version range causes mvn to lookup jar in wrong repository?

2007-07-16 Thread ossi petz
Hallo another weird problem :) i have two repositories defined, one for snapshots, one for releases. when i add a dependency like: dependency groupIdgroup.id/groupId artifactIdartifact-id/artifactId version[2007.2.,2007.3)/version

build flavours

2007-07-16 Thread John Coleman
Hi, We have the fairly typical scenario where we want to build different flavours of an application for our clients. Typically each client requires a different set of properties files, for example, but there might be further changes to the resources or classes. How should we leverage

[m2] archetype plugin

2007-07-16 Thread Hauschel, Fred
hey all, last week i created my first own archetype. All does work fine! This week the plugin replaces ${groupId} and ${artifactId} with the values from the archetype instead of the passed Values from cmdLine ;-( But the plugIn received the cmd line arguments: [INFO]

Re: version range causes mvn to lookup jar in wrong repository?

2007-07-16 Thread Mark Hobson
Hi there, Version ranges are rather buggy at the moment - I've experienced something similar, although contrary to what you mention: http://jira.codehaus.org/browse/MNG-2994 Cheers, Mark On 16/07/07, ossi petz [EMAIL PROTECTED] wrote: Hallo another weird problem :) i have two repositories

RE: diagnosing class version errors

2007-07-16 Thread Terala, Satish \(IS Consultant\)
Try running maven with -X option. This will print out the exact classpath thats being set at compile/runtime. This seems to be case of an incompatible jar on JDK5. From: Mark Derricutt [mailto:[EMAIL PROTECTED] Sent: Mon 7/16/2007 6:25 AM To: Maven Users

Re: Jar truncated on download

2007-07-16 Thread kelvin goodson
Thanks for the suggestion. there is no proxy involved. Regards, Kelvin. On 12/07/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Check for your proxy settings if you are working on a restricted network. There might be some runtime dependencies which are not getting downloaded meanwhile

Re: Force higher version dependency?

2007-07-16 Thread leetgeezer
Thanks, that's what I was looking for -- View this message in context: http://www.nabble.com/Force-higher-version-dependency--tf4082732s177.html#a11614647 Sent from the Maven - Users mailing list archive at Nabble.com. - To

AW: [m2] archetype plugin

2007-07-16 Thread Hauschel, Fred
great mistake ;-))) I had added a parent pom which has aktivated the resource filtering. So the filtering has replaced the variables with the wrong values ;-(( Fredy -Ursprüngliche Nachricht- Von: Hauschel, Fred [mailto:[EMAIL PROTECTED] Gesendet: Montag, 16. Juli 2007 13:49 An: Maven

Re: Cannot download parent pom from specified remote repository

2007-07-16 Thread Daniele Dellafiore
On 7/11/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: Ok, I have added this and works. Happy to see that it works :-) Yesm it works but is not a suitable solution. I explain you why... I still have one question unresolved: why to download artifact defined as dependency from my company

Re: version range causes mvn to lookup jar in wrong repository?

2007-07-16 Thread ossi petz
hallo well version ranges are somewhat important. i've found some sort of workaround by adding the enabled flags below: (found in some bug report) repository idinternal/id nameInternal maven repository/name urlhttp://repo/mvn/internal/url

Re: build flavours

2007-07-16 Thread ossi petz
Hallo both seems equally possible. you can inherit your pom from a prent pom without defining modules in the parent. you would need to release the parent on its own prior to its 'children'. if you frequently release versions for every client a parent pom with configured modules has some

[m2] renaming resource files

2007-07-16 Thread jbld2001
Hello, I'm currently writing a pom for my project. I have some resource files to rename on every compilation. Is there a plugin able to do so ? Thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: property dependent resources

2007-07-16 Thread Steven Rowe
Hi Severin, Here's an undocumented profiles trick: profiles profile idundefined-property-value/id activation property name!my.property.name/name /property /activation properties my.property.namedefault-value-here/my.property.name /properties

Continuum+archiva in same application

2007-07-16 Thread Arnaud Bailly
hello, I am trying to run continuum and archiva in the same plexus component but I ran into some problems. Using both latest builds result in some conflicts in libs as I got an exception Method does not exist Collections.isNotEmpty(). Does anybody has had success with that and can give me some

Re: [m2] Can I have a user specific plugin?

2007-07-16 Thread Mick Knutson
I can't find any reference to adding a build plugin into my settings.xml On 7/13/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi, I think you can use profiles in the project's pom instead of at the settings.xml as it allows you to modify the plugins and dependencies of the project while you

running a java class form maven2

2007-07-16 Thread EJ Ciramella
Is there a simply way to simply run a java class from maven 2 without using the built in ant facilities?

Re: running a java class form maven2

2007-07-16 Thread Patrick Kimber
Hi I use the Maven exec plugin: http://mojo.codehaus.org/exec-maven-plugin/ To run MainClass in the current VM with the enclosing project's dependencies as classpath: mvn exec:java -Dexec.mainClass=com.company.app.MainClass Patrick On 16/07/07, EJ Ciramella [EMAIL PROTECTED] wrote: Is there

Re: property dependent resources

2007-07-16 Thread Severin Ecker
hi steven, thanks so much... the workaround i have right now is horrible ;) cheers, severin Steven Rowe wrote: Hi Severin, Here's an undocumented profiles trick: profiles profile idundefined-property-value/id activation property name!my.property.name/name

Re: Checkstyle plugin - need list of params that can be set

2007-07-16 Thread Erez Nahir
You can also use mvn help:describe -DgroupId=groupId -DartifactId=artifactId -Dversion=version -Dfull=true for all plugins... Erez. Dennis Lundberg wrote: Si_Simon wrote: Where can I find a complete list of parameters that can be set in the configuration section of the Maven2 Checkstyle

Re: [m2] renaming resource files

2007-07-16 Thread Wayne Fay
Many people use the Antrun with copy task to perform renaming. What kinds of resource files are you renaming, and why? It is very likely that there is a better Maven-way to do what you want to do, probably involving filters and profiles. Wayne On Mon, 16 Jul 2007 17:32:09, [EMAIL PROTECTED]

deploy vs site:deploy -- scpexe://[EMAIL PROTECTED]

2007-07-16 Thread Smith, Matt
All- I have a repository and site configuration in distributionManagement. Both have a URL of the form scpexe://[EMAIL PROTECTED] I am using maven 2.0.7. --snip-- distributionManagement repository idmy.server.com/id urlscpexe://[EMAIL PROTECTED]/srv/maven2/url

Profile activation - release

2007-07-16 Thread Barrett Nuzum
Hi everyone. I have a plugin that needs to be executed in two different configurations. One configuration is for when being released with the release plugin only. Another is for all other times. I've figured out the profiles configuration for the execution of the plugins -- but the activation

Re: Same jar, different version

2007-07-16 Thread Vincent Siveton
Hi, Seems to be a problem inside appfuse. Ask it on [EMAIL PROTECTED] http://appfuse.org/display/APF/Mailing+Lists Cheers, Vincent 2007/7/14, Frederick N. Brier [EMAIL PROTECTED]: I am learning AppFuse and Maven2 at the same time. Things are going well, but I have a number of .jar(s)

Jars installation?

2007-07-16 Thread Tawfik, Sameh E
Hi, I'm using Maven version: 2.0.6. My project has few modules; I created the parent pom.xml file, and pom.xml for each module. Is there is a way to install specific jars to the local repository without using the command line, by specifying the needed jars in the pom.xml? Right now, when I

plain old application packaging

2007-07-16 Thread Nord, James
Hi all, I have maven building several projects some of which are common and some are shared between applications. I want to be able to have a build that contains specific project dependencies and produces a bundled result - such as a zip that can be taken and given to the

Re: Jars installation?

2007-07-16 Thread Wendy Smoak
On 7/16/07, Tawfik, Sameh E [EMAIL PROTECTED] wrote: Is there is a way to install specific jars to the local repository without using the command line, by specifying the needed jars in the pom.xml? ... Try downloading the file manually from the project website. Then, install it using the

Can not perform a release with clearcase as a scm

2007-07-16 Thread
Hi I have some troubles when working with maven and clearcase. In order to release a project, I type 'mvn release:prepare --batch-mode' and the commond success.but when I type 'mvn release:perform' a BUILD ERROR occurs,I'm using maven in SunOS and in my project's pom I have the following

Compilation issues

2007-07-16 Thread Jackson, Brian R
Anyone know why mvn compile runs with no goals needed for project - skipping but mvn compiler:compile runs just fine for my project? Thanks, Brian

Jar Version Question

2007-07-16 Thread David Williams
Hi Everyone, I think I know the answer to this question but I wanted to confirm. Is it possible for a jar not to have a version number attached to it's name? Thanks, David

Question about setting up snapshot repository

2007-07-16 Thread Baz
All, I have questions about setting up snapshot repository. I read the instruction on http://mojo.codehaus.org/using-sandbox-plugins.html and i have the following questions: If I build some java code, and resulted in some_api.jar and type mvn deploy, then does it goes to

Re: plain old application packaging

2007-07-16 Thread Heinrich Nirschl
On Mon, 2007-07-16 at 17:29 +0100, Nord, James wrote: I want to be able to have a build that contains specific project dependencies and produces a bundled result - such as a zip that can be taken and given to the packaging/installation team. As I'm not using web technology I can't find a