You should always ensure that you have a default value for properties
set by profiles. Most likely you're running into some scenario where
the profile just isn't active.
So, in your pom you should define the property as well.
May I also add that what you're trying to do is not good. IMHO you
shoul
Using Maven 2.2.1
I have defined a profile in my settings.xml file, and specified some
properties. This profile is also listed as an active profile.
For example:
third-party-lib-versions
1.2.16
Okay, I see.
Well, I'm not sure if there is a filter-option for current time.
I did once write a custom mojo for renaming packages (so directories) based
on the archetype artifactId.
That way if I used the archetype to generate a new project called:
- groupId: org.apache.whatever
- artifactId: myN
My pleasure,
Since M2 does the job, most people I've spoken to (including at my own
workplace) hold back on M3 ... On top of that, there is the
timestamped artifact workaround.
I wish this could be higher up in the priority list, just for the fact
it will push M3 adoption :(
Patrick Sansoucy
In
Thanks Patrick,
Yep that one is just what I am seeing. Looks like there is more to it
then I thought.. Thanks for pointing me in the right direction.. Why
aren't more people complaining about this? Is everyone using products
like Artifactory to keep the number of snapshot of each artifact down
Hi Bram
Thanks for your suggestion. My current approach is to use filtering to
insert the timestamp into the .java file.
The problem I am having is actually getting hold of the appropriate
value of a timestamp. It should reflect the point in time when my
archetype is used to generate a new projec
The Maven team is pleased to announce the release of the Maven Surefire,
version 2.10
This release includes the maven-surefire-plugin, which executes the
unit tests of an application, the maven-surefire-report-plugin, which
parses surefire/failsafe test results and renders them to DOXIA
creating t
You could use filtering?
On Fri, Sep 30, 2011 at 22:01, Dennis Lundberg wrote:
> Hi
>
> I'm creating an archetype, with a bunch of files. In the .java files I
> want to insert a timestamp. When I use the archetype to generate a new
> project, the .java files should show when they were generated.
Hi
I'm creating an archetype, with a bunch of files. In the .java files I
want to insert a timestamp. When I use the archetype to generate a new
project, the .java files should show when they were generated.
Is this possible?
I have tried inserting ${maven.build.timestamp} as the default value i
Is'nt rather related to this Jira that's been there for a while ?
http://jira.codehaus.org/browse/MNG-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
Patrick Sansoucy
In theory, there is no difference between theory and practice, but in
practice, there is ...
On Fri, Se
+1 for using aether >1.12, this reduced 2:00 compile time to ~45 seconds.
2011/9/30 Tamás Cservenák
> Take a peek at this thread (especially 1st mail):
>
> http://maven.40175.n5.nabble.com/Apache-Maven-distribution-with-fixes-td4639045.html
>
> Thanks,
> ~t~
>
> On Fri, Sep 30, 2011 at 12:22 PM
Thanks Robert,
I tried replacing the aether jar from 1.11 to 1.12 but that did not fix
my issue. In my case the meta
data is nicely updated by the actual jar and pom etc are still old.
I guess I will spend some time with the debugger over the weekend to see
what's going on.
If anyone has so
Hi,
Anyone have experience with crafting a URL for node in maven 3
pom.xml
I've read the brief docs on ClearCase URLs but my 'mvn scm:validate' is
not successful.
I have a configSpec at: c:\views\myView\configSpec.txt
Supposedly I'm supposed to be doing something like this:
scm
Thanks in advance
It works!!
I'll adopt your advices for next posts
2011/9/29 Barrie Treloar [via Maven] :
> On Fri, Sep 30, 2011 at 12:42 AM, GustavoR
> <[hidden email]> wrote:
>> Hi to everyone. That's is my first post..
>>
>> I have a big multi-module project
>>
>> Suppose that project struc
Sounds like http://jira.codehaus.org/browse/MNG-5087
-Robert
> Date: Fri, 30 Sep 2011 11:46:19 -0400
> From: kurt.s...@gmail.com
> To: users@maven.apache.org
> Subject: Maven not pulling down latest snapshot jar issue
>
> 1. I'm using maven-3.0.3 and does anyone else have the issue where th
Hi,
Are these empty folders? If not: They should be included in the jar
automatically.
You could also have a look at this page:
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
Regards,
Bram
On Fri, Sep 30, 2011 at 16:21, motes motes wrote:
> I have created
1. I'm using maven-3.0.3 and does anyone else have the issue where the
latest
snapshot jar is NOT downloaded while the meta data IS updated?
It sounds a lot like what's being described in this bug report, although
the title is misleading
http://jira.codehaus.org/browse/MNG-4142, ad it happens
Yes, when I run them by hand (in the jenkins checked-out workspace) it runs
fine
and most other projects run fine from Jenkins. Most failing projects worked
fine in the first place, but I always had to run the very first build by
hand. After that initial build, they would run fine, but some of them
is svn on the PATH ? I presume you are running change log report ?
2011/9/30 Bram Patelski :
> Hi,
>
> I've replied several times to an old thread, but never got my mail accepted
> by the list.
> It concerns this thread:
> http://jenkins.361315.n4.nabble.com/Build-hangs-on-maven-site-generation-td
I have created some sub folders in src/main/resources that I would
like to include in the final artifact.jar file.
src/main/resources/
I see I've misinterpreted the concept from the maven guide. Thanks for
clearing up my misunderstanding! :)
Best regards
Kiren
On Fri, Sep 30, 2011 at 1:53 PM, Guillaume Polet
wrote:
> Hi,
>
> So I have briefly read your pom.xml and it seems that you have put the
> dependency for spring in the d
wow!
Dropped in aether 1.13 into apache maven lib/ext (so patched applied
external to eclipse) and also updated the m2e embedded runtime plugin
org.eclipse.m2e.maven.runtime_1.0.1.201106291304 (as a quick test) and
now as an example a build that took 1 minute 43 secs now only takes 5
seconds
Hi,
So I have briefly read your pom.xml and it seems that you have put the
dependency for spring in the dependencyMgmt element and not in the
dependencies element. So let me straight things out here:
* dependencyMgmt are used to declare version number, configuration,
scope, etc... but it does
FYI, You can tell maven 3.0.3 to work with aether 1.13 (I think this is the
latest release) just by dropping aether jars in $MAVEN_HOME/lib/ext. They
should take precedence over the aether 1.11 bundled with maven in
$MAVEN_HOME/lib.
I did that with aether 1.12 and there was no issue, at least fo
Take a peek at this thread (especially 1st mail):
http://maven.40175.n5.nabble.com/Apache-Maven-distribution-with-fixes-td4639045.html
Thanks,
~t~
On Fri, Sep 30, 2011 at 12:22 PM, Paul French wrote:
> maven 3.0.3 has terrible performance and memory usage when using version
> ranges. This has a
maven 3.0.3 has terrible performance and memory usage when using version
ranges. This has a knock on effect using m2e
It takes maven ages to update the maven dependencies.
I have a main project with a some version ranged dependencies which in
turn have versioned ranged dependencies. Outside of
Hi
I think our project is misconfigured. From reading the docs again, the
common dependencies go to within the dependencyManagent tag (we where
using the dependencies before).
I've fixed this but still see that the dependencies declared in the
super pom aren't being picked up by the children.
Fo
Hi,
I am using Jenkins on a buildserver that runs all builds every night at
about 0:00.
I also have builds on those projects that run the site-plugin.
But each night, a lot of those builds fail on some random plugin, logging
the following error:
[ERROR] BUILD ERROR
[INFO] -
I suggest using http://search.maven.org instead as that's the official
search engine for Maven central, which is the default repo for Maven.
/Anders
On Thu, Sep 29, 2011 at 08:47, Yuvaraj Vanarase
wrote:
> Prashant,
>
> If those libraries are standard and well known then should be available at
thank you for the reply
could you please let me know bit clearly..because i am very new to maven
--
View this message in context:
http://maven.40175.n5.nabble.com/customisation-of-path-in-pom-tp4853264p4856085.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Thank you for the reply.
How can i differentiate this with different os..
I mean I run the tests on my local machine with windows os
and my test system is with linux...
thank you
--
View this message in context:
http://maven.40175.n5.nabble.com/customisation-of-path-in-pom-tp4853264p4856081.ht
Hi,
I've replied several times to an old thread, but never got my mail accepted
by the list.
It concerns this thread:
http://jenkins.361315.n4.nabble.com/Build-hangs-on-maven-site-generation-td366706.html
My post:
Hi,
I have these same problems, but not on all projects/builds. As with the
origin
32 matches
Mail list logo