On 17 August 2010 16:33, Trevor Harmon wrote:
> On Aug 16, 2010, at 5:19 PM, Trevor Harmon wrote:
>
>> On Aug 16, 2010, at 5:04 PM, Justin Edelson wrote:
>>
>>> http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
>>
>> Thanks, that looks like just what I need.
>
> I experi
Apache CXF has several poms that follow this pattern:
6.1.24
...
g
a
${jetty.version}
I was very surprised to learn, recently, that the release publication
process leaves the property reference in the POM. Then, if some
project of
Hi Stephen,
That's a very neat way of converting the dependencies from -SNAPSHOT to
timestamped dependencies. Thanks heaps! Doing this (or manually hardcoding
the timestamped dependency) will allow me to use the -DingnoreSnapshots=true
release option.
CHEERS!
On Tue, Aug 17, 2010 at 10:45 PM, S
Thanks Anders, as the doc suggests this appears to only work for timestamped
snapshots (which sucks for me).
On Tue, Aug 17, 2010 at 10:48 PM, Anders Hammar wrote:
> The command would be
> mvn release:prepare -DignoreSnapshots=true
>
> But yes, the doc suggests this would only work with timesta
The buildnumber-maven-plugin is handy for this. There's some issues when
issue git this Antony Stubbs has patched and fixed over on his github fork (
http://github.com/astubbs/buildnumber-maven-plugin ) which works great.
Automatically pulls in the git branch name as a classifier for your
artifac
On Tue, Aug 17, 2010 at 10:23 AM, Nicola Musatti
wrote:
>> project-X.Y.Z-customer-A>>
>
> This looks like a sensible approach, but I'm not sure which part should be
> the artifactId and which should be the version, nor if a classifier is
> involved.
artifactId = project
version = X.Y.Z-customer-A
On Aug 16, 2010, at 5:19 PM, Trevor Harmon wrote:
> On Aug 16, 2010, at 5:04 PM, Justin Edelson wrote:
>
>> http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
>
> Thanks, that looks like just what I need.
I experimented some more with this issue, and it turns out I don
Wendy Smoak wrote:
On Mon, Aug 16, 2010 at 6:26 AM, Nicola Musatti
wrote:
Hallo,
I need advice on how to handle naming/versioning for artifacts built from
separate branches of the same project, which evolve in parallel.
...
project-x.y.zfor the standard prod
On Mon, Aug 16, 2010 at 6:26 AM, Nicola Musatti
wrote:
> Hallo,
> I need advice on how to handle naming/versioning for artifacts built from
> separate branches of the same project, which evolve in parallel.
...
> project-x.y.z for the standard product
> project-customer-m.n.o
how about including the customer name in the version number, e.g.
0.0.1-customerA-SNAPSHOT
On 17 August 2010 14:24, Nicola Musatti wrote:
> Nicola Musatti wrote:
>>
>> I thought of that, but as far as I understand classifiers are meant to
>> distinguish obtained by compiling exactly the same set
Nicola Musatti wrote:
I thought of that, but as far as I understand classifiers are meant to
distinguish obtained by compiling exactly the same set of sources in
different ways, e.g. to cater for different jdk versions.
...are meant to distinguish *artifacts* obtained by...
I believe that using
I thought of that, but as far as I understand classifiers are meant to
distinguish obtained by compiling exactly the same set of sources in
different ways, e.g. to cater for different jdk versions.
I believe that using them in my context would introduce an awkward
release sequence. I'd be happ
The command would be
mvn release:prepare -DignoreSnapshots=true
But yes, the doc suggests this would only work with timestamped snapshots.
/Anders
On Tue, Aug 17, 2010 at 15:13, Andrew Hughes wrote:
> Hi Anders,
>
> Yes, I did try 'mvn release:prepare -DallowTimestampedSnapshots=true' but
> th
you can make your dependencies timestamped (provided you are deploying
with timestamps) using
http://mojo.codehaus.org/versions-maven-plugin/lock-snapshots-mojo.html
then run the release and finally use
http://mojo.codehaus.org/versions-maven-plugin/unlock-snapshots-mojo.html
to turn the timestampe
Hi Anders,
Yes, I did try 'mvn release:prepare -DallowTimestampedSnapshots=true' but
that didn't work. I would also not expect this to work for me as my
dependencies are not timestamped. But thank you for the suggestion.
On Tue, Aug 17, 2010 at 6:17 PM, Anders Hammar wrote:
> Did you check the
Just to clarify. WEB-INF/classes will include both compiled classes and
resources. So between WEB-INF/classes and jars under WEB-INF/lib there is no
difference both are in the web app class path. To me it seems that the reason
you want to package your classes/resources into jar first and then pu
> As far as I can tell Maven doesn't provide a specific mechanism for what I
> need. Ideally there would be a "variant" attribute that could be specified
> along the GAV parameters, to be inserted between the artifactId in and the
Perhaps this is an appropriate place to use a classifier?
Wayne
-
And the obvious question: Have you checked if the artifact exists in your
proxy? Maven says it doesn't, that's the problem.
/Anders
On Tue, Aug 17, 2010 at 12:53, SRIRAMULU, PARANTHAMAN (PARANTHAMAN) <
paranthaman.sriram...@alcatel-lucent.com> wrote:
>
>
>Hi All,
>
>Need your hel
Then it should work. No idea why it doesn't.
But if you only want to execute the plugin directly (not as part of the
build), why don't you just specify the argument on the command line?
/Anders
On Tue, Aug 17, 2010 at 10:59, Naresh wrote:
>
> Yes I have exec plugin in plugin management section
By default classes would be automatically included in the WEB-INF/classes. So
why would you want to package it as a jar and then include in WEB-INF/lib ?
Does it matter how the classes are packaged in the war ? If you are looking to
make this jar available for other purposes, then this code is r
Maybe you can try to configure your resources folder as a WebResource in the
plugin configuration. See
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webResourcesfor
more info.
Regards
Jeff MAURY
On Tue, Aug 17, 2010 at 1:38 PM, SACHIN :) wrote:
>
> Hi
>
> Yes, you are correct Je
Hi
Yes, you are correct Jeff, the resources content ends up in the jar file under
WEB-INF/lib.
Is it a way to exclude the resources content from the jar and put it in the
WEB-INF/classes WHEN the war is build?
Thanks
Sachin
> From: jeffma...@jeffmaury.com
> Date: Tue, 17 Aug 2010 10:32:06 +
Hi All,
Need your help in trying to fix this problem.
I created a proxy/repo similar to an existing and running setup at
different location using rsync mirrored directories Proxycache, Internal and
Releases from old setup to new. (Only one way)
While using this
Yes I have exec plugin in plugin management section.
Regards
Naresh
--
View this message in context:
http://maven.40175.n5.nabble.com/Want-to-Linux-Shell-command-from-Maven-s-pom-xml-tp2636616p2637870.html
Sent from the Maven - Users mailing list archive at Nabble.com.
I'll try and provide a tentative answer to my own question. Feel free to
comment :-)
As far as I can tell Maven doesn't provide a specific mechanism for what
I need. Ideally there would be a "variant" attribute that could be
specified along the GAV parameters, to be inserted between the
artif
Did you check the docs?
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#allowTimestampedSnapshots
/Anders
On Tue, Aug 17, 2010 at 09:44, Andrew Hughes wrote:
> Hi All,
>
> We've just hit alpha testing on our application, consequently I'd like to
> release this. However, w
I can't help you until you answer all my questions!
/Anders
On Tue, Aug 17, 2010 at 06:59, Naresh wrote:
>
> Yes I am executing mvn exec:exec.
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Want-to-Linux-Shell-command-from-Maven-s-pom-xml-tp2636616p2637696.html
> Sent fr
On Aug 16, 2010, at 9:05 AM, wrote:
> The site came up as expected but the html did not interpret the
> ${project.name} and it was printed as it is. In comparison when I used apt,
> then the html does show the name which maven reads from the POM.xml
When I use APT, built-in properties such as
Because you set archiveClasses to true, I suspect your resources files are
in the JAR created. Take a look at WEB-INF/lib instead.
Regards
Jeff MAURY
On Tue, Aug 17, 2010 at 6:26 AM, SACHIN :) wrote:
>
> Hi
>
> I am new to maven and currently stuck so any help will be appreciated.
>
> I have a M
Hello,
I need some help with the xhtml files in the maven.
I have the apt files in my project and inside the apt file I access the Maven
properties of the POM.xml as ${project.name} or ${project.version}. Since
formatting and updating the site each time is not easy with the apt files, I am
shi
Yes I am executing mvn exec:exec.
--
View this message in context:
http://maven.40175.n5.nabble.com/Want-to-Linux-Shell-command-from-Maven-s-pom-xml-tp2636616p2637696.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---
Hi All,
We've just hit alpha testing on our application, consequently I'd like to
release this. However, we still have some SNAPSHOT dependencies. Since this
is only alpha I don't really care about the SNAPSHOT dependencies (I know
don't bother to explain that this is a flaw - I know and right now
32 matches
Mail list logo