RE: Impossible to generate maven site with dependency version range

2009-07-29 Thread Julien Martelli
Yep, thanks a lot it works with 2.2.1 RC1! Thanks a lot for your support!! julien -Message d'origine- De : Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] Envoyé : mercredi 29 juillet 2009 22:49 À : Maven Users List Objet : Re: Impossible to generate maven site with dependency versi

Debugging/releasing problems with multi-module projects/maven dependencies

2009-07-29 Thread Mark Derricutt
Hey all, We're currently having an issue with debugging (and in a way, releasing) our maven based project in IDEA thats both an IDEA issue, and a maven issue   (I'd be happy to be told its a ME issue and I'm just doing maven wrong thou). We have a multi-module project, and when single stepping th

java.lang.SecurityException: exitVM-0

2009-07-29 Thread Rice Yeh
Hi, I am using antlr plugin and get the following error, my jdk is jdk1.6.0_14 running on win xp. Caused by: java.lang.SecurityException: exitVM-0 at org.codehaus.mojo.antlr.NoExitSecurityManager.checkExit(NoExitSecurit yManager.java:51) at java.lang.Runtime.exit(Runtime.java:88)

Re: How to install jars into local maven repo (with $mvn ) - want to configure init profile in pom.xml

2009-07-29 Thread Tim O'Brien
On Wed, Jul 29, 2009 at 6:06 PM, jvsrvcs wrote: > > > I want to create a maven profile called "init", such > that a person would type:   $mvn init This won't work, Maven has a lifecycle that consists of phases when you execute "mvn init", Maven is going to complain because there is no "init" phase

Re: Site documentation format choosing

2009-07-29 Thread Kalle Korhonen
One more - APT was great for our purposes since we wanted a plain text release note in email as well as a html version - with APT we need to update just a single source file. Kalle On Wed, Jul 29, 2009 at 8:15 AM, EJ Ciramella wrote: > Thanks everyone for the debate for me to watch - I just kind

How to install jars into local maven repo (with $mvn ) - want to configure init profile in pom.xml

2009-07-29 Thread jvsrvcs
I want to create a maven profile called "init", such that a person would type: $mvn init and this profile would take jars from the lib/ directory (on the same level as the pom.xml) and install every jar in the lib (and subdirectories) into the local maven repo only. I have many docs on maven

Re: [PLEASE TEST] Maven 2.2.1-RC1

2009-07-29 Thread John Casey
Hi, thanks for testing! It looks like we may have some issues to sort out still with proxies and the new wagon-selector feature...after all, this is still just the first release candidate, and the first time some critical user/testers with behind proxies are looking at the new code. So, we're

Re: Impossible to generate maven site with dependency version range

2009-07-29 Thread Kalle Korhonen
I think you hit a bug in 2.2.0, apparently already fixed in 2.2.1 RC1 - test yourself from https://repository.apache.org/content/repositories/maven-staging-025/org/apache/maven/apache-maven/2.2.1-RC1/ Kalle On Wed, Jul 29, 2009 at 8:56 AM, Julien Martelli wrote: > Hi everyone, > > > > I use maven

Re: Impossible to generate maven site with dependency version range

2009-07-29 Thread Alexander
How do you configure site plugin? [?] 2009/7/29 Julien Martelli > Hi everyone, > > > > I use maven 2.2.0 in my current project and it is really nice and easy to > use, but I have some troubles generating the maven site using the mvn site > command. > > > > The issue seems to be linked to the fa

Re: How get current svn revision via maven?

2009-07-29 Thread Alexander
Great, thanks a lot! [?] 2009/7/29 Arnaud HERITIER > It could do what you want : > http://mojo.codehaus.org/buildnumber-maven-plugin/ > Cheers, > > Arnaud > > # Arnaud Héritier > # Software Factory Manager > # eXo Platform > # http://www.exoplatform.com > # http://blog.aheritier.net > > > On Wed

Re: dependency:sources doesn't download source files

2009-07-29 Thread Alexander
1.4-rc7 works fine too [?] 2009/7/29 Claudio Miranda > > As I saw on the maven repo, there is a 1.4.0 final release. > > I update the pom.xml to this version and all dependencies (jar, javadoc, > source) was download. > > I really don't understand why the previous one didn't work. > > Anyway, th

Re: dependency:sources doesn't download source files

2009-07-29 Thread Claudio Miranda
As I saw on the maven repo, there is a 1.4.0 final release. I update the pom.xml to this version and all dependencies (jar, javadoc, source) was download. I really don't understand why the previous one didn't work. Anyway, thanks for your help Alexander ! Alexander-129 wrote: > > Hello, > >

Re: dependency:sources doesn't download source files

2009-07-29 Thread Alexander
Hello, Tried your dependencies in empty project and all sources downloaded successfully [?] BTW I have Maven 2.1.0, maybe you should upgrade your Maven? It wont hurt anyway [?] 2009/7/29 Claudio Miranda > > > I removed all wicket files from local repo > rm -rf ~/.m2/repository/org/apache/wicket

Re: dependency:sources doesn't download source files

2009-07-29 Thread Claudio Miranda
I removed all wicket files from local repo rm -rf ~/.m2/repository/org/apache/wicket/ Issued a command to download the souces again. Same results as before. This time I was able to download javadocs. $ mvn dependency:resolve -Dclassifier=javadoc -DincludeGroupIds=org.apache.wicket [INFO] Scann

dependency:sources doesn't download source files

2009-07-29 Thread Claudio Miranda
I want to download the sources for wicket 1.4-rc7, they exists at maven repo http://repo2.maven.org/maven2/org/apache/wicket/wicket/1.4-rc7/ The command is mvn -X dependency:sources -DincludeGroupIds=org.apache.wicket But they are skipped $ mvn dependency:sources -DincludeGroupIds=org.apache.w

Impossible to generate maven site with dependency version range

2009-07-29 Thread Julien Martelli
Hi everyone, I use maven 2.2.0 in my current project and it is really nice and easy to use, but I have some troubles generating the maven site using the mvn site command. The issue seems to be linked to the fact that my POM file contains dependencies that have version range, here is a POM f

RE: Site documentation format choosing

2009-07-29 Thread EJ Ciramella
Thanks everyone for the debate for me to watch - I just kinda sat back and ate popcorn while you guys battled it out. Here are what I've captured: 1 - people like apt for its simplicity (me too) - I can see how easy it would be to diff various versions in your SCM tool. You'd not see tags, just

RE: Maven release prepare on a branch

2009-07-29 Thread FOURNIER, Pascale
It worked fine, thank you ! -Message d'origine- De : Martin Gainty [mailto:mgai...@hotmail.com] Envoyé : mercredi 29 juillet 2009 16:14 À : users@maven.apache.org Objet : RE: Maven release prepare on a branch as antonio mentioned the SCM plugin needs to identify either the branch or ta

RE: Maven release prepare on a branch

2009-07-29 Thread Martin Gainty
as antonio mentioned the SCM plugin needs to identify either the branch or tags or trunk we could provide more assistance if you post your pom.xml take a look at these attributes to identify branch/tag/trunk http://maven.apache.org/scm/maven-scm-plugin/checkout-mojo.html#scmVersion http://maven.

RE: Maven release prepare on a branch

2009-07-29 Thread Todd Thiessen
Did you change your SCM section to point to the branch instead of the trunk? --- Todd Thiessen > -Original Message- > From: FOURNIER, Pascale [mailto:pascale.fourn...@capgemini.com] > Sent: Wednesday, July 29, 2009 9:44 AM > To: users@maven.apache.org > Subject: Maven release prepare o

Re: Maven release prepare on a branch

2009-07-29 Thread Antonio Petrelli
2009/7/29 FOURNIER, Pascale : > Hi, > > My question is quiet basic, I think, but though it doesn't work the way I > want :-( > > I would like to prepare a release on a branch of my project. > > To do it, here is what I do : > I check-out my branch to a directory > I get inside the directory > I ex

Maven release prepare on a branch

2009-07-29 Thread FOURNIER, Pascale
Hi, My question is quiet basic, I think, but though it doesn't work the way I want :-( I would like to prepare a release on a branch of my project. To do it, here is what I do : I check-out my branch to a directory I get inside the directory I execute the following command : "mvn release:prepar

Re: Artifact Version Checker Plugin - where is it?

2009-07-29 Thread Andrew Close
On Wed, Jul 29, 2009 at 2:03 AM, Lewis, Eric wrote: > On the other hand, you might want to look at Nexus as your Maven repository. > It gives you plenty of RSS feeds concerning artefacts. will do. we're currently using an old, beta version of Artifactory. not quite sure why we haven't moved to a

Re: How get current svn revision via maven?

2009-07-29 Thread Arnaud HERITIER
It could do what you want : http://mojo.codehaus.org/buildnumber-maven-plugin/ Cheers, Arnaud # Arnaud Héritier # Software Factory Manager # eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net On Wed, Jul 29, 2009 at 1:19 PM, Alexander wrote: > Hello, > > I want Maven to ins

How get current svn revision via maven?

2009-07-29 Thread Alexander
Hello, I want Maven to insert current svn revision to my version.properties. Sure I could manually insert into pom.xml property ${revision} every build. But Im searching a way to automate it. Any ideas? [?]

Re: Site documentation format choosing

2009-07-29 Thread Lukas Theussl
nsowatsk wrote: Hi I live without multi-coloured paragraphs, but the overall skin I can do a lot with :-) Images are included like this: [http://url/image.gif] The title is best created as a link {Image Name} before the '[]'s That's not what I meant, I meant the image itself is the link,

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
Hi I live without multi-coloured paragraphs, but the overall skin I can do a lot with :-) Images are included like this: [http://url/image.gif] The title is best created as a link {Image Name} before the '[]'s Regards Nathan On 29/07/2009 12:07, "Lukas Theussl" wrote: > > > nsowatsk wrot

Re: Site documentation format choosing

2009-07-29 Thread Rodrigo Ruiz
I agree with you Lukas, The APT format simpler than the rest, and this has good and bad points. Modifications at template level are applied to the whole site, and are independent from the document format, so they are not really relevant if the point is just to decide which document format to u

Re: Site documentation format choosing

2009-07-29 Thread Lukas Theussl
I was only listing the differences/limitations of the document format itself. Whatever tools you use around it (maven, velocity) can be applied to any other document format as well. -Lukas nsowatsk wrote: Hi The list of meta data that you give below is partly addressed in different sectio

Re: Site documentation format choosing

2009-07-29 Thread Lukas Theussl
nsowatsk wrote: Hi APT does support style sheets for Maven sites. We have our own L&F for our APT based sites. So how do you write that in apt: A small red paragraph A large blue paragraph ? I have many images included in my APT files using URLs. So how do you write that in apt: Here

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
Hi The list of meta data that you give below is partly addressed in different sections of the pom. Once they are in the pom, they also get processed by the standard Maven report plugin and so appear in various web pages created by that plugin. Also, by using velocity (.apt.vm) you can include th

Re: Site documentation format choosing

2009-07-29 Thread Lukas Theussl
Stefan Seidel wrote: On Wed, 29 Jul 2009 10:44:28 +0200 Lukas Theussl wrote: turn it also lacks in flexibility and misses advanced functionality, eg (from the top of my head): - no advanced formatting and layout (eg tables) Wrong, tables are easily possible. Of course, I said *advanced*

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
Hi APT does support style sheets for Maven sites. We have our own L&F for our APT based sites. I have many images included in my APT files using URLs. Table layout is no better or worse than a Wiki. Meta information can be supported by Velocity templates *.apt.vm). Regards Nathan On 29/07/2

Re: Site documentation format choosing

2009-07-29 Thread Stefan Seidel
On Wed, 29 Jul 2009 10:44:28 +0200 Lukas Theussl wrote: > turn it also lacks in flexibility and misses advanced functionality, eg (from > the > top of my head): > > - no advanced formatting and layout (eg tables) Wrong, tables are easily possible. > - no meta-information What do you mean? You

Re: Site documentation format choosing

2009-07-29 Thread Lukas Theussl
Just use the easiest tool that does the job, it all depends on what you need. Apt is easy to learn and use (especially for people who are allergic to xml), but in turn it also lacks in flexibility and misses advanced functionality, eg (from the top of my head): - no styles (css) - no javascr

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
We use APT as it is easy to use and has features like snippets that allow us to include code in the documents. Of course you can also use html in the resources directory also, so using APT doesn't mean that's all you get. APT also allows you to create .apt.vm files that can contain macros that do

AW: Artifact Version Checker Plugin - where is it?

2009-07-29 Thread Lewis, Eric
On the other hand, you might want to look at Nexus as your Maven repository. It gives you plenty of RSS feeds concerning artefacts. Best regards, Eric > -Ursprüngliche Nachricht- > Von: Andrew Close [mailto:acl...@gmail.com] > Gesendet: Dienstag, 28. Juli 2009 18:40 > An: Maven Users Li