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 пи
Hello,
How could I run jetty from maven with webapp (war file) from repository?
--
Regards,
Alexander
> 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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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'
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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://
44 matches
Mail list logo