Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
I got SVN installed locally and set up my POM to use its repository. Continuum can now get the files and build but I get an error about compiling with generics. I says use -source 5 or higher to enable generics but I don't know where to put -source 5 hmmm progress! :) ,chris On Nov 15, 2007

[maven-eclipse-plugin] is workspaceCodeStylesURL still supported ?

2007-11-15 Thread nicolas de loof
I'v found some POMs that use maven-eclipse-plugin 2.5-SNAPSHOT with workspaceCodeStylesURL I can't find documentation of this attribute on http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html Is this still supported ?

Error in tutorial 'Using maven to develop jbi applications'

2007-11-15 Thread JanReynaerts
Hello, Because I'm new to Maven, Java, serviceMix etc, I'm doing the tutorial on http://servicemix.apache.org/2-beginner-using-maven-to-develop-jbi-applications.html. Someway or another I don't succeed in passing step 2.5. When I run the command 'mvn jbi:projectDeploymvn jbi:projectDeploy' it

Re: [maven-eclipse-plugin] is workspaceCodeStylesURL still supported ?

2007-11-15 Thread nicolas de loof
Thanks for the info. Is there no support for same feature on a per-project basis ? 2007/11/15, Dan Tran [EMAIL PROTECTED]: it is in 2.5-SNAPSHOT and in the new configure-workspace's mojo. You will need to build the site your self to see the doc -D On Nov 14, 2007 11:53 PM, nicolas de

Re: Building Eclipse plugins with Maven 2

2007-11-15 Thread Sebastien ARBOGAST
Yes, I confirm that it works. Thanks a lot 2007/11/14, eSonic [EMAIL PROTECTED]: Sebastien Arbogast wrote: [INFO] [ERROR] BUILD ERROR [INFO]

Re: Getting access to the versions in a POM

2007-11-15 Thread Tom Huybrechts
The mojo developer cookbook has part of this info. Feel free to add more... http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Tom On Nov 14, 2007 5:11 PM, Mark Russell [EMAIL PROTECTED] wrote: Wayne: Thanks That should get me started. I'll do some searching and then post

Re: How to control versioning across multiple POMs?

2007-11-15 Thread Aaron Zeckoski
Do you use release plugin? The release plugin should increment the version of the parent pom and the pom itself for you. If you mean this one: http://maven.apache.org/plugins/maven-release-plugin/index.html No. I had a hard time understanding what it actually does from the docs and it seems

Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-15 Thread CodingPlayer
hi dan, thx for your reply. i currently use version 1.7. but i'm not sure if i have the correct repository: this one is from the jaxws example: repository idjava.net/id urlhttps://maven-repository.dev.java.net/nonav/repository//url layoutlegacy/layout

Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-15 Thread CodingPlayer
hi wayne, thx for your hint. just posted the thread at the users forum. but since i couldn't find any users forum / mailing list (at java.net) i decided to post it to the (old) codehaus mailinglist. best regards R.C. Wayne Fay wrote: You should probably also post this request on the

Re: How to control versioning across multiple POMs?

2007-11-15 Thread Roland Asmann
Looking into your POMs, I think you should start using the release-plugin (is you aren't already). Your only problem is that the 'master'-POM doesn't know the 'base'-POM. (Seeing there's only 1 of both, why not merge them?). When you use the 'modules'-tag in Maven, the versions are normally

Re: Mvn2

2007-11-15 Thread Rémy Sanlaville
Ok, I understand now your point of view. It's link to the important reproducibility topic. One (common ?) way is to just use release version. Your proposition is more radical. So you have to don't use any snapshot pluginRepositroies and repositories (not just apache.snapshots). Rémy

Re: [maven-eclipse-plugin] is workspaceCodeStylesURL still supported ?

2007-11-15 Thread Dan Tran
it is in 2.5-SNAPSHOT and in the new configure-workspace's mojo. You will need to build the site your self to see the doc -D On Nov 14, 2007 11:53 PM, nicolas de loof [EMAIL PROTECTED] wrote: I'v found some POMs that use maven-eclipse-plugin 2.5-SNAPSHOT with workspaceCodeStylesURL I can't

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Roland Asmann
No, this is not a must... You can link either way if you want, but there's several things you have to consider: If you build the 'parent' and it does not contain the 'modules'-tag, the children DO NOT get build. Just play around with it a bit, Maven is very flexible in this way. I do however

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Aaron Zeckoski
If you build the 'parent' and it does not contain the 'modules'-tag, the children DO NOT get build. Yeah, we want to be able to build from either the parent (and build everything) or from the child (and just build the child) but we need the information in the parent when the child is being

Re: triggering profiles without using command line and without running the default profile?

2007-11-15 Thread Aaron Zeckoski
We do need a way to have a default profile OR simply a way so that each project can be built using mvn clean install and still work without the base. I also wanted to have it able to run when the same property is set a certain way as well. In other words, if the property is set to core then the

Re: use a particular timestamp of a SNAPSHOT

2007-11-15 Thread Olivier Dehon
On Thu, 2007-11-15 at 08:43 +0100, nicolas de loof wrote: Hello, Can I configure a dependency to use a particular timestamp version of a SNAPSHOT ? For example, the 20070606.164150-5 of maven-surefire-plugin 2.3.1-SNAPSHOT Yes you can. You have to be careful though that this particular

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Roland Asmann
How about re-writing the plugin to Maven2? Then you can at least remove the 'modules'-part in your base-POM... Otherwise I'm afraid you're indeed stuck with the 2-way dependency. On Thursday 15 November 2007 12:34, Aaron Zeckoski wrote: If you build the 'parent' and it does not contain the

Re: triggering profiles without using command line and without running the default profile?

2007-11-15 Thread Roland Asmann
I'm afraid that combination will not work. Worst case scenario: you define two the same profiles, one that is activated when the property is not set, the other when it has the value 'core'. On Thursday 15 November 2007 12:13, Aaron Zeckoski wrote: We do need a way to have a default profile OR

Re: triggering profiles without using command line and without running the default profile?

2007-11-15 Thread Aaron Zeckoski
OK, when I use this and run mvn clean install profiles profile !-- default profile for sakai core-- idsakai/id activation property name!sakai.distribution/name /property /activation modules

Re: How to control versioning across multiple POMs?

2007-11-15 Thread Roland Asmann
Well, I read in one of your other messages that you don't have access to the other projects and therefor can't use the release-plugin... I'm afraid that means you're pretty much stuck with manually updating these versions. A possible work-around could be to write a Maven-plugin that updates all

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Stuart McCulloch
On 15/11/2007, Roland Asmann [EMAIL PROTECTED] wrote: True. One question though: why do you use the 'relativePath'-attribute? This shouldn't be really necessary, or am I missing something here? say you've just checked out a fresh project tree from svn - it's not yet been released to any

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Roland Asmann
True. One question though: why do you use the 'relativePath'-attribute? This shouldn't be really necessary, or am I missing something here? On Thursday 15 November 2007 14:35, Stuart McCulloch wrote: On 15/11/2007, Roland Asmann [EMAIL PROTECTED] wrote: How about re-writing the plugin to

Re: triggering profiles without using command line and without running the default profile?

2007-11-15 Thread Roland Asmann
Run 'mvn help:active-profiles' to see which profiles are activated. Seems like the property is not handed down or something... On Thursday 15 November 2007 14:18, Aaron Zeckoski wrote: OK, when I use this and run mvn clean install profiles profile !-- default profile for

Re: triggering profiles without using command line and without running the default profile?

2007-11-15 Thread Roland Asmann
If this triggers the same exception, add the tool-project shortly, just to make sure you can run this command! On Thursday 15 November 2007 15:08, Roland Asmann wrote: Run 'mvn help:active-profiles' to see which profiles are activated. Seems like the property is not handed down or

Re: how to use profiles exclusively? (HELP!)

2007-11-15 Thread Roland Asmann
You activate the release-profile yourself by setting the property to the expected value! Remove the properties-tag from the profile and everything should work just fine! On Wednesday 14 November 2007 23:46, dev dev wrote: I have defined 2 project profiles (below) and the goal is to be able

Re: How to control versioning across multiple POMs?

2007-11-15 Thread Aaron Zeckoski
Currently the master POM keeps track of things like properties and a large set of shared dependencies (among other things). The base POM mostly maintains the set of modules (this POM is swapped out depending on what kind of release we are doing). The project POMs are effectively standalone except

Re: Is http://mirrors.ibiblio.org/pub/mirrors/maven2 down?

2007-11-15 Thread Dennis Lundberg
The ibiblio mirror is not run by the Maven team. You'd have to contact the folks at ibiblio if you want to know when they will be fixing it. Kohsuke Kawaguchi wrote: The central repository http://repo1.maven.org/maven2/ appears to be up, but the ibiblio mirror seems to be down since this

Re: Error in tutorial 'Using maven to develop jbi applications'

2007-11-15 Thread Wayne Fay
You should post this question on the ServiceMix Users list, since they are the authors of that tutorial as well as the plugin you're attempting to use. Wayne On 11/15/07, JanReynaerts [EMAIL PROTECTED] wrote: Hello, Because I'm new to Maven, Java, serviceMix etc, I'm doing the tutorial on

Re: Two jars, one pom...

2007-11-15 Thread Antonio Petrelli
2007/11/13, Hirn, Joseph [EMAIL PROTECTED]: If there is a third way I would appreciate the recommendation. I also would like to hear thoughts on my two approaches and if anyone has had to deal with separating out things in this manner. Possibly the solution could be to separate these jars into

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Ryan Scott
Does anyone know how to fix this? I tried using darwin ports to upgrade but leopard keeps overlaying the install with 2.0.6 which does not work for my application. What were they thinking baking this into the operating system. This is almost as bad as the Java Story. Are they trying

Re: Two jars, one pom...

2007-11-15 Thread Lee Meador
We have a similar situation where we build a jar that goes into a rar file but we need a client jar as well. We build one of the files with an ant task (after maven has done all the compiling and such) and use the build-helper plugin to add the extra resulting artifact file to the list of things

RE: maven jetty plugin

2007-11-15 Thread John Coleman
Thanks, but is that possible using the Mavenide? I'd like to be able to easy run jetty with or without debug, the control being in a profile. TIA John -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: 14 November 2007 17:27 To: Maven Users List Subject: Re: maven jetty

Re: M2 - pluginManagement - best practices?

2007-11-15 Thread Lee Meador
If you run your build with the -X option and redirect the output to a file, you can search through it for plugin and get a list of the plugins you use along with the current versions it is using. I use this as a start in building the pluginManagement section. Then you have to do a little research

Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Lally Singh
Just fyi: [EMAIL PROTECTED] ~]$ uname -a Darwin hc65210f0.dhcp.vt.edu 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:35:55 PDT 2007; root:xnu-1228~1/RELEASE_I386 i386 [EMAIL PROTECTED] ~]$ which mvn /usr/bin/mvn [EMAIL PROTECTED] ~]$ mvn --version Maven version: 2.0.6 [EMAIL PROTECTED] ~]$ I

Re: Maven 2 tomcat plugin fatal error java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64

2007-11-15 Thread Wayne Fay
That is very odd, considering the plugin declares a dependency on commons-codec v1.3. Can you show us the rest of your pom? Are you using commons-codec yourself, perhaps a different version? Wayne On 11/15/07, Jimbog [EMAIL PROTECTED] wrote: Hi, I am trying to use the tomcat plugin to do a

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Nigel Magnay
symlink usr/share/maven to whichever install you want to use. On Nov 15, 2007 5:00 PM, Ryan Scott [EMAIL PROTECTED] wrote: Does anyone know how to fix this? I tried using darwin ports to upgrade but leopard keeps overlaying the install with 2.0.6 which does not work for my application. What

Maven 2 tomcat plugin fatal error java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64

2007-11-15 Thread Jimbog
Hi, I am trying to use the tomcat plugin to do a mvn tomcat:deploy, and get the below stack trace.. I notice this was rased a bug against version 1.0-20061203.210544-5. http://jira.codehaus.org/browse/MOJO-812 But has been marked as fixed in 1.0-alpha-1, I am using 1.0-alpha-1, and still

Cant the release plugin to tag only modules?

2007-11-15 Thread Taras Lipatov
Currently one of my projects looks like `-- parent |-- module1 |-- module2 `-- module3 When I mvn release:prepare I get in svn `-- tags `-- parent-1.0.0 |-- module1 |-- module2 `-- module3 But I want `-- tags |-- module1-1.0.0 |-- module2-1.0.0

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Kathryn Huxtable
Can't you just set MVN_HOME to what you want and put your maven 2.0.7 in, say, /opt/maven? I am not running Leopard on my dev machine, only on my play machine. I've noticed some slowness launching some Java apps, but nothing else. I've heard there are more problems. -K On Nov 15, 2007,

Re: Maven 2 tomcat plugin fatal error java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64

2007-11-15 Thread Jimbog
I extracted pom.xml from the jar file and renamed it to tomcat-maven-plugin-1.0-alpha-1.pom and put this file in .m2\repository\org\codehaus\mojo\tomcat-maven-plugin\1.0-alpha-1. That fixed that problem. I now get [INFO]

trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
Hi, I'm trying continuum-1.1-beta-4 and having trouble adding a maven 2.0.7 pom. I haven't used continuum for a while, so I'm basically a newbee. If I put in a pom url like this: file:///C:/wicket/wickety/pom.xml I get this message: The specified resource isn't a file or the protocol

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Emmanuel Venisse
Christofer Jennings a écrit : Hi, I'm trying continuum-1.1-beta-4 and having trouble adding a maven 2.0.7 pom. I haven't used continuum for a while, so I'm basically a newbee. If I put in a pom url like this: file:///C:/wicket/wickety/pom.xml I get this message: The specified

Re: Maven/Hibernate error / anyone has find similar?

2007-11-15 Thread Marco Mistroni
Hello, mm not really :) found out that i had a clash between followign dependencies - hibernate 3.2.x - asm-all -cglib - spring ? i am trying to move my project from ant to maven, and we are using hibernate spring, cglib and asm libraries when i downloaded them from web, i got error, when

Maven Release Plugin Question

2007-11-15 Thread Ravi_116
Can the maven release plugin deploy the war file to external application service/Tomcat after it is finished. The extra goals are added to the goal configuration parameter on the sub-module pom.xml, but the release plugin does not seem to be call the extra goals configured in the module's

Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-15 Thread Dan Tran
jaxws-api 2.2-1 is at http://repo1.maven.org/maven2/javax/xml/ws/jaxws-api/2.1-1/ the plugin is at http://download.java.net/maven/2 The rest of required artifacts are at the java.net maven.1 legacy repo http://download.java.net/maven/1 So you need 2 maven2 repos and 1 maven repo to get it to

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
I take it back. Continuum is not happy. Each build results in ... pre Provider message: The svn command failed. Command output: --- 'svn' is not recognized as an internal or external command, operable program or batch

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Lally Singh
On 11/15/07, Graham Leggett [EMAIL PROTECTED] wrote: On Thu, November 15, 2007 7:00 pm, Ryan Scott wrote: Does anyone know how to fix this? I tried using darwin ports to upgrade but leopard keeps overlaying the install with 2.0.6 which does not work for my application. What were they

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Ryan Scott
I have tried many things but i keep getting patch updates from Apple that overwrites my changes. It is not really unix if you can't run any version of Java you want lol. Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL

Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-15 Thread Wayne Fay
Wow, that is really painful... Wayne On 11/15/07, Dan Tran [EMAIL PROTECTED] wrote: jaxws-api 2.2-1 is at http://repo1.maven.org/maven2/javax/xml/ws/jaxws-api/2.1-1/ the plugin is at http://download.java.net/maven/2 The rest of required artifacts are at the java.net maven.1 legacy repo

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
Thanks Emmanuel, Ah, the FAQ. But of course :) ... sorry for that. The app I'm trying continuum has no SCM. I know. Bad Idea. But it's just a little thing for messing around in. So, for what it's worth, I copied the SCM settings verbatim from here: http://maven.apache.org/pom.html#SCMand

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Johnathan Gifford
Continuum may not know where or see your svn command line client binaries. Make sure the system path has directory location of your svn executable in the path. Johnathan On Thu, Nov 15, 2007 at 2:06 PM, in message [EMAIL PROTECTED], Christofer Jennings [EMAIL PROTECTED] wrote: I take it

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Emmanuel Venisse
1. you need a real scm defined in your pom, Continuum use it to checkout/update the working copy and to build the project 2. if your scm is svn, svn must be in your PATH Emmanuel Christofer Jennings a écrit : I take it back. Continuum is not happy. Each build results in ... pre Provider

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Graham Leggett
On Thu, November 15, 2007 7:00 pm, Ryan Scott wrote: Does anyone know how to fix this? I tried using darwin ports to upgrade but leopard keeps overlaying the install with 2.0.6 which does not work for my application. What were they thinking baking this into the operating system. This is

Re: Maven Release Plugin Question

2007-11-15 Thread Taras Lipatov
Your should add the goal to the release plugin ,configuration area like this: goalssite,site:deploy,deploy or whateveryourdeploygoal:is/goals then it gets kicked off when u run release:perform Cheers On Thu, 2007-11-15 at 12:17 -0800, Ravi_116 wrote: Can the maven release plugin deploy the

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Wendy Smoak
On Nov 15, 2007 2:49 PM, Christofer Jennings [EMAIL PROTECTED] wrote: I got SVN installed locally and set up my POM to use its repository. Continuum can now get the files and build but I get an error about compiling with generics. I says use -source 5 or higher to enable generics but I don't

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Stuart McCulloch
On 15/11/2007, Roland Asmann [EMAIL PROTECTED] wrote: How about re-writing the plugin to Maven2? Then you can at least remove the 'modules'-part in your base-POM... Otherwise I'm afraid you're indeed stuck with the 2-way dependency. also note the parent doesn't have to be the same as the

Re: How to control versioning across multiple POMs?

2007-11-15 Thread Ronn . Chinowutthichai
Sorry Arron, I have missed that section of your mail. Yes you do need commit access across all project. I think it is reasonable that if you don't have commit access to all the projects then you need to manually coordinate the change with everyone. It is a pain so commit access can solve the

Proximity AccessManager

2007-11-15 Thread Alejandro Uriza
Hello, I'm configuring Proximity as an option for corporate, internal Maven repository. Currently, I'm investigating on the AccessManager feature of Proximity, specifically on the Affirmative AccessManager. In this moment, I'm configuring a file for the

Re: Is http://mirrors.ibiblio.org/pub/mirrors/maven2 down?

2007-11-15 Thread Carlos Sanchez
I already contacted them, forgot to copy this list On Nov 15, 2007 11:55 PM, Dennis Lundberg [EMAIL PROTECTED] wrote: The ibiblio mirror is not run by the Maven team. You'd have to contact the folks at ibiblio if you want to know when they will be fixing it. Kohsuke Kawaguchi wrote: The

Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
Thanks Wendy! That did the trick. No complaints about the javadoc plugin that I see so far. Thanks all for your guidance. ,chris On Nov 15, 2007 1:57 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Nov 15, 2007 2:49 PM, Christofer Jennings [EMAIL PROTECTED] wrote: I got SVN installed locally

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Roland Asmann
Understood, but if you have dependencies to you sibling-modules, you'd have the same problem... So, I'd personally always build from the root-project after a fresh check-out... And from then on it wouldn't be necessary to use the relativePath. Still, I understand your reasoning and I agree

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Graham Leggett
Ryan Scott wrote: I have tried many things but i keep getting patch updates from Apple that overwrites my changes. It is not really unix if you can't run any version of Java you want lol. You mean to say that Apple is updating your .bash_profile file? Works fine for me here, unless this

Re: automate localhost deploy

2007-11-15 Thread Henry Isidro
Cargo would be your best bet...http://cargo.codehaus.org/ Cheers, Henry On 11/16/07, mitch [EMAIL PROTECTED] wrote: Hello, I'm using maven2 (and the m2eclipse integration plugin) and am able to use the deploy goal successfully to deploy to a remote repository. But I wonder what the easiest

automate localhost deploy

2007-11-15 Thread mitch
Hello, I'm using maven2 (and the m2eclipse integration plugin) and am able to use the deploy goal successfully to deploy to a remote repository. But I wonder what the easiest way is to automate my manual steps of deploying to my localhost tomcat (including stopping and starting the container).

no net in java.library.path

2007-11-15 Thread ozymandias
I am very new to Maven. When first compiling my project and generating files, everything worked fine. I then tried to run run mvn clean and mvn idea:idea and got the following error message: no net in java.library.path Would anyone know why my copy of maven wouldn't be able to access its

Re: no net in java.library.path

2007-11-15 Thread Wayne Fay
I think there must be something else going on with your system... What OS? What Java JDK version? What Maven version? Can you try running mvn with the -X parameter, to capture the full debug output? Wayne On 11/15/07, ozymandias [EMAIL PROTECTED] wrote: I am very new to Maven. When first

Re: Maven/Hibernate error / anyone has find similar?

2007-11-15 Thread Steve Ebersole
http://opensource.atlassian.com/projects/hibernate/browse/HHH- perchance? On Thursday 15 November 2007 02:30:56 pm Marco Mistroni wrote: Hello, mm not really :) found out that i had a clash between followign dependencies - hibernate 3.2.x - asm-all -cglib - spring ? i am trying to

both idlj and jacorb

2007-11-15 Thread deckrider+mvn
I'm a looking to convert a project to maven. This project currently produces two jar files from the same IDL source, by generating first from idlj and then again from jacorb. For instance, jacorb-foo.jar and idlj-foo.jar. Is there some way of setting up my pom.xml so that this can still happen?