Re: Forcing the name of a package in maven

2010-08-04 Thread Stephen Connolly
There is a way if he's embedding the .swf file inside a war. you can use the dependency:copy-dependencies to copy the swf file into the war and strip the version while doing that -Stephen On 3 August 2010 21:52, Anders Hammar and...@hammar.net wrote: There was a very imilar question on this

Re: Maven variables

2010-08-04 Thread Flavio Pompermaier
Maybe you miss a reply: I tried also with help:describe but, with this command, not all parameters have an associated description of default value (although it exists because I remember that the old site documentation says that the default value for source is 1.4, for version 2.0.2 of the compiler

Maven release plugin forking maven

2010-08-04 Thread Jason Perry
Hi, I am using the maven release plugin in teamcity and when I call the release:perform it fails because the teamcity maven plugin contains mvn but not with an executable bit thus causing the perform to fail because of permission problems. The workaround was to go on the box and set the

maven release plugin forking another maven process

2010-08-04 Thread Jason Perry
Hi, I am using the maven release plugin in teamcity and when I call the release:perform it fails because the teamcity maven plugin contains mvn but not with an executable bit thus causing the perform to fail because of permission problems. The workaround was to go on the box and set the

Re: Adding the JRE + Jar ulitily to the build

2010-08-04 Thread Jack Stanley
Legal reviewed the license agreement: http://www.java.com/en/download/license.jsp . We already distribute the JRE as part of another product. We do not see any problems with distributing the whole and complete JRE or the JDK. There is some wording under section B of the SUPPLEMENTAL LICENSE

package org.postgresql.util does not exist compilation problem

2010-08-04 Thread Santiago Álvarez Martínez
Hi: I'm developing a Java application, using Maven, Spring and Hibernate, and Postgre (with Postgis) as DBMS. Everything went OK, until I had to import the org.postgresql.util package, to use the PGobject class, in a UserType Hibernate class. I got the following errors: [...] [loading

How to get list of repositories referred by a pom.xml, including repos from its ancestors

2010-08-04 Thread amaresh mourya
Hi All, How to get list of repositories referred by a pom.xml, I want all repositories explicitly written in this pom and all of its ancestors. I have just been able to find MavenProject.getRepositories() method for my requirement, but if there are some change in parents repositories set between

Re: Adding the JRE + Jar ulitily to the build

2010-08-04 Thread Stephen Connolly
IANAL, The JRE is one thing... Last time I checked, the JDK required that you display the EULA to the end user when installing the JDK... The net result was that we had to split up our one click installer into four: install the non-java stuff (Apache HTTPD), then the Sun JDK installer, then the

Re: package org.postgresql.util does not exist compilation problem

2010-08-04 Thread Ognjen Blagojevic
Hi Santiago, On 3.8.2010 22:13, Santiago Álvarez Martínez wrote: Everything went OK, until I had to import the org.postgresql.util package, to use the PGobject class, in a UserType Hibernate class. I got the following errors: Is this run-time or compile-time error? What is the exact command

Passing command line arguments to surefire plugin

2010-08-04 Thread Taariq Levack
Hi My surefire configuration contains the following snippet... configuration systemPropertyVariables org.apache.cocoon.modedev/org.apache.cocoon.mode This works fine to set the system property -Dorg.apache.cocoon.mode=dev, but what I really want is for the build deployer to set or override

Re: Passing command line arguments to surefire plugin

2010-08-04 Thread Aleksey Didik
Hi, By default, surefire works in fork mode 'once' (new JVM) and all arguments passed from command line via Hudson will be available in base maven process, but not in surefire process. Try to use forkModenever/frokMode. hth, Aleksey. 04.08.2010 15:09, Taariq Levack пишет: Hi My surefire

RE: Passing command line arguments to surefire plugin

2010-08-04 Thread Taariq Levack
That works. I guessed it had to do with forking so I removed the forkMode but the behaviour persisted, because as you say the default is to fork once. Thanks a lot. -Original Message- From: Aleksey Didik [mailto:di...@magenta-technology.ru] Sent: 04 August 2010 13:29 To: Maven Users

Getting from sf.net to central

2010-08-04 Thread Benson Margulies
Does sf.net still lack an approved 'forge' repository for replication to central? If so, can some kind soul please repost the link to the new facility at Sonatype for feeding central? - To unsubscribe, e-mail:

Re: My build fails on build server by not workstation

2010-08-04 Thread Jon Strayer
What configuration would be different and not show up in the effective pom? On Tue, Aug 3, 2010 at 5:17 PM, Ron Wheeler rwhee...@artifact-software.comwrote: Were you planning to give any details? We all know that building correctly on both places wouldn't have caused you to write. The fact

Grails, Maven and system properties?

2010-08-04 Thread Sebastien ARBOGAST
I'm using Grails 1.3.3 and I have externalized certain configuration options to properties files in such a way that I can specify the location of those properties files on the command line when I start up my application: Thanks to this line in Config.groovy: grails.config.locations file: +

prevent maven from downloading dependencies from repositories configured in dependencies

2010-08-04 Thread david_
Hi I want to prevent maven from downloading dependencies from the repositories that are configured in pom.xml files. Maven should only use the repository configured in the settings.xml of maven. We have a corporate repository for all jar files, but it is possible that a pom.xml holds

Re: How to get list of repositories referred by a pom.xml, including repos from its ancestors

2010-08-04 Thread Ron Wheeler
On 04/08/2010 4:02 AM, amaresh mourya wrote: Hi All, How to get list of repositories referred by a pom.xml, I want all repositories explicitly written in this pom and all of its ancestors. I have just been able to find MavenProject.getRepositories() method for my requirement, but if there are

Re: Getting from sf.net to central

2010-08-04 Thread Dominic Mitchell
On Wed, Aug 4, 2010 at 2:06 PM, Benson Margulies bimargul...@gmail.comwrote: Does sf.net still lack an approved 'forge' repository for replication to central? If so, can some kind soul please repost the link to the new facility at Sonatype for feeding central? This sounds like what you're

Re: prevent maven from downloading dependencies from repositories configured in dependencies

2010-08-04 Thread Ron Wheeler
On 04/08/2010 9:34 AM, david_ wrote: Hi I want to prevent maven from downloading dependencies from the repositories that are configured in pom.xml files. Maven should only use the repository configured in the settings.xml of maven. We have a corporate repository for all jar files, but it is

Re: prevent maven from downloading dependencies from repositories configured in dependencies

2010-08-04 Thread Justin Edelson
mirrors mirror idyour-repo/id urlhttp://repomanager//url mirrorOf*/mirrorOf /mirror /mirrors Will cause all depedencies to be resolved from the mirror, regardless of any repositories defined in the poms. Justin On Wed, Aug 4, 2010 at 9:34 AM, david_ meulemans.da...@gmail.com

Re: Passing command line arguments to surefire plugin

2010-08-04 Thread Dan Tran
ability to propagate command line system properties to surefire regardless of forkmode is fixed at http://jira.codehaus.org/browse/SUREFIRE-121 give the latest 2.6-SNAPSHOT a try -D On Wed, Aug 4, 2010 at 5:24 AM, Taariq Levack taar...@itaro.co.za wrote: That works. I guessed it had to do

Re: My build fails on build server by not workstation

2010-08-04 Thread Ron Wheeler
You will get to a solution much quicker when you start to think about this as Maven is working correctly. I have an error in my setup. Where can it be? What do I get to specify? What is the error message? The answer is probably sitting right on the screen. I have never heard of Maven just

Re: Maven variables

2010-08-04 Thread Justin Edelson
That just means that those parameters don't have a default value, at least not one injected by the plugin system/Plexus. On Wed, Aug 4, 2010 at 3:33 AM, Flavio Pompermaier fla8...@gmail.com wrote: Maybe you miss a reply: I tried also with help:describe but, with this command, not all

Re: How to get list of repositories referred by a pom.xml, including repos from its ancestors

2010-08-04 Thread Brian Fox
I added a goal to the dependency plugin a month or so ago to make it easier to dump out the full list of repos used by a build: mvn org.apache.maven.plugins:maven-dependency-plugin:2.2-SNAPSHOT:list-repositories On Wed, Aug 4, 2010 at 8:56 AM, Ron Wheeler rwhee...@artifact-software.com wrote:

Re: Maven release plugin forking maven

2010-08-04 Thread Wayne Fay
it fails because the teamcity maven plugin contains mvn but not with an executable bit thus causing the perform to fail because of permission problems.  The workaround was Why are you complaining about a problem you know is *entirely* the fault of Teamcity to the Maven Users list? Talk to

Re: Maven variables

2010-08-04 Thread Anders Hammar
The docs retrieved by help:describe should be exactly what was published at the maven site. However, for the source and target params my memory tells be that there was defaults of 1.3. Hmm... See this jira: http://jira.codehaus.org/browse/MCOMPILER-80 /Anders On Wed, Aug 4, 2010 at 17:26,

m2eclipse Doxia Editor

2010-08-04 Thread Carr, Brian M
Is there a separate eclipse update site for the Doxia Editor which used to ship with m2eclipse? It seems that it's either no longer a part of m2eclipse, or has moved to some other location. --b __ Brian M. Carr Identity and Access Management ITS Applications

Re: Maven variables

2010-08-04 Thread Justin Edelson
Code, like hips, don't lie. Prior to 2.3, the plugin didn't have default values for source and target. I think they were set to 1.3 in the super POM. On Aug 4, 2010, at 3:45 PM, Anders Hammar and...@hammar.net wrote: The docs retrieved by help:describe should be exactly what was published at

Re: Maven release plugin forking maven

2010-08-04 Thread Mark Derricutt
Or configure Team City to use a standard/normal maven install. This is changeable on a per-project basis, but you can also set it as a default/template I believe. I do that so I can have an secondary build profile using maven 3. -- Pull me down under... On Thu, Aug 5, 2010 at 6:08 AM,

Re: Maven variables

2010-08-04 Thread Anders Hammar
I don't think so (and neither does svn [1]), as that would have overridden the 1.5 defaults of v2.3+ of the plugin as well. /Anders [1] http://svn.apache.org/viewvc/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml?view=markup On Wed, Aug 4,

[ANN] Maven Doxia Tools 1.1 Released

2010-08-04 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Doxia Tools, version 1.1 Doxia Tools is a set of tools for working with Doxia documents. It contains a Converter and a Linkchecker. http://maven.apache.org/doxia/doxia-tools/ You should specify the version in your project's

Podcast on Maven 3

2010-08-04 Thread Brian Fox
The Basement Coders released a podcast this week where we talked a bit about Maven past, and the upcoming Maven 3 : http://www.dzone.com/links/episode_13_maven_3_interview_with_pmc_chair_brian.html?ref=ps --Brian - To

Re: Podcast on Maven 3

2010-08-04 Thread Mark Derricutt
Was a great episode - just finished listening to it on the drive into work this morning. I'd forgotten about the parallel builds stuff. Really look forward to using M3 - pity it causes me some headaches. -- Pull me down under... On Thu, Aug 5, 2010 at 10:07 AM, Brian Fox bri...@infinity.nu

RE: force maven to redownload/refresh released dependencies

2010-08-04 Thread Haszlakiewicz, Eric
-Original Message- From: a.geo [mailto:aquiles@gmail.com] Sent: Monday, August 02, 2010 9:54 AM To: Maven Users List Subject: Re: force maven to redownload/refresh released dependencies mvn package -U maybe? the -U parameter tell to maven to refresh all dependencies required by

RE: force maven to redownload/refresh released dependencies

2010-08-04 Thread Manfred Moser
For everyone that says Released artifacts MUST NOT CHANGE, that great if you live in an ideal world, but guess what: some of us actually have to live in the *real* world where things don't always follow the guidelines. It would be nice if maven didn't make it so hard to deal with those

Re: A dependency only for the dependency plugin

2010-08-04 Thread Brian Fox
In that case you'll need to use the unpack-dependencies goal along with provided. It's possible that this would work correctly in M3 though because of the rework in the resolution. On Mon, Aug 2, 2010 at 9:18 PM, Benson Margulies bimargul...@gmail.com wrote: On Mon, Aug 2, 2010 at 4:17 PM, Brian

Re: force maven to redownload/refresh released dependencies

2010-08-04 Thread Ron Wheeler
On 04/08/2010 6:34 PM, Manfred Moser wrote: For everyone that says Released artifacts MUST NOT CHANGE, that great if you live in an ideal world, but guess what: some of us actually have to live in the *real* world where things don't always follow the guidelines. It would be nice if maven

Re: My build fails on build server by not workstation

2010-08-04 Thread Ben Caradoc-Davies
[Taking this back to the list so they know you have found the problem.] Good to hear you found the cause. I can confirm that AFAIK javax.xml.ws is not present in Java 5. On 04/08/10 21:57, Jon Strayer wrote: Sorry, I thought I mentioned it but it's a compilation failure: package