Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Raphaël Piéroni
Hello Néstor, Can you please describe a little bit more your problem? What command line you use? what is the maven/plugin version? Can you create a JIRA with all these indication. Thanks, Raphaël 2009/1/26 Néstor Boscán nestor.bos...@tcs.com.ve: Hi I've been working with archetypes for a

create war and jar files at same time.

2009-01-27 Thread Minhaj
Hi, i am working on maven;s multi module project i have three modules with three pom.xml files all of them generating war files successfully and i want to generate a jar file as well for one of the module. i am confuse that how can we define two times the packaging tag in same pom.xml file. it

Re: Maven 2.0.9 NullpointerException when running tests

2009-01-27 Thread aminm
Hi Thanks again for your replies. It seems as though the text mininng dependency was the culprit. I removed the dependency and it started working. This is still strange as I explicitly set an exclusion of poi in text mining. Anyway it's working correctly so thanks again! Cheers Amin

specific maven repository paths ..

2009-01-27 Thread Joey Krane
Hello, I'm trying to get seam version 2.1.1.GA from http://repository.jboss.org/maven2/org/jboss/seam/jboss-seam/ My pom.xml looks like, repositories repository idjboss-seam/id nameJBoss Maven Repository/name

maven-javadoc-plugin adding too many parameters for non default doclet

2009-01-27 Thread Bruno Waes
when using the maven-javadoc-plugin with a non standard doclet there are 'options' that are added to the @options file that are only available in the standard doclet ... -author -bottom -charset -d -docencoding -doctitle -use -version -windowtitle i dont find any way to turn these off ? bruno

maven / osgi / repositories

2009-01-27 Thread Henri Gomez
Hi to all, We're using maven to build all our company projects for about 6 months and are very happy with it. Some of our projects, mainly Eclipse RCP plugins, are also mavenized. We know think about OSGIfing more of our projects (server side) and track ASF projects Felix of course core but also

Re: create war and jar files at same time.

2009-01-27 Thread Yves Dessertine
Okay. You can't define two packaging types (I think, not 100% sure). But, you can attach other plugins to the package phase. I did this. Something like this in your plugins section. Example: plugin groupIdorg.apache.maven.plugins/groupId

Re: maven / osgi / repositories

2009-01-27 Thread Samuel Le Berrigaud
Hi Henri, it seems to me that OSGi jars are not meant to be anything else that traditional jars with extra information in their MANIFEST. I would definitely recomment deploying them as standard jar as you would do for any normal maven project. One thing that could/would differentiate your OSGi

locked out of archiva

2009-01-27 Thread Ed Young
I find myself unable to log into archiva (v 1.1.3 standalone on an ubuntu box). I suspect the passwords all expired but not sure. I've tried the email password reset, but it the link it sends does me no good, because it just allows me to try to log in again. I did a search and it seems this has

[M2] Repository Manager

2009-01-27 Thread Matthias Müller
Hi there, i'm quite new to maven. i want to setup a shared internal remote repository on a network drive. the users use there own local repository (~/.m2/repository) as a cache and for their unreleased projects. if the project need an artifact that is not in the internal remote repository,

Re: [M2] Repository Manager

2009-01-27 Thread Martin Höller
Hi! On Tuesday 27 January 2009 Matthias Müller wrote: i'm quite new to maven. i want to setup a shared internal remote repository on a network drive. the users use there own local repository (~/.m2/repository) as a cache and for their unreleased projects. if the project need an artifact that

Re: locked out of archiva

2009-01-27 Thread Martin Höller
Hi! On Tuesday 27 January 2009 Ed Young wrote: I find myself unable to log into archiva (v 1.1.3 standalone on an ubuntu box). I suspect the passwords all expired but not sure. I've tried the email password reset, but it the link it sends does me no good, because it just allows me to try to

Re: maven / osgi / repositories

2009-01-27 Thread Holger Hoffstaette
On Tue, 27 Jan 2009 22:53:10 +1100, Samuel Le Berrigaud wrote: Another point of reference you might consider is how the springsource guys make OSGi-ified version of many java libraries in their bundle repository [http://www.springsource.com/repository/]. This acts pretty much as a simple

Re: maven / osgi / repositories

2009-01-27 Thread Henri Gomez
Another point of reference you might consider is how the springsource guys make OSGi-ified version of many java libraries in their bundle repository [http://www.springsource.com/repository/]. This acts pretty much as a simple maven repository delivering jars. ..with renamed

Re: maven / osgi / repositories

2009-01-27 Thread Henri Gomez
Hi Henri, it seems to me that OSGi jars are not meant to be anything else that traditional jars with extra information in their MANIFEST. I would definitely recomment deploying them as standard jar as you would do for any normal maven project. Simple jar with MANIFEST, but today very few

AW: [M2] Repository Manager

2009-01-27 Thread Matthias Müller
Hi Martin, i installed the nexus repository manager and although it's way more than i need, it works for my needs. thanks, matthias - Ursprüngliche Mail Von: Martin Höller mar...@xss.co.at An: Maven Users List users@maven.apache.org Gesendet: Dienstag, den 27. Januar 2009, 13:29:46

RE: [M2] Repository Manager

2009-01-27 Thread Brian E. Fox
Yes, a shared repository is needed in a team and a proxy can also help speed things up. This is exactly the purpose of the repo managers. You can find more information at: http://maven.apache.org/repository-management.html -Original Message- From: Matthias Müller

Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Lesaint Sébastien
Hello, I want to use a parent POM as a way to easily give some organisation specific information to the new projects in our company or the old one being mavenized. I don't want to declare all the projects of my company as being a module of this parent POM. It doesn't make much sense. So the

RE: [M2] Repository Manager

2009-01-27 Thread Brian E. Fox
Matthias, if you have questions about using Nexus, there is a #nexus channel on irc.codehaus.org and a nexus-user list @ http://nexus.sonatype.org/dev/mailing-lists.html -Original Message- From: Matthias Müller [mailto:pym...@yahoo.de] Sent: Tuesday, January 27, 2009 8:21 AM To: Maven

Re: [M2] Repository Manager

2009-01-27 Thread Baptiste MATHUS
I'd be curious to know what makes you say that it's way more than you need. Though you're using nexus, I guess your opinion might benefit to usability concerns for all repo managers. Too complex to setup? Other? Cheers. 2009/1/27 Matthias Müller pym...@yahoo.de Hi Martin, i installed the

RE: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Brian E. Fox
The parent / child relationship != modules. That is a given pom can inherit from one parent and be aggregated as a module via another. It is true that usually they are the same, but for top level poms (corporate poms or team poms we call them) you usually would not have any modules even though

Re: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Baptiste MATHUS
We have a parent pom for the exact kind of things you speak about. But our projects are not modules (at least not all). So no. Your problem with scm tag might just be related to the fact you didn't set the maven-release-plugin tagBase configuration? See

RE: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Lesaint Sébastien
Indeed, no, I didn't set the tagBase. Even though I don't understand what it is yet, I guess it will solve my problem. I had seen that when reading the documentation but I though it didn't apply to CVS (the SCM we use). Thanks Baptiste Sébastien Lesaint -Message d'origine- De :

Re: create war and jar files at same time.

2009-01-27 Thread Wendy Smoak
[Answered only on users@ list. Please don't cross-post.] On Tue, Jan 27, 2009 at 1:08 AM, Minhaj minhaj...@gmail.com wrote: i am working on maven;s multi module project i have three modules with three pom.xml files all of them generating war files successfully and i want to generate a jar

[ANN] Registration for ApacheCon Europe 2009 is now open!

2009-01-27 Thread Brian E. Fox
-Original Message- From: ApacheCon EU 2009 [mailto:curc...@apache.org] Sent: Tuesday, January 27, 2009 9:04 AM To: annou...@apache.org Subject: [ANN] Registration for ApacheCon Europe 2009 is now open! ApacheCon EU 2009 registration is now open! 23-27 March -- Mövenpick Hotel,

RE: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Lesaint Sébastien
Thanks for you answer, Brian. How do I redefine at the top of my project so that the URLs are generated the way I want (not appending the artifactId)? Sébastien Lesaint -Message d'origine- De : Brian E. Fox [mailto:bri...@reply.infinity.nu] Envoyé : mardi 27 janvier 2009 15:06 À :

RE: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Lesaint Sébastien
I didn't find much explaining how the tagBase works or what it is. Basically, the Parent-POM defines a variable based SCM string: scm:cvs:pserver:u...@[host]:/CVSROOT:${cvs_projectName}. It resolves in the child project in a SCM string such as this one

RE: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Edelson, Justin
Each project (defined shortly) needs to have the url, scm, and site distributionManagement elements defined explicitly. Project here = * Not a module of a parent project * May or may not have modules within it. Justin -Original Message- From: Lesaint Sébastien

AW: [M2] Repository Manager

2009-01-27 Thread Matthias Müller
No, what i wanted to say with way more than i need is that i my initial idea of a solution wasn't that complex. after reading parts of the reference [1] i realized that there are useful functionalities (e.g. the user management) i never concerned so far. the setup process isn't complex at all,

Re: Question about excluding parts of parent to be inherited

2009-01-27 Thread kukudas
nvm i found it out myself you can do it with inheritedfalse/inherited. kukudas wrote: Is it possible to exclude for example a plugin to be inherited by a child which i use in the parent? If so could you give me an example or refere to a source where i could read up this feature? Thanks in

RE: Single MDB in multiple EAR files but different deployment descriptors

2009-01-27 Thread Inman, Peter
I'm not sure if I'm making this far more complex than it actually is, but if anyone does know what I'm missing with this, I really would appreciate some pointers. Thanks,Pete From: Inman, Peter Sent: 23 January 2009 16:20 To: users@maven.apache.org Subject: Single MDB in multiple EAR

AW: Single MDB in multiple EAR files but different deployment descriptors

2009-01-27 Thread Salgar, Mehmet (external)
Hi, Why are you not building 4 different maven-projects that is containing 4 different maven-ear-plugins configuration... I guess this would be the easieszt way... Or may be you can write 4 different ear configurations in maven-ear-plugin T-Mobile Deutschland GmbH Aufsichtsrat: Hamid

[ANN] Properties maven plugin 1.0-alpha-1 Released

2009-01-27 Thread Paul Gier
The Mojo team is pleased to announce the release of the Properties Maven Plugin version 1.0-alpha-1. http://mojo.codehaus.org/properties-maven-plugin/ This is the first alpha release of the plugin. To get this update, simply specify the version in your project's plugin configuration: plugin

RE: How to do sftp without getting passwd or connection prompt?

2009-01-27 Thread Tang, Ray
Hello: I have now changed to use scpexe, but still unable to do the deployment. The problem is that I followed instructions to generate ssh keys from this website: http://cs.smith.edu/FAQ/ssh2.html and I am able to do ssh remote host (chiadvsdap73) from localhost and backward without any

Re: Problems with release:prepare on the resolution of a dependency with test classifier

2009-01-27 Thread Thiago Moreira (timba)
The workaround is not working for me! I tried mvn release:prepare -DpreparationGoals=clean install without success. Any other thoughts?? On Sun, Jan 25, 2009 at 11:44 PM, Barrie Treloar baerr...@gmail.com wrote: On Mon, Jan 26, 2009 at 5:03 PM, Thiago Moreira (timba) tmoreira2...@gmail.com

Re: Problems with release:prepare on the resolution of a dependency with test classifier

2009-01-27 Thread Thiago Moreira (timba)
Ok, I took a look on the source code of the maven-release-plugin and there is no way to set the preparationGoals from the command line!!! The method mergeCommandLineConfighttp://maven.apache.org/plugins/maven-release-plugin/xref/org/apache/maven/plugins/release/PrepareReleaseMojo.html#181of

Re: Archetype create v. generate

2009-01-27 Thread Dave Newton
Just a ping to see if anybody had any input--I haven't had a chance to investigate further yet but need to commit some changes to some archetypes and update some documentation soon. Thanks, Dave Dave Newton wrote: What's the approved way to create archetypes when there's an archetype

RE: Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Néstor Boscán
Found something. It looks like the problem is when I'm using JDK 1.4. If I use JDK 5 it works. I use JDK 1.4 so I can compile using that version of java because sadly using JDK 5 and telling the compiler to compile for 1.4 does not work well. Regards, Néstor Boscán -Mensaje original-

RE: Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Néstor Boscán
Tried to use Maven 2.0.9 and the problem is still there. Tried using expressions: ${groupId.replace('.', '/')} ${packageName.replace('.', '/')} And I'm still getting the same error. -Mensaje original- De: Raphaël Piéroni [mailto:raphaelpier...@gmail.com] Enviado el: Tuesday, January

RE: Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Néstor Boscán
I'm using Maven 2.0.7. I'm creating an archetype with a spring beanRefContext.xml file that has to reference the other spring applicationContext.xml. So I need to create a reference in the form: com/mycompany/myapplication based on the package. So what I do is to create a Velocity expression

RE: Single MDB in multiple EAR files but different deployment descriptors

2009-01-27 Thread Inman, Peter
Thank you, I think this is where I'm getting confused. I was confusing my actual MDB code + deployment artifact as the same unit, therefore in the same project. What I need to do is generate my MDB code in one project, which outputs a jar, then create 4 ear projects which depend on the .jar

Re: Archetype create v. generate

2009-01-27 Thread Raphaël Piéroni
Hi, One can call the generate goal in batch mode w/ mvn -B archetype:generate -DarchetypeGroupId=... 2009/1/27 Dave Newton newton.d...@yahoo.com: Just a ping to see if anybody had any input--I haven't had a chance to investigate further yet but need to commit some changes to some archetypes

Re: Archetype create v. generate

2009-01-27 Thread Dave Newton
Raphaël Piéroni wrote: One can call the generate goal in batch mode w/ mvn -B archetype:generate -DarchetypeGroupId=... Oh, I missed that--thanks! Is it normal that my archetype:create isn't paying attention to the archetype-metadata file, or am I missing other things too? Thanks, Dave

Re: maven / osgi / repositories

2009-01-27 Thread Samuel Le Berrigaud
Hi, as you point it out there is definitely an issue with the renaming of groupId /artifactId as it will 'break' maven dependency management. However I don't think that anyone but the project owner(s) should be allowed to deploy a jar with their groupId/artifactId (to the public repo). I believe

Re: maven / osgi / repositories

2009-01-27 Thread Henri Gomez
as you point it out there is definitely an issue with the renaming of groupId /artifactId as it will 'break' maven dependency management. However I don't think that anyone but the project owner(s) should be allowed to deploy a jar with their groupId/artifactId (to the public repo). I believe

Release plugin cyclic problem

2009-01-27 Thread Ryan Moquin
I've been struggling with the maven2 release plugin but have managed to get the majority of my problems except for one. For some reason when I do a release on a subproject that I've previously managed to successfully released before, the maven2 release plugin will keep repeatedly asking me for

Re: Release plugin cyclic problem

2009-01-27 Thread Ryan Moquin
Never mind.. I think I see what happened.. apparently I messed up a version of a child dependency which became out of sync with everything else.. this apparently caused the release plugin to go completely haywire. Telling it I didn't want to resolve the dependency made the build quit but with an

Re: Problems with release:prepare on the resolution of a dependency with test classifier

2009-01-27 Thread Barrie Treloar
On Wed, Jan 28, 2009 at 4:34 AM, Thiago Moreira (timba) tmoreira2...@gmail.com wrote: Ok, I took a look on the source code of the maven-release-plugin and there is no way to set the preparationGoals from the command line!!! The method

Re: maven / osgi / repositories

2009-01-27 Thread Barrie Treloar
repositories. They might become OBRs at some point when OSGi becomes more mainstream. One thing I have been toying with for a while is to auto-magically extend maven-jar-plugin to add the OSGi headers. I haven't given a lot of thought into what I need to do, but if I recall correctly, getting

m2eclipse CTRL-SHIFT-T Open Type dialog is missing

2009-01-27 Thread Lincoln Baxter, III
Hi Mavenites, When I install the m2eclipse plugin, version 0.9.6, my Open Type dialog box disappears. I can't bring it up with a shortcut. The menu item is gone. It's just missing. Is this intentional? I really rely on this dialog quite a bit. How can I get it back? Thanks, Lincoln

RE: [M2] Repository Manager

2009-01-27 Thread Brian E. Fox
Over time, you'll probably grow into the features you don't yet know you need ;-) -Original Message- From: Matthias Müller [mailto:pym...@yahoo.de] Sent: Tuesday, January 27, 2009 10:14 AM To: Maven Users List Subject: AW: [M2] Repository Manager No, what i wanted to say with way more

Looking for a workaround for MNG-3228 (activate inherited profile)

2009-01-27 Thread Stefan Fritz
Hi all, We try to define profiles in our master pom. When we trigger a build we want to activate a specific profile via a property in the projects pom. (activation via -P works fine). But it seems we ran into the following issue: http://jira.codehaus.org/browse/MNG-3228 Is there any