Re: run jetty with war from dependencies

2010-03-10 Thread Aleksey Didik
Hello, Try to use maven-dependency-plugin in couple with jetty-maven-plugin. First can dowload artifact (war) from repository. Second, start this war as webapp. http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html hth, Aleksey. 11.03.2010 10:30, Alexander пи

run jetty with war from dependencies

2010-03-10 Thread Alexander
Hello, How could I run jetty from maven with webapp (war file) from repository? -- Regards, Alexander

Re: scope misunderstanding

2010-03-10 Thread Wayne Fay
> Is this expected behaviour? It seems that the classpath is incomplete > somehow... now sure how. Package up a sample that demonstrates the problem and upload it somewhere and someone will probably take a look at it. There are too many variables to say definitively "oh this is your problem" with

scope misunderstanding

2010-03-10 Thread Lachlan Deck
Hi there, I've got a module libs:Foo that depends on a particular third party library 'Bar' with scope compile. All the other projects / modules in the tree all depend on the base module libs:Foo with scope compile. Easy, all's well. Now, in adding another module libs:Test which depends on juni

Re: Antrun plugin reg exp

2010-03-10 Thread Jörg Schaible
bendg wrote: > > Hi Jorg, > > Thanks for your reply. > > Is there a nice work around for this? I was thinking binding a > ant-run-plugin with all > deps at top level pom, and call empty build.xml ? Use a common parent POM and declare a pluginMgmt section the antrun plugin with the version an

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Wayne Fay wrote: The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. Those of us

RE: Failsafe plugin aggregate report generation and formatting issue

2010-03-10 Thread Nitin Patil
Any response folks? Or if someone can point me to the right mailing list. On the "maven-failsafe-plugin" website it points me to this mailing list. This is urgent. So, I would appreciate any help I can get here. Thanks, - Nitin > From: nnpa...@hotmail.com > To: users@maven.apache.org > Subject

Re: distribution build for non-maven users

2010-03-10 Thread Erlend Hamnaberg
I went for Kalle's suggestion :) Thanks. BTW: the project in question is http://httpcache4j.codehaus.org/ On Wed, Mar 10, 2010 at 4:26 PM, Kalle Korhonen wrote: > On Wed, Mar 10, 2010 at 12:58 AM, Erlend Hamnaberg > wrote: > > I have project that is on codehaus. For some reason I decided to ha

Re: Forcing maven-site-plugin to override/replace distributionManagement

2010-03-10 Thread Kalle Korhonen
Perhaps add a "stage" profile where you override the distributionManagement/site definition and which you'd activate with site:stage-deploy? Kalle On Wed, Mar 10, 2010 at 10:44 AM, shinsato wrote: > I'm having a heck of a time with our build since we've been required to use a > parent pom.xml t

Forcing maven-site-plugin to override/replace distributionManagement

2010-03-10 Thread shinsato
I'm having a heck of a time with our build since we've been required to use a parent pom.xml that has it's own distributionManagement section. The plan is to not allow us to define our own distributionManagement - but relying on the parent for our definition seems to have wreaked all kinds of hav

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
On Mar 10, 2010, at 12:53 PM, Ron Wheeler wrote: > Jason van Zyl wrote: >> On Mar 10, 2010, at 11:38 AM, Ron Wheeler wrote: >> >> >>> Anders Hammar wrote: >>> Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Jason van Zyl wrote: On Mar 10, 2010, at 11:38 AM, Ron Wheeler wrote: Anders Hammar wrote: Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate tha

Re: release:perform from a branch?

2010-03-10 Thread Kalle Korhonen
You don't need any command line options to release from a branch (I'd even go so far as to say that if you need to specify command line options with mvn release, you haven't configured the plugin correctly) but you *have to* have scm urls pointing to the right location (i.e. not the trunk for the b

Re: How do I add phases to a lifecycle that normally skips them?

2010-03-10 Thread Justin Edelson
This sounds like a problem with the configuration of the surefire plugin, but I can't tell for sure. Running with -X might give you some clues. Justin On 3/10/10 12:06 PM, Maring, Steven wrote: > That worked. Thanks Justin. > > Now my problem is that I can't seem to get my test resource directo

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Wayne Fay
> The reference is on the right track. It is too specific to their project and > appears to be a bit short on details. > It would be nice to have something that has a bit of the Maven Upload > to Central flavour but addressing the problem that the GEOT paper addresses. Those of us who have been he

RE: How do I add phases to a lifecycle that normally skips them?

2010-03-10 Thread Maring, Steven
That worked. Thanks Justin. Now my problem is that I can't seem to get my test resource directories to be added to the test classpath. Thoughts? http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 ht

release:perform from a branch?

2010-03-10 Thread Steven Hilton
Greetings, Can the maven release plugin build a tag from a branch during a release:prepare? Ultimately, I want to do a release:peform from a tag based off a branch where maven never looks at or touches trunk. I've tried a number of different command line options, read some docs at http://maven.a

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
On Mar 10, 2010, at 11:38 AM, Ron Wheeler wrote: > Anders Hammar wrote: >> Maybe something like this: >> http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar >> >> I know that there is always possible to add more documentation, but I kindly >> ask you to appreciate that most people w

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
On Mar 10, 2010, at 11:28 AM, Ron Wheeler wrote: > Jason van Zyl wrote: >> On Mar 10, 2010, at 8:47 AM, Ron Wheeler wrote: >> >> >>> Jason van Zyl wrote: >>> On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: > Anders Hammar wrote: > >> Eh, not su

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Anders Hammar wrote: Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you'

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Jason van Zyl wrote: On Mar 10, 2010, at 8:47 AM, Ron Wheeler wrote: Jason van Zyl wrote: On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be

Re: How do I add phases to a lifecycle that normally skips them?

2010-03-10 Thread Wayne Fay
> I have a project that I have declared to have the "pom" package, with > the intent of only releasing the XML schema (xsd) within the project via > the build-helper-maven-plugin's attach-artifact goal. Seems like an awful lot of workaround/effort just to keep the package as pom. If you change it

Re: How do I add phases to a lifecycle that normally skips them?

2010-03-10 Thread Justin Edelson
Steven- The phases in a lifecycle have nothing to do with the packaging of a project. pom-packaged projects just don't have anything bound BY DEFAULT to the compile, test-compile, etc. phases. You need to configure the compiler plugin to bind the testCompile goal to the test-compile phase and the s

How do I add phases to a lifecycle that normally skips them?

2010-03-10 Thread Maring, Steven
I have a project that I have declared to have the "pom" package, with the intent of only releasing the XML schema (xsd) within the project via the build-helper-maven-plugin's attach-artifact goal. However, I would like to run some unit tests that will generate the Java object graph via JAXB and

Re: distribution build for non-maven users

2010-03-10 Thread Kalle Korhonen
On Wed, Mar 10, 2010 at 12:58 AM, Erlend Hamnaberg wrote: > I have project that is on codehaus. For some reason I decided to have a > distribution build as an attached artifact. > This causes clutter in the repo, which I do not want. > Are there any guidelines for how to create a distribution for

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Anders Hammar
Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you've found some documenta

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread Jason van Zyl
The embedder doesn't currently exist anymore. I'm remaking it so it's not there to use. If the versions plugin doesn't do what you need internally it finds a list of the versions so you can borrow it's code which will work in maven 2 or maven 3. We've preserved the use of the old apis. The embed

Re: Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread xavier . seignard
Thanks for the tips! But, I don't see how can I use the maven-version-plguin to get the list of all versions available of a given artifact. Can you indacate me how to do it? And I don't wan't to make my usage of Maven embedder dependent to Nexus (which is BTW a great tool). Thanks for your

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
On Mar 10, 2010, at 8:47 AM, Ron Wheeler wrote: > Jason van Zyl wrote: >> On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: >> >> >>> Anders Hammar wrote: >>> Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think tha

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread lukewpatterson
xavier.seignard wrote: > > I would like to know how to retrieve list of available versions of a given > plugin with the maven embedder. > > In input I only have a groupId, an artifactId, a local repo and a list of > remote repos. > > In output I would like to have a list containing all the

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Jason van Zyl wrote: On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread Jason van Zyl
I suggest using the maven-versions-plugin: http://mojo.codehaus.org/versions-maven-plugin/index.html On Mar 10, 2010, at 6:39 AM, xavier.seign...@gmail.com wrote: > Hello, > I would like to know how to retrieve list of available versions of a given > plugin with the maven embedder. > > In inpu

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: > Anders Hammar wrote: >> Eh, not sure what you mean. Are you asking where in the Maven docs it is >> stated that the pom should be correct? I think that would go without saying, >> don't you? A default pom is most likely never correct, as think Jas

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread Ron Wheeler
If you have Nexus installed, you can just go to the index, work your way down to the artifact and see all the versions that are available. Ron xavier.seign...@gmail.com wrote: Hello, I would like to know how to retrieve list of available versions of a given plugin with the maven embedder. I

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely th

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Anders Hammar
Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheel

Re: Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break M

Re: distribution build for non-maven users

2010-03-10 Thread Wendy Smoak
On Wed, Mar 10, 2010 at 3:58 AM, Erlend Hamnaberg wrote: > I have project that is on codehaus. For some reason I decided to have a > distribution build as an attached artifact. > This causes clutter in the repo, which I do not want. > > Are there any guidelines for how to create a distribution for

Re: Maven 3.0 Artefact/Dependency version discussion request

2010-03-10 Thread Jason van Zyl
The user list is here users@maven.apache.org and you can subscribe to discuss your issues using users-subscr...@maven.apache.org. On Mar 10, 2010, at 5:45 AM, Trojan, Krzysztof wrote: > Dear Sir, > > First of all I would like to apologize for writing to you directly. I have > inadequate infor

[Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread xavier . seignard
Hello, I would like to know how to retrieve list of available versions of a given plugin with the maven embedder. In input I only have a groupId, an artifactId, a local repo and a list of remote repos. In output I would like to have a list containing all the available versions of the giv

distribution build for non-maven users

2010-03-10 Thread Erlend Hamnaberg
Hello. I have project that is on codehaus. For some reason I decided to have a distribution build as an attached artifact. This causes clutter in the repo, which I do not want. Are there any guidelines for how to create a distribution for a maven project for non-maven users? I probably want to p

Maven spitting out "crap" when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ken Egervari
Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven ju

Re: Checkstyle and multi module

2010-03-10 Thread Thomas Scheffler
Am 26.02.2010 08:43, schrieb Thomas Scheffler: Am 25.02.2010 23:01, schrieb Dennis Lundberg: Which version of the Checkstyle Plugin are you using? First I tried it with version 2.5 and later with 2.4. I had no luck with that either so I didn't tried any older version. Thomas Hi, one Idea c

Re: Antrun plugin reg exp

2010-03-10 Thread bendg
Hi Jorg, Thanks for your reply. Is there a nice work around for this? I was thinking binding a ant-run-plugin with all deps at top level pom, and call empty build.xml ? Also, this feels like a bug, is it likely to be fixed or worth raising? Thanks -- View this message in context: http://