Discussion:
Archiva 2.0.1 : regression with maven 2 and uniqueVersion false
Isabelle Guimiot
2014-06-03 12:38:39 UTC
Permalink
We are using Archiva 1.4-M4 and we want to move to Archiva 2.0.1.

But in 2.0.1, we encounter a blocker issue with maven 2 and tag
uniqueVersion=false in the snapshots repository.

It used to work fine with Archiva 1.4-M4, each build was publishing only
one snapshot called artifact-x.y.z-SNAPSHOT.jar .

Now in 2.0.1, with the tag uniqueVersion=false, each build publishes a new
unique snapshot called artifact-x.y.z-null-[buildNumber].jar , which makes
other builds fail when they have this artifact as a dependency...

Did I miss anything in Archiva's configuration ? Or do I have to open a
jira issue to have this bug fixed in the next version ?

Thanks,

Isabelle
Olivier Lamy
2014-06-03 23:58:22 UTC
Permalink
Post by Isabelle Guimiot
We are using Archiva 1.4-M4 and we want to move to Archiva 2.0.1.
But in 2.0.1, we encounter a blocker issue with maven 2 and tag
uniqueVersion=false in the snapshots repository.
It used to work fine with Archiva 1.4-M4, each build was publishing only
one snapshot called artifact-x.y.z-SNAPSHOT.jar .
Now in 2.0.1, with the tag uniqueVersion=false, each build publishes a new
unique snapshot called artifact-x.y.z-null-[buildNumber].jar , which makes
other builds fail when they have this artifact as a dependency...
Did I miss anything in Archiva's configuration ? Or do I have to open a
jira issue to have this bug fixed in the next version ?
yup sounds like a bug. So yes please create an issue in Jira.
Which Maven version are you using?
Post by Isabelle Guimiot
Thanks,
Isabelle
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Isabelle Guimiot
2014-06-04 05:39:40 UTC
Permalink
It's maven 2.2.1
Post by Olivier Lamy
Post by Isabelle Guimiot
We are using Archiva 1.4-M4 and we want to move to Archiva 2.0.1.
But in 2.0.1, we encounter a blocker issue with maven 2 and tag
uniqueVersion=false in the snapshots repository.
It used to work fine with Archiva 1.4-M4, each build was publishing only
one snapshot called artifact-x.y.z-SNAPSHOT.jar .
Now in 2.0.1, with the tag uniqueVersion=false, each build publishes a
new
Post by Isabelle Guimiot
unique snapshot called artifact-x.y.z-null-[buildNumber].jar , which
makes
Post by Isabelle Guimiot
other builds fail when they have this artifact as a dependency...
Did I miss anything in Archiva's configuration ? Or do I have to open a
jira issue to have this bug fixed in the next version ?
yup sounds like a bug. So yes please create an issue in Jira.
Which Maven version are you using?
Post by Isabelle Guimiot
Thanks,
Isabelle
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Olivier Lamy
2014-06-10 23:31:22 UTC
Permalink
Hi,
Apologize for delay.
Should be fixed in master.
You can try a build from here:
https://builds.apache.org/view/A-D/view/Archiva/job/archiva-master-build/

Olivier
Post by Isabelle Guimiot
It's maven 2.2.1
Post by Olivier Lamy
Post by Isabelle Guimiot
We are using Archiva 1.4-M4 and we want to move to Archiva 2.0.1.
But in 2.0.1, we encounter a blocker issue with maven 2 and tag
uniqueVersion=false in the snapshots repository.
It used to work fine with Archiva 1.4-M4, each build was publishing only
one snapshot called artifact-x.y.z-SNAPSHOT.jar .
Now in 2.0.1, with the tag uniqueVersion=false, each build publishes a
new
Post by Isabelle Guimiot
unique snapshot called artifact-x.y.z-null-[buildNumber].jar , which
makes
Post by Isabelle Guimiot
other builds fail when they have this artifact as a dependency...
Did I miss anything in Archiva's configuration ? Or do I have to open a
jira issue to have this bug fixed in the next version ?
yup sounds like a bug. So yes please create an issue in Jira.
Which Maven version are you using?
Post by Isabelle Guimiot
Thanks,
Isabelle
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Isabelle Guimiot
2014-07-01 08:25:38 UTC
Permalink
Hi Olivier,

I confirm that this issue is fixed in the snapshot builds of Archiva 2.1.x,
I tested it last week.

Could you tell us when the next release (2.1.0) will be available
approximately ?

Thanks,

Isabelle
Post by Olivier Lamy
Hi,
Apologize for delay.
Should be fixed in master.
https://builds.apache.org/view/A-D/view/Archiva/job/archiva-master-build/
Olivier
Post by Isabelle Guimiot
It's maven 2.2.1
Post by Olivier Lamy
Post by Isabelle Guimiot
We are using Archiva 1.4-M4 and we want to move to Archiva 2.0.1.
But in 2.0.1, we encounter a blocker issue with maven 2 and tag
uniqueVersion=false in the snapshots repository.
It used to work fine with Archiva 1.4-M4, each build was publishing
only
Post by Isabelle Guimiot
Post by Olivier Lamy
Post by Isabelle Guimiot
one snapshot called artifact-x.y.z-SNAPSHOT.jar .
Now in 2.0.1, with the tag uniqueVersion=false, each build publishes a
new
Post by Isabelle Guimiot
unique snapshot called artifact-x.y.z-null-[buildNumber].jar , which
makes
Post by Isabelle Guimiot
other builds fail when they have this artifact as a dependency...
Did I miss anything in Archiva's configuration ? Or do I have to open
a
Post by Isabelle Guimiot
Post by Olivier Lamy
Post by Isabelle Guimiot
jira issue to have this bug fixed in the next version ?
yup sounds like a bug. So yes please create an issue in Jira.
Which Maven version are you using?
Post by Isabelle Guimiot
Thanks,
Isabelle
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Jeffrey N Hagelberg
2014-07-02 19:14:22 UTC
Permalink
We're seeing this too. I've created
http://jira.codehaus.org/browse/MRM-1849 for it.

-Jeff Hagelberg
Brett Porter
2014-07-03 01:39:39 UTC
Permalink
I think this was already fixed in MRM-1846 - Olivier will probably look at a release after he gets back from his holidays.
Post by Jeffrey N Hagelberg
We're seeing this too. I've created
http://jira.codehaus.org/browse/MRM-1849 for it.
-Jeff Hagelberg
Olivier Lamy
2014-07-10 06:45:39 UTC
Permalink
Post by Brett Porter
I think this was already fixed in MRM-1846 - Olivier will probably look at a release after he gets back from his holidays.
Sad but I'm now back from holidays :-)

So I will try to release next week.
Post by Brett Porter
Post by Jeffrey N Hagelberg
We're seeing this too. I've created
http://jira.codehaus.org/browse/MRM-1849 for it.
-Jeff Hagelberg
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Isabelle Guimiot
2014-07-10 09:30:10 UTC
Permalink
Cool ! :)
Post by Brett Porter
Post by Brett Porter
I think this was already fixed in MRM-1846 - Olivier will probably look
at a release after he gets back from his holidays.
Sad but I'm now back from holidays :-)
So I will try to release next week.
Post by Brett Porter
Post by Jeffrey N Hagelberg
We're seeing this too. I've created
http://jira.codehaus.org/browse/MRM-1849 for it.
-Jeff Hagelberg
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Jeffrey N Hagelberg
2014-07-14 15:19:05 UTC
Permalink
If you could do a release this week it would be really great. The memory
issue in 2.0.1 is really killing us, and I'm starting to get pressure to
downgrade back to 1.3.9.

-Jeff

Jeffrey Hagelberg, Software Engineer
XMeta Development
IBM Software Group
Email:***@us.ibm.com



From: Isabelle Guimiot <***@gmail.com>
To: ***@archiva.apache.org
Date: 07/10/2014 05:30 AM
Subject: Re: Archiva 2.0.1 : regression with maven 2 and uniqueVersion
false



Cool ! :)
Post by Brett Porter
Post by Brett Porter
I think this was already fixed in MRM-1846 - Olivier will probably look
at a release after he gets back from his holidays.
Sad but I'm now back from holidays :-)
So I will try to release next week.
Post by Brett Porter
Post by Jeffrey N Hagelberg
We're seeing this too. I've created
http://jira.codehaus.org/browse/MRM-1849 for it.
-Jeff Hagelberg
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Loading...