M2 site-plugin: Roadmap for 2.2

2009-09-03 Thread Bruno Marti
Which is the roadmap/timeline for release 2.2? And will Doxia 1.1.2 be included? http://jira.codehaus.org/browse/MSITE-419 http://jira.codehaus.org/browse/MSITE-419 -- View this message in context: http://www.nabble.com/M2-site-plugin%3A-Roadmap-for-2.2-tp25270282p25270282.html Sent from the

Re: How can I get dependency including its children

2009-09-03 Thread youhaodeyi
This is not Transitive. The children dependencies mean its sub models. Alexander-129 wrote: Transitive dependencies are included automatically. 2009/9/3 youhaodeyi youhaod...@gmail.com I added a dependency in my pom.xml file and I want to add its children automatically. How can I do

Re: How can I get dependency including its children

2009-09-03 Thread Anders Hammar
Ok, (sub-)moduls of a project are not (that project's) dependencies. Two different things. This is the key thing here. What you need to do is to define dependencies to all of your dependencies. Your dependencies' dependencies (aka transitive dependencies) will be included automatically. So, in

How to site:deploy to multiple urls?

2009-09-03 Thread canerK
Hi, I want to deploy(site:deploy) a site to two different places(url).I couldnt manage it with muliple profiles.Every profile has its own distributionManagement,but maven uses only one of them and deploys the site to that url.Also maven doesnt allow to use multiple url tags in site element or

Re: How to site:deploy to multiple urls?

2009-09-03 Thread Anders Hammar
Why didn't it work with profiles? Did you specify the profile (id) on the command line? I don't understand why that wouldn't work; Maven should use the url defined in the profile being used. However, you need to run the deploy twice; once with each profile: mvn site:deploy -Pprofile1 mvn

How to site:deploy to multiple urls?

2009-09-03 Thread Caner Kaplıca
Hi, I want to deploy(site:deploy) a site to two different places(url).I couldnt manage it with muliple profiles.Every profile has its own distributionManagement,but maven uses only one of them and deploys the site to that url.Also maven doesnt allow to use multiple url tags in site element or

How to site:deploy to multiple urls?

2009-09-03 Thread caner kaplica
Hi, I want to deploy(site:deploy) a site to two different places(url).I couldnt manage it with muliple profiles.Every profile has its own distributionManagement,but maven uses only one of them and deploys the site to that url.Also maven doesnt allow to use multiple url tags in site element or

Re: Sun jersey jars

2009-09-03 Thread Thomas Sundberg
Hi! I added this repository to my pom to be able to use the Jersy stuff: repositories repository idmaven2-repository.dev.java.net/id nameJava.net Repository for Maven/name urlhttp://download.java.net/maven/2//url layoutdefault/layout

Re: Sun jersey jars

2009-09-03 Thread Anders Hammar
OK, great! For yours and others future reference, how I find artifacts I need (and where to find them) is to use a search tool. There are several tools, but one of the most powerful approaches I've found is to use the Nexus instance at http://repository.sonatype.org/ . As it has quite a few

Re: How to site:deploy to multiple urls?

2009-09-03 Thread Stephen Connolly
multiple executions of deploy:deploy bound to the deploy phase. plugin artifactIdmaven-deploy-plugin/artifactId executions execution idsend-to-second-repo/id phasedeploy/phase goals goaldeploy/goal /goals configuration

report encoding problem (doxia)

2009-09-03 Thread javadevd...@googlemail.com
Hello! I'm writing my own maven-report plugin, which should create some output. This output is made with doxia, how it's explained in the tutorials. The problems are the german umlauts. I use it directly in the code (as String) to put via doxia into the html-page.(report) But the report don't

RE: Building mvn site with flat project hierarchy

2009-09-03 Thread Pilgrim, Peter
Thanks very much -- Peter Pilgrim | E-Channel Services Technical Lead, Products Markets Lloyds TSB Bank plc, Corporate Markets, 10 Gresham Street, London, EC2V 7AE, UK ' +44 (0)207 158 6135 | ( +44 (0)1234 567 8901 + peter.pilg...@lloydstsb.co.uk : www.lloydstsbcorporatemarkets.com

maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread Pilgrim, Peter
Hi All I am attempting to fix a Hudson build failure with Maven. Now on my workstation I can type mvn site:stage and the whole project. However, when I use PuTTY in order to remote into Hudson UNIX server and manually invoke the same command, I get a failure. [INFO]

Re: maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread Mick Knutson
The skin error is from the site.xml as it needs the specific skin you plan to use: project name=FedEx Ground ${project.version} bannerRight srchttp://baselogic.com/images/blinc-maven.png/src hrefhttp://baselogic.com/href /bannerRight poweredBy logo name=BLiNC

RE : maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread HARDION Vincent
Hi, Today, I've had this error since the mirror repo1.sonatype.net/maven2 is offline. Maybe check your mirror. Regards, Vincent Hardion -Message d'origine- De : Pilgrim, Peter [mailto:peter.pilg...@lloydsbanking.com] Envoyé : jeudi 3 septembre 2009 14:06 À : Maven Users List Objet 

Re: maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread Mick Knutson
This does not go into the reporting section though. It just goes into the plugins section like: plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source${compiler.version}/source

RE: maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread Martin Gainty
once the maven-compiler-plugin is installed you'll need pom and the jar (and the .sha1 for ssh access) for example here is my local repostory Directory of $MAVEN_PLUGIN/org/apache/maven/plugins/maven-compiler-plugin/2.0 08/18/2009 11:49 AM13,954 maven-compiler-plugin-2.0.jar

RE: maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread Pilgrim, Peter
Partially solved the problem I building an internal repository behind the firewall and therefore the artefacts in the POM must be explicitly versioned. I had to add an explicit version into the POM build and report sections. Now I have a different error, where the maven-site-plugin attempts to

Re: Conflicting Versions Of Same JAR

2009-09-03 Thread Timothy Orme
Sorry to dig up an old thread, but I found as an alternate solution to this. It's an app called JarJar Links: http://code.google.com/p/jarjar/ Just in case anyone else has this issue in the future. Stephen Connolly wrote: maven-shade-plugin after that I have no clue Sent from my [rhymes

RE: RE : maven-compiler-plugin does not exist or no valid version could be found

2009-09-03 Thread Pilgrim, Peter
Hi Unfortunately I am not using a Mirror, but a ``fenced off'' repository. My User Story is I have proxied remote repository A on my local workstation using Artifactory. I am effectively taking a copy off central ibiblio on my PC and then sharing those artefacts with my team. At least, that

Re: Profiles

2009-09-03 Thread orid
Anyone? orid wrote: Hi, I came across a problem i can't seam to solve. I have a set of properties that i need to use in all maven modules. All modules inherit from the same parent pom. So far no problem: I defined the properties in the parent pom properties section and they are all

Re: Conflicting Versions Of Same JAR

2009-09-03 Thread Stephen Connolly
FYI, this does exactly the same as the maven-shade-plugin 2009/9/3 Timothy Orme to...@genome.med.harvard.edu Sorry to dig up an old thread, but I found as an alternate solution to this. It's an app called JarJar Links: http://code.google.com/p/jarjar/ Just in case anyone else has this

Re: Overriding the property value in child pom.xml

2009-09-03 Thread Jim Sellers
How are you overriding it? With -Dtest.version=5 ? I'm assuming that you don't have that value in your settings.xml file. Are you getting the correct dependency when you run: mvn help:effective-pom -Dtest.version=5 Jim On Wed, Sep 2, 2009 at 2:45 PM, Arul Anand S P

Re: report encoding problem (doxia)

2009-09-03 Thread Hervé BOUTEMY
Hi, If you're writing your report, ie java code using Doxia API, you're writing Strings, without any encoding notion. Are you sure the content isn't broken before you send it to Doxia? Is your code accessible somewhere? Regards, Hervé Le jeudi 03 septembre 2009, javadevd...@googlemail.com a

Re: Overriding the property value in child pom.xml

2009-09-03 Thread arulanand
I am overriding from the command prompt using -Dtest.version=5 Jim Sellers wrote: How are you overriding it? With -Dtest.version=5 ? I'm assuming that you don't have that value in your settings.xml file. Are you getting the correct dependency when you run: mvn help:effective-pom

Maven - resource override

2009-09-03 Thread zagu2
Say you have a testproject: testproject - src -- main --- java MainClass.java --- resources 1.txt 2.txt -- test --- java TestClass.java --- resources 3.txt Access is possible via getResourceAsStream to all resource files, e.g. 2.txt. Is it possible to override this? I

maven-surefire-plugin forkMode question

2009-09-03 Thread David Hoffer
How does forking work with respect to the @BeforeClass/@AfterClass methods? My use case is that I have some setup code that creates file/db connections that are not destroyed until the jvm is shutdown, therefore I can't cleanup in the @After method. However it doesn't work using

dependencies used for test and compile?

2009-09-03 Thread James Russo
Hello, I have a module A, B and C. Module C requires both module A and B to compile and also test, do I need to include the dependency multiple times, once with scope test and once with scope compile? -jr - To

Re: dependencies used for test and compile?

2009-09-03 Thread Ryan Connolly
No... The test goal gets both the compile and test classpaths so defining the module dependencies as compile scope will do the trick. On 9/3/09, James Russo j...@halo3.net wrote: Hello, I have a module A, B and C. Module C requires both module A and B to compile and also test, do I need

Re: Building Maven

2009-09-03 Thread Brett Porter
On 25/08/2009, at 9:56 PM, Pat Coleman wrote: I immediately get this out put and the build fails. Can anyone set me straight? Do you get any further output? I get those errors too, but the build continues and downloads to ~/.m2/repository (is that writable for you? It looks like it is

Re: maven 2.2.1 does not work with basic-auth

2009-09-03 Thread Brett Porter
What about without the ![CDATA[ ? Did it work in previous versions of Maven? Have you tried using the encryption settings now available? On 26/08/2009, at 1:43 AM, Harsch, Timothy J. (ARC-SC)[PEROT SYSTEMS] wrote: I am having difficulty connecting to Artifactory repo that requires

RE: Tests Not Running After Executing SQL Script

2009-09-03 Thread Jonathan Woods
Sounds like Ant is running the script then System.exit(0)-ing! Can't see why. But you could try the Maven SQL plugin instead. Jon -Original Message- From: Neil Chaudhuri [mailto:nchaudh...@potomacfusion.com] Sent: 02 September 2009 20:12 To: users@maven.apache.org Subject: Tests

Re: maven-surefire-plugin forkMode question

2009-09-03 Thread Brett Porter
If the forkMode is always, the @before/@after should be run for each test and JVM, but is still before the JVM shuts down. What type of cleanup do you need to do after the JVM is shutdown? - Brett On 04/09/2009, at 6:15 AM, David Hoffer wrote: How does forking work with respect to the

Re: maven-surefire-plugin forkMode question

2009-09-03 Thread David Hoffer
During the setup for the test, actually I do this in the @BeforeClass because its expensive, we make some calls into legacy code that creates db connections. I need to delete the access db after the test but can't because the db connections still exist. So ideally I need some (tearDown) process

Re: maven-surefire-plugin forkMode question

2009-09-03 Thread Brett Porter
On 04/09/2009, at 3:35 PM, David Hoffer wrote: During the setup for the test, actually I do this in the @BeforeClass because its expensive, we make some calls into legacy code that creates db connections. I need to delete the access db after the test but can't because the db connections