Re: maven eclipse plugin problem with ejb projects

2009-04-24 Thread Arnaud HERITIER
hi Steffen, Thx a lot. I'll apply it soon (I'll try this WE) cheers Arnaud On Fri, Apr 24, 2009 at 2:24 AM, Steffen Grunwald steffen.grunw...@gmail.com wrote: Hello Arnaud, Can you also provide an integration test to validate the issue ? If you give me ne, I'll apply them on 2.7

Re: [Archetype] Adding a package to an existing project

2009-04-24 Thread Yopy
Oh, I see - there's a 'partial' property in the archetype-descriptor opening tag instead of it being a tag itself like in the old archetype.xml. I'll fiddle around with this new info, thanks! Also, that unit test could help out - I wouldn't have a clue how to unit test an archetype right now,

Using test:match during site creation

2009-04-24 Thread Joe .
Hi, I'm trying to use the testmatchpattern and testnotmatchpattern to identify which test classes should be run. My patterns have been set in project.properties, and when I run maven test:match I now get the desired results. However when I run maven site, the test run that occurs during site

Is it possible to add files to an archetype from other directories?

2009-04-24 Thread mraible
I'd like to hand-craft an archetype that consists of a single pom.xml and pulls it's sources from other modules/directories in my project. Is that possible? In case anyone needs a more detailed explanation why, here goes... I'm working on AppFuse, which contains many different archetypes and

Re: pom does not get installed, if classifier used

2009-04-24 Thread Niklas Grossmann
Is not installing the pom if a classifier is used the intended behaviour? No, it was reported and fixed in version 2.3 of the install plugin. What version are you using? Depending on what version is set in the super pom inside Maven, you may need to specify a later version to pick up

Building the same M2 project on different branches with Continuous Integration

2009-04-24 Thread dhallammail-apache
Hi all, I have a cvs module that contains an M2 project. The module has been branched twice from the same point for two different projects. If I add the two projects to Hudson (our CI server), it will build two versions of the same named jar files, e.g. module-0.0.1-SNAPSHOT.jar into the

Re: Building the same M2 project on different branches with Continuous Integration

2009-04-24 Thread Karl Heinz Marbaise
Hi, may be you can use a buildnumber e.g. (buildnumber plugin) so you have different numbers in the name Or you have to change the versions for the different branches, cause they are different...(e.g. verisons-plugin)... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung

Re: [Archetype] Adding a package to an existing project

2009-04-24 Thread Yopy
Okay, that works wonderfully, =D. Time for the next question - and if this is documented somewhere, I wasn't able to find it anywhere. I now have a 'partial' archetype that can add a skeleton of functionality to a project. The general idea is to be able to add the same archetype multiple times

Looking for advice on unraveling a particularly nasty Ant-Maven migration

2009-04-24 Thread Andrew Bayer
Hi all - I'm working on moving a sizeable multimodule project from Ant to Maven, and have, along the way, run into a number of annoying circular dependency problems. This project was set up using some custom Ant tasks/targets for inter-module dependency management and unit testing, which worked

RE: Challenge: Find a plugin combo that achieves what 4 lines of bash script can do...

2009-04-24 Thread Stan Devitt
The [CDATA[ ]] bracketing simply tells the xml parser to read the enclosed text as raw text. This allows you to use embedded characters like and , and is quite handy when the text is code fragments which can contain a lot of these special characters. (It allows you to cut and paste

RE: Challenge: Find a plugin combo that achieves what 4 lines of bash script can do...

2009-04-24 Thread Stan Devitt
Note that there is ain the code to append to a file. -Original Message- From: gret...@gmail.com [mailto:gret...@gmail.com] On Behalf Of Grant Rettke Sent: Thursday, April 23, 2009 5:24 PM To: Maven Users List Subject: Re: Challenge: Find a plugin combo that achieves what 4 lines of

maven 1.x tests encoding problems

2009-04-24 Thread Khlystov Alexandr
Hi guys! I've broken my head with it. I can't setup UTF-8 symbols to be correctly rendered for tests. I see following strings at ..\target\test-reports\*TEST-${my_project_name}.GeneralTestSuite.txt* : ... values (142,'','BL'); (142,'?','VK'); ... Here ??? - should be UTF-8

Newbie question about site

2009-04-24 Thread REMIJAN, MICHAEL J [AG/1000]
What is the best way for a site to inherit not only the site.xml from its parent but also the /src/site/resources from the parent too? I'd like to be able to share images across projects but when I run mvn site on my child projects I do not get the /src/site/resources from the parent. Is this

RE: Properties: backslashes in pathname on Windows

2009-04-24 Thread Sean Hennessy
ant's ${file.separator} ?? -Original Message- From: stug23 [mailto:pat.poden...@gmail.com] Sent: Thursday, April 23, 2009 8:56 PM To: users@maven.apache.org Subject: Properties: backslashes in pathname on Windows Is there a way in Maven 2.0.9 to end up with forward slashes in a

where is User?

2009-04-24 Thread REMIJAN, MICHAEL J [AG/1000]
Anyone know where com.monsanto.user.User is in Maven? Michael Joseph Remijan Monsanto Company Senior Application Developer US Commercial IT 800 N. Lindbergh Blvd. - G3W - Saint Louis, MO - 63167 314-694-5491 (w) 314-288-4662 (m)

Re: Properties: backslashes in pathname on Windows

2009-04-24 Thread stug23
I found a Maven plugin at Google that can replace tokens which I applied to the filtered xml file. This does remove the backslashes, however I think a much better solution would be for Maven to have a simple and direct means of obtaining a file:URL with correct form via a Maven project property.

How to access non-jar files from repo w/maven 1.x?

2009-04-24 Thread Chris Helck
I have some scripts that I would like to share across multiple projects. I can upload them to my local repo and give the files version numbers. Once they're in the repo, how do I access and use them from a maven project.xml file? Ideally I'd like the scripts to magically appear in specific

Switch off CVS log messages

2009-04-24 Thread Berwanger, Christian
Hi, I have a problem that I want to switch off the fetch of cvs log messages. I found in the SCM API following function at the class CvsLogListener: /** * Called when the server wants to send a message to be displayed to the * user. The message is only for information

Re: where is User?

2009-04-24 Thread Nick Stolwijk
The com.monsato package seems to be a package from the company where you work and not from Maven. I don't think anyone on the list can answer questions about your inhouse codebase. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Fri, Apr

RE: Looking for advice on unraveling a particularly nasty Ant-Maven migration

2009-04-24 Thread Stan Devitt
Can you move D to A and use an assembly to build the external jar you want? - This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the

Re: Looking for advice on unraveling a particularly nasty Ant-Maven migration

2009-04-24 Thread Andrew Bayer
Ah-ha - that would do the trick. I knew there'd be something fairly obvious I was missing. =) A. On Fri, Apr 24, 2009 at 10:40 AM, Stan Devitt sdev...@rim.com wrote: Can you move D to A and use an assembly to build the external jar you want?

Re: maven-archetype-webapp missing directories?

2009-04-24 Thread Wayne Fay
When using the maven-archetype-webapp goal, wasn´t the archetype plugin supposed to generate src/main/Java and test/Java directories ?!? Best practice for Webapps is to separate the Java code into its own module and then add a dependency to it in your Webapp. Thus, you should not have

Looking to see if netezza database JDBC driver can be downloaded from maven repository

2009-04-24 Thread rmenon
Guys I am trying to see if I can find the netezza jdbc driver in maven and to find out the pom signature (group, artifact id). I did some basic google search and did not find anything. If anyone knows the answer please let me know. In general, I presume that the process is googling and searching

Re: Looking to see if netezza database JDBC driver can be downloaded from maven repository

2009-04-24 Thread Wayne Fay
www.mvnrepository.com or ask the group responsible for netezza Wayne On Fri, Apr 24, 2009 at 12:08 PM, rmenon rmenon...@gmail.com wrote: Guys I am trying to see if I can find the netezza jdbc driver in maven and to find out the pom signature (group, artifact id). I did some basic google

Re: Looking to see if netezza database JDBC driver can be downloaded from maven repository

2009-04-24 Thread Ryan Connolly
I have a feeling this artifact will need to be downloaded and installed into your local repository manually... On Fri, Apr 24, 2009 at 3:08 PM, rmenon rmenon...@gmail.com wrote: Guys I am trying to see if I can find the netezza jdbc driver in maven and to find out the pom signature (group,

Re: Looking to see if netezza database JDBC driver can be downloaded from maven repository

2009-04-24 Thread rmenon
Thanx guys Looks like i will have to put the jar in a local maven repository or something.. Thanx! rmenon wrote: Guys I am trying to see if I can find the netezza jdbc driver in maven and to find out the pom signature (group, artifact id). I did some basic google search and did not find

pom-transformed.xml issue

2009-04-24 Thread Surendra . Naidu
Hi, While doing builds the generated pom-transformed.xml is placed in /var/tmp/target in a solaris server. When another user does a build for the same project, it failes as the file genereated by the earlier user is still there. Is there any workaround to avoid this issue. Specifically can we

RPM Plugin: Mapping files

2009-04-24 Thread /U
Env: Mvn 2.10 RPM Plugin: 2.0beta3 I need to have the RPM bundle install the file src/main/resources/my.cf onto the runtime location /etc/my.cnf If I use the mapping mapping directory/etc/mapping fileMode555/fileMode usernameroot/username