Re: artifacts not downloading

2009-06-24 Thread Barrie Treloar
On Wed, Jun 24, 2009 at 2:35 PM, Wes Wannemacherw...@wantii.com wrote: It is a large multi-module build (the struts2 build, in fact) and a quick glance/grep through poms didn't yield any obvious entries pointing to download.java.net, but I will dig further tomorrow. I noticed the same thing at

Re: How does maven handle artifact's license files?

2009-06-24 Thread Stevo Slavić
It scans through your project's dependencies, looks for licenses definitions, and tries to download them (based on given license URL) into a destination you designate via outputDirectory parameter (defaults to ${project.build.directory}/licenses). It can do the license scanning/downloading quietly

Re: how can I filter the resources of one of the dependencies before building an EAR?

2009-06-24 Thread Stephane Nicoll
It would much more powerful to perform that transformation when you actually deploy the artifacts on the server instead of burning the value in something you could potentially deploy on the repository I would leave the token in the file and add a filtering procedure when the app is built and

Re: how can I filter the resources of one of the dependencies before building an EAR?

2009-06-24 Thread Sergio Rodriguez
Thanks for your answers. Is it possible to filter the contents of an EAR? I thought you could only do that by previously unpacking the resources in a tmp directory. snicoll wrote: It would much more powerful to perform that transformation when you actually deploy the artifacts on the

Re: how can I filter the resources of one of the dependencies before building an EAR?

2009-06-24 Thread Stephane Nicoll
On Wed, Jun 24, 2009 at 9:31 AM, Sergio Rodriguez srodrig...@teralco.comwrote: Thanks for your answers. Is it possible to filter the contents of an EAR? I thought you could only do that by previously unpacking the resources in a tmp directory. Then you misunderstood my proposal. My proposal

surefire plugin: misleading includes/excludes patterns regarding file type (*.java)

2009-06-24 Thread aldana
Looking at http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html the pattern includes the java source file, e.g. *Test.java. But does it really relate to the source file pattern? In my case *Test.java also includes groovy test files like FooTest.groovy. I guess

Re: artifacts not downloading

2009-06-24 Thread adasal
Just to mention:- I had a problem with downloads. Information from http://docs.codehaus.org/display/MAVENUSER/Mirrors+Repositories The mirrors mentioned as synced independently mostly don't work and some of those pushed directly from central may not, I would need to test further. I found reliable

Re: Maven with Hibernate/Multiple POM files

2009-06-24 Thread Baptiste MATHUS
Well, could you give us at least an excerpt of your pom? I'm guessing you want to use some jar and didn't acknowledge the local maven repository existence, but I might be wrong. In fact you seem to be trying to directory use some given jar that's been produced by another projet. But this is all

Putting instrumented classes on the classpath

2009-06-24 Thread lvdpal
Hello, I've tried to put the classes that were instrumented by Cobertura on the classpath so EasyB could find them. Just so Cobertura could see that my classes are in fact tested. I had found a solution based on the Maven Antrun plugin, but due to a bug in this plugin (which I reported in Jira:

How to use the goal dependency:purge-local-repository in POM

2009-06-24 Thread Becker, Christina
Hi, I want to configure in the maven-dependency-plugin in the POM the goal purge-local-repository. Now I have the problem that I want to exclude a artifact from this mechanism. How can I configure this in the POM. My code looks like this: plugin

How remove exclude **/*.java from resources

2009-06-24 Thread Sipungora
Hi, i try to get two source folders in my project. As a second source folder I'm going to use resources directory. I can set **/*.java in include. But in conflicts between include and exclude, exclude wins. How can I remove a default exclude **/*.java from resources?:confused: -- View this

Re: artifacts not downloading

2009-06-24 Thread Wes Wannemacher
On Wed, Jun 24, 2009 at 2:21 AM, Barrie Treloar baerr...@gmail.com wrote: Run mvn help:effective-pom epom.txt This will show you the complete repositories defined in the inheritance chain. You can also check your settings.xml to see whether you are pointing to something wierd.

RE: Putting instrumented classes on the classpath

2009-06-24 Thread Mohan KR
Maybe you can put have *two* executions of the antrun plugin? But, going to the original issue, it appears that the instrumented cobertura classes *should* be in the classpath of the maven reactor? Because I look at the source for the instrumented goal..this is what it shows // Set

RE: Putting instrumented classes on the classpath

2009-06-24 Thread lvdpal
Hi Mohan, I'm not quite sure what you're saying, but yeah, as far as I know the instrumented files have to be on the classpath for EasyB to pick them up. -- View this message in context: http://www.nabble.com/Putting-instrumented-classes-on-the-classpath-tp24183679p24184602.html Sent from the

RE: How does maven handle artifact's license files?

2009-06-24 Thread Todd Thiessen
Thats good to know Stevo. Thanks. Is there a site which describes this plugin and its goals? --- Todd Thiessen -Original Message- From: Stevo Slavic [mailto:ssla...@gmail.com] Sent: Wednesday, June 24, 2009 2:34 AM To: Maven Users List Subject: Re: How does maven handle

[ANN] Doxia-1.1.1 and Doxia-Sitetools-1.1.1 Released

2009-06-24 Thread Lukas Theussl
We are pleased to announce the release of Maven Doxia and Maven Doxia Sitetools, version 1.1.1. Doxia is a content generation framework that provides powerful techniques for generating static and dynamic content: Doxia can be used in a web-based publishing context to generate static sites,

site descriptor, release:perform maven-gpg-plugin

2009-06-24 Thread Stephen Connolly
Has anybody spotted the site descriptor being deployed without a gpg signature when using the release plugin to run a release? If so, did you find a configuration to fix the problem? - To unsubscribe, e-mail:

Re: How remove exclude **/*.java from resources

2009-06-24 Thread Wayne Fay
i try to get two source folders in my project. As a second source folder I'm going to use resources directory. I can set **/*.java in include. But in conflicts between include and exclude, exclude wins. You should use the build-helper-maven-plugin to add the second source directory. Wayne

Re: Maven with Hibernate/Multiple POM files

2009-06-24 Thread David Weintraub
The base directory's POM.xml: project modelVersion4.0.0/modelVersion properties base.version2.1.2-SNAPSHOT/base.version /properties groupIdcom.solbright/groupId version${base.version}/version artifactIdbase/artifactId packagingpom/packaging namebase/name

passing through -D params from CLI to other plugins

2009-06-24 Thread aldana
when doing a: mvn verify -DanyParam=true anyParam property is available inside pom.xml, but not passed through to my running test-suite in surefire or failsafe plugin, which is very annoying because I have to manuall pass through these vars (by defining custom properties in pom and referring it

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread Stephen Connolly
none that I know... the passthrough that used to happen previously was AFAIK considered a bug... also consider that you need to purge certain properties from passthrough, e.g. java debugger port to bind to -Stephen 2009/6/24 aldana ald...@gmx.de: when doing a: mvn verify -DanyParam=true

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread aldana
I see but at least I won't forget this, it took me a while to find out why passing -D params on the CLI did not have any effect on my plugin-setting. Stephen Connolly-2 wrote: none that I know... the passthrough that used to happen previously was AFAIK considered a bug... also

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread Stephen Connolly
what I think would be a good idea is allowing the specification of a list of regexs to match properties to pass through and a list of regexs to match properties to exclude... with exclude taking priority over include, and exclude having a default set to exclude the pain points that drove the

Re: How does maven handle artifact's license files?

2009-06-24 Thread Stevo Slavić
I don't think so, but I believe I've explained pretty much everything about it. I found about it from thishttps://jira.jboss.org/jira/browse/JBBUILD-477task in JBoss JIRA. From there I followed a link to plugin source code. The plugin mojo

Document Artifacts - HOWTO?

2009-06-24 Thread David C. Hicks
I'm sure there is an accepted way of handling this problem, but I haven't found it, yet. I have a text document (release notes) that I need to include in my assembly. Right now, I just use a FileDependency tag in the assembly.xml to go grab the document from its module. The document lives in

Re: Maven with Hibernate/Multiple POM files

2009-06-24 Thread Jörg Schaible
Hi David, [sorting the mail] Another question: I build the base.jar file, and the other two projects depend upon that file. I've setup the POMs to show this dependency: Everything builds, but when I run analyze:dependency, it tells me it is missing base.jar [snip] The base directory's

taglib uri problem using inputwebxml with jspc-maven-plugin

2009-06-24 Thread stevenmaring
I have a problem doing an inplace tomcat deploy with the tomcat-maven-plugin. If I use the src/main/webapp/WEB-INF/web.xml location for my web.xml the jspc plugin adds on the the end of the file on every execution, making redundant entries. Also, I really don't want to check the modified

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread aldana
I also think this would be a nice enhancement. You mentioned filing JIRA ticket against surefire-plugin, but isn't this more related to the maven core handling of -D envs and is better placed in maven2-JIRA? Stephen Connolly-2 wrote: what I think would be a good idea is allowing the

Re: Manual Steps for Integrating Maven with Eclipse...

2009-06-24 Thread aldana
baerrach wrote: On Wed, Jun 24, 2009 at 3:28 AM, Shesadri Parthasarathysparthasarat...@sapient.com wrote: Hi , We are working for one of our clients and all our development happens thru Eclipse 3.1. We are using Maven Project for Build and deployment process. As there is some issues in

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread Stephen Connolly
afaik, it is surefire that forks the jvm, so surefire is where I would file the jira if you roll your surefire version back to perhaps 2.3 you'd see the system properties being passed through Sent from my [rhymes with myPod] ;-) On 24 Jun 2009, at 22:49, aldana ald...@gmx.de wrote: I