Re: Maven Projects with dependencies is too eager since 1.481

2012-10-22 Thread domi
I think this should get fixed or reverted and back ported into the new LTS 
release.
/Domi

On 18.10.2012, at 21:43, Jeff Maxwell jeff.maxw...@gmail.com wrote:

 We have the same requirement.
 
 On Thursday, September 27, 2012 11:02:00 AM UTC-5, liam.j.bennett wrote:
 While this is clearly a bug that needs fixing it would be useful to have the 
 functionality to resolve downstream/upstream jobs with a fixed version 
 (configurable of-course). 
 
 We no longer use SNAPSHOTS but use release versions with 
 BUILD_ID-BUILD_NUMBER and dynamically update dependencies using the 
 maven-versions-plugin at build time. At the moment we are having to manually 
 configure downstream/upstream relationships so having Jenkins auto-resolve 
 them for fixed versions would be very useful to us.
 
 On Wednesday, September 19, 2012 4:04:37 PM UTC+1, Larry Shatzer, Jr. wrote:
 I've noticed something weird with Maven projects that are set to build 
 downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as 
 dependencies (and builds them) even if it is not a SNAPSHOT dependency but a 
 regular dependency.
 
 It looks like the code for JENKINS-12735 to allow version ranges is causing 
 this. If you use version of version1.0.0/version, that should not trigger 
 it, but the other uses like [1.0.0,2.0.0), etc. should. This is causing lots 
 of extra unnecessary builds when you have a lot of projects that are 
 dependent on each other, but set to a release of the other and not a SNAPSHOT.
 
 -- Larry



Re: Maven Projects with dependencies is too eager since 1.481

2012-10-15 Thread Jay Meyer
Thanks for linking to the Jira Issue I created a few days ago.  This 
traffic should raise some attention.  It's an annoying problem for us that 
puts our build validity at risk.  The Maven-Jenkins integration is a great 
feature for us.

https://issues.jenkins-ci.org/browse/JENKINS-15367

Kohsuke Kawaguchi is now assigned (by himself).  It might help for you to 
add comments to the Jira with any details you've noticed.

On Wednesday, September 19, 2012 10:04:37 AM UTC-5, Larry Shatzer, Jr. 
wrote:

 I've noticed something weird with Maven projects that are set to build 
 downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as 
 dependencies (and builds them) even if it is not a SNAPSHOT dependency but 
 a regular dependency.

 It looks like the code for JENKINS-12735 to allow version ranges is 
 causing this. If you use version of version1.0.0/version, that should 
 not trigger it, but the other uses like [1.0.0,2.0.0), etc. should. This is 
 causing lots of extra unnecessary builds when you have a lot of projects 
 that are dependent on each other, but set to a release of the other and not 
 a SNAPSHOT.

 -- Larry



Re: Maven Projects with dependencies is too eager since 1.481

2012-10-15 Thread Larry Shatzer, Jr.
I got kohsuke's attention on IRC, and directed him to this thread and the
ticket in question. This is also affecting the maven developers with their
git migration:
http://maven.40175.n5.nabble.com/Jenkins-jobs-for-the-projects-that-have-migrated-to-git-td5724895.html

-- Larry

On Mon, Oct 15, 2012 at 3:19 PM, Jay Meyer jayme...@gmail.com wrote:

 Thanks for linking to the Jira Issue I created a few days ago.  This
 traffic should raise some attention.  It's an annoying problem for us that
 puts our build validity at risk.  The Maven-Jenkins integration is a great
 feature for us.

 https://issues.jenkins-ci.org/browse/JENKINS-15367

 Kohsuke Kawaguchi is now assigned (by himself).  It might help for you to
 add comments to the Jira with any details you've noticed.


 On Wednesday, September 19, 2012 10:04:37 AM UTC-5, Larry Shatzer, Jr.
 wrote:

 I've noticed something weird with Maven projects that are set to build
 downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as
 dependencies (and builds them) even if it is not a SNAPSHOT dependency but
 a regular dependency.

 It looks like the code for JENKINS-12735 to allow version ranges is
 causing this. If you use version of version1.0.0/version, that should
 not trigger it, but the other uses like [1.0.0,2.0.0), etc. should. This is
 causing lots of extra unnecessary builds when you have a lot of projects
 that are dependent on each other, but set to a release of the other and not
 a SNAPSHOT.

 -- Larry




Re: Maven Projects with dependencies is too eager since 1.481

2012-09-27 Thread liam.j.bennett
While this is clearly a bug that needs fixing it would be useful to have 
the functionality to resolve downstream/upstream jobs with a fixed version 
(configurable of-course). 

We no longer use SNAPSHOTS but use release versions with 
BUILD_ID-BUILD_NUMBER and dynamically update dependencies using the 
maven-versions-plugin at build time. At the moment we are having to 
manually configure downstream/upstream relationships so having Jenkins 
auto-resolve them for fixed versions would be very useful to us.

On Wednesday, September 19, 2012 4:04:37 PM UTC+1, Larry Shatzer, Jr. wrote:

 I've noticed something weird with Maven projects that are set to build 
 downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as 
 dependencies (and builds them) even if it is not a SNAPSHOT dependency but 
 a regular dependency.

 It looks like the code for JENKINS-12735 to allow version ranges is 
 causing this. If you use version of version1.0.0/version, that should 
 not trigger it, but the other uses like [1.0.0,2.0.0), etc. should. This is 
 causing lots of extra unnecessary builds when you have a lot of projects 
 that are dependent on each other, but set to a release of the other and not 
 a SNAPSHOT.

 -- Larry



Re: Maven Projects with dependencies is too eager since 1.481

2012-09-25 Thread domi
+1 too

On 24.09.2012, at 22:42, Arnaud Héritier aherit...@gmail.com wrote:

 Hi,
 
   +1000 with Larry
   I also noticed this issue triggering many many useless builds between 
 projects.
   I was also suspecting this change as the root cause of the issue.
   Is there already an issue opened about this regression ?
   I'm in favor to revert JENKINS-12735 if someone don't find a fix quickly
 
   Cheers,
 
 Arnaud
 
 On Wed, Sep 19, 2012 at 5:04 PM, Larry Shatzer, Jr. lar...@gmail.com wrote:
 I've noticed something weird with Maven projects that are set to build 
 downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as 
 dependencies (and builds them) even if it is not a SNAPSHOT dependency but a 
 regular dependency.
 
 It looks like the code for JENKINS-12735 to allow version ranges is causing 
 this. If you use version of version1.0.0/version, that should not trigger 
 it, but the other uses like [1.0.0,2.0.0), etc. should. This is causing lots 
 of extra unnecessary builds when you have a lot of projects that are 
 dependent on each other, but set to a release of the other and not a SNAPSHOT.
 
 -- Larry
 
 
 
 -- 
 -
 Arnaud Héritier
 06-89-76-64-24
 http://aheritier.net
 Mail/GTalk: aherit...@gmail.com
 Twitter/Skype : aheritier
 



Re: Maven Projects with dependencies is too eager since 1.481

2012-09-24 Thread Olivier Lamy
+1

2012/9/24 Arnaud Héritier aherit...@gmail.com:
 Hi,

   +1000 with Larry
   I also noticed this issue triggering many many useless builds between
 projects.
   I was also suspecting this change as the root cause of the issue.
   Is there already an issue opened about this regression ?
   I'm in favor to revert JENKINS-12735 if someone don't find a fix quickly

   Cheers,

 Arnaud

 On Wed, Sep 19, 2012 at 5:04 PM, Larry Shatzer, Jr. lar...@gmail.com
 wrote:

 I've noticed something weird with Maven projects that are set to build
 downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as
 dependencies (and builds them) even if it is not a SNAPSHOT dependency but a
 regular dependency.

 It looks like the code for JENKINS-12735 to allow version ranges is
 causing this. If you use version of version1.0.0/version, that should
 not trigger it, but the other uses like [1.0.0,2.0.0), etc. should. This is
 causing lots of extra unnecessary builds when you have a lot of projects
 that are dependent on each other, but set to a release of the other and not
 a SNAPSHOT.

 -- Larry




 --
 -
 Arnaud Héritier
 06-89-76-64-24
 http://aheritier.net
 Mail/GTalk: aherit...@gmail.com
 Twitter/Skype : aheritier




-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy


Maven Projects with dependencies is too eager since 1.481

2012-09-19 Thread Larry Shatzer, Jr.
I've noticed something weird with Maven projects that are set to build
downstream jobs if there is a SNAPSHOT dependency. It now lists jobs as
dependencies (and builds them) even if it is not a SNAPSHOT dependency but
a regular dependency.

It looks like the code for JENKINS-12735 to allow version ranges is causing
this. If you use version of version1.0.0/version, that should not
trigger it, but the other uses like [1.0.0,2.0.0), etc. should. This is
causing lots of extra unnecessary builds when you have a lot of projects
that are dependent on each other, but set to a release of the other and not
a SNAPSHOT.

-- Larry