resource filtering for code files

2009-06-12 Thread Alexy Khrabrov
I've tried to make a source code file mentioning username and password to filter from a separate filter file. It does get interpolated into target/, but then the original in src/... is compiled still. So compile phase does not work on the filtered source files? Now, if I do have to

Re: Maven JAXB

2009-06-12 Thread Samuli Ulmanen
In addition, specify the exact version of the plugin you want to use. Also, the repositories in your pom seem not to include the plugin identified by the artifactId. I use the maven exec plugin to run xjc. Works like a charm. The downside is that it makes your build dependent on xjc

resource filtering for code files

2009-06-12 Thread Alexy Khrabrov
I've tried to make a source code file mentioning username and password to filter from a separate filter file. It does get interpolated into target/, but then the original in src/... is compiled still. So compile phase does not work on the filtered source files? Now, if I do have to

Maven + Cocoon 2.1.11

2009-06-12 Thread Peter Horlock
Hi, We are using Cocoon 2.1.11 with Maven and Java 6. I just joined the company, and I get a few thousand errors in eclipse when I import the project - As it seems the reason is that Java 6 includes a lot of new org.w3c classes, that hadn't been in the other JDKs before, so these classes were

Re: multiple war with mavan

2009-06-12 Thread Mick Knutson
I think you can use the build-helper plugin for this. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN:

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Armin Ehrenfels
A few months ago, I developed a Groovy based component for Cocoon 2.2. I found the maven support very good. There were, at that time, a few very helpful archetypes that made setting up the project easy. I remember the Cocoon community as being very active, friendly and supportive. From my

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Peter Horlock
Well, I also guessed that Cocoon 2.2 has (a better) maven support. However, as I am completely new to the company as well as to Cocoon, I doubt it would be the best idea to make the entire dev team switch to Cocoon 2.2, especially as it works for them. Maybe there's an option that would be less

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Armin Ehrenfels
Have you checked at the Cocoon web site, to what degree version 2.1.11 supports maven ? I can remember an extended discussion about how to use maven in conjunction with this version, but IIRC, many experienced users/developers recommended the switch to 2.2. Maybe that has changed. Good luck

RE: Maven + Cocoon 2.1.11

2009-06-12 Thread Martin Gainty
Herr Ehrenfels Could you suggest a link for documentation and or download for cocoon 2.1.11 archetypes? Vielen Danke, Martin __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger

Unpack some jar files in WEB-INF/classes folder

2009-06-12 Thread Jacob Bergöö
Hi, I have a need to unpack some specific jar files to WEB-INF classes in my war project. The jar files are separate Maven projects and now it get packed in my war file in the WEB-INF/lib folder, but I need them to be extracted to WEB-INF/classes. How do I do this in Maven 2? Thanks for any

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Armin Ehrenfels
Martin, sorry, I don't know of any. As I wrote in my last reply , there was a discussion on the mail lists about how to use maven with Cocoon 2.1.11, but at that time, there were archetypes available for Cocoon2.2 only. Regards Armin Martin Gainty schrieb: Herr Ehrenfels Could you

Re: Unpack some jar files in WEB-INF/classes folder

2009-06-12 Thread Anders Hammar
http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html On Fri, Jun 12, 2009 at 13:41, Jacob Bergööjacob.ber...@gmail.com wrote: Hi, I have a need to unpack some specific jar files to WEB-INF classes in my war project. The jar files are separate Maven

RE: Maven + Cocoon 2.1.11

2009-06-12 Thread Martin Gainty
peter i would suggest a quick refactor of cocoon in a environment you can control (laptop ..show this to devs and 'political operatives' that the refactor to cocoon works) please keep us apprised as many others are (considering a) move to cocoon Martin Gainty on the second point our new prez

Re: Question about Maven2 and Heap Space

2009-06-12 Thread Ryan Moquin
Cool, thanks... I just want to make sure there wasn't another part I would end up missing. If that's all I need to do to finish it, then I can deal with it. :) I notice that when I do a deploy on the subproject, rather than the whole thing, it uses about 950 MB of memory.. so it just barely

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Dominic Mitchell
On 12 Jun 2009, at 12:42, Armin Ehrenfels wrote: sorry, I don't know of any. As I wrote in my last reply , there was a discussion on the mail lists about how to use maven with Cocoon 2.1.11, but at that time, there were archetypes available for Cocoon2.2 only. You're unlikely to see

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Dominic Mitchell
On 12 Jun 2009, at 12:57, Martin Gainty wrote: please keep us apprised as many others are (considering a) move to cocoon Just out of interest, why are you considering moving to Cocoon? -Dom - To unsubscribe, e-mail:

Re: Maven + Cocoon 2.1.11

2009-06-12 Thread Stephen Connolly
Sent from my [rhymes with myPod] ;-) On 12 Jun 2009, at 14:04, Dominic Mitchell d...@semantico.com wrote: On 12 Jun 2009, at 12:57, Martin Gainty wrote: please keep us apprised as many others are (considering a) move to cocoon Just out of interest, why are you considering moving to

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-12 Thread John Casey
Can you tell me what Wayne's explanation was for your proxy problem? Or, if Wayne's around, maybe he can chime in. I'm not familiar with this particular discussion, so I'm not sure how to help. Proxies can be incredibly hard to debug remotely, when I don't have access to probe the running

Maven + OSGI

2009-06-12 Thread Peter Horlock
Hi, I have a question regarding Maven dependency management and the OSGi-based BIRT Report Engine (RE). The RE, in order to be available at runtime in the tomcat environment, must conform to a specific directory structure: 'top-level' JARs in WEB-INF/lib, config.ini in

maven 2.1.0 why it is looking at servicemix.org?

2009-06-12 Thread Tim Andersen
When I upgraded to Maven 2.1.0 it seems like it is not looking at the mirror I have in my settings.xml. It is trying to download howl-1.0.1-1 servicemix.org instead of my local Archiva mirror. How do I find out why it is looking at servicemix.org? This problem does not occur with Maven 2.0.10

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-12 Thread Matt Brown
What does your settings.xml look like? -Original Message- From: Tim Andersen [mailto:tander...@studentloan.org] Sent: Friday, June 12, 2009 12:04 PM To: users@maven.apache.org Subject: maven 2.1.0 why it is looking at servicemix.org? When I upgraded to Maven 2.1.0 it seems like it is

How to set up SCM/CVS/Maven integration with public key authentication (need help!)?

2009-06-12 Thread Matt Brown
I have a scm section in a POM that looks something like this: scm connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connection /scm I typically use publickey auth to authentication against this cvs server, although it should accept my password as

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-12 Thread Robert Glover
Below is the message from Wayne I was referring to. Now that I have downloaded and built maven 2.2-RC3, I guess I could put log messages into it to pin-point the exact line of code where the proxy fails. But already as it is, in running maven 2.2-RC3 it already has debug level logging

dependency:unpack not preserving file mode settings

2009-06-12 Thread EJ Ciramella
I have an artifact that has a series of scripts that have specific file mode settings on them. When a consumer project uses dependency:unpack, I can see that those filemode settings are removed. Is this a known issue? If so - are there any known work arounds?

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-12 Thread Tim Andersen
Thanks for the tip, I changed my settings.xml to be more like your example. I made a developer profile and used your trick to take advantage of the fallback URL so everything always hits the mirror for the repositoryId. I'm getting the same problem where it tries to download artifacts that

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-12 Thread John Casey
Do you have the ability to join our IRC channel at irc.codehaus.org (#maven) to talk more about this? If you have a firewall/proxy in the way of an IRC connection, you might also be able to use the CGI client at http://irc.codehaus.org. From looking at your output in the original message on

Re: problem upgrading to Maven 2.1.0

2009-06-12 Thread John Casey
Are you using mirrorOf*/mirrorOf or mirrorOfexternal:*/mirrorOf? If not, Maven may be encountering a different repositoryId that isn't in your list of mirrorOf entries in your settings.xml... -john Tim Andersen wrote: I am currently using Maven 2.0.9. When I upgraded to Maven 2.1.0, it seems

Re: dependency:unpack not preserving file mode settings

2009-06-12 Thread Brian Fox
This is a known issue in the unarchiver that dependency uses. On Fri, Jun 12, 2009 at 3:04 PM, EJ Ciramellaecirame...@upromise.com wrote: I have an artifact that has a series of scripts that have specific file mode settings on them. When a consumer project uses dependency:unpack, I can see

How to indicate dependency assembly

2009-06-12 Thread Lee Meador
I have a multi-project build. Two ear files and a rar file are built. One of the ear projects uses the assembly plugin to package up the ears and the rar and some properties files into a tar.gz. I'll call it earA (A is for assembly) What this means is that the build order should be such that

Re: maven 2.1.0 why it is looking at servicemix.org?

2009-06-12 Thread Wayne Fay
Any ideas on how I can determine where the servicemix.org is coming from? Grep your ~/.m2/ directory for servicemix.org and see if it might be in a random artifact's pom that is being brought into your build as a direct dependency or transitive. Probably your settings.xml does not specify

Re: Maven + OSGI

2009-06-12 Thread Wayne Fay
How do I combine MVN storage of the RE JARs (and other files - config.ini, MANIFEST.MF, ...) with the strict directory structure requirements at deployment time? Ideally, I'd also like to automatically upload the RE to the Maven repo initially. The assembly plugin would work with the proper

Maven -property files outside the jar file.

2009-06-12 Thread sundar varadarajan
Hello all, I m a new to Maven and started using maven. Currently our jar files has the property files (log4j and application specific properties) and the spring batch xmls inside the Jar files. Now we need to have these xmls and the properties outside the Jar file and the application should pick