
|
filename format of deployed artifacts
I'm not sure whether this is a Nexus or a maven question, so apologies in advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6 instance of artifactory. Everything is functioning well apart from one thing. When an artifact is deployed to artifactory it is accessible using a link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jarBut when deployed to Nexus instead of this simple form, which is replaced each time a new snapshot is delpoyed I'm getting a new object for each time the deployment executes with the build date-time appended to the basic filename.
Is there a Nexus setting that controls the format of the filename that's used when an artifact is deployed to the repository? Or is this something that can be controlled at the maven level (if so it seems to be behaving differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
|

|
Re: filename format of deployed artifacts
Using non-unique snapshots is much better practice then not using them. AFAIK, artifactory does on-the-fly resolution of XX-SNAPSHOT version into timestamped one and returns that for the SNAPSHOT request. Naturally, this is handy for human or any non-maven interaction only, since Maven does the same resolution.
To make use of Nexus-side resolution, do this in Q25: http://nexus.sonatype.org/nexus-faq.html#25
This is handy to integrate any 3rd party non-maven builds into the flow, but keep in there the GAV distinction. Also, for humans to simply get the "latest" of a SNAPSHOT, without the need to browse over the deployed timestamped files.
Hope helps, ~t~ On Mon, Oct 26, 2009 at 10:57 AM, damonjebb <djebb@...> wrote:
I'm not sure whether this is a Nexus or a maven question, so apologies in
advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6
instance of artifactory. Everything is functioning well apart from one
thing. When an artifact is deployed to artifactory it is accessible using a
link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jar
But when deployed to Nexus instead of this simple form, which is replaced
each time a new snapshot is delpoyed I'm getting a new object for each time
the deployment executes with the build date-time appended to the basic
filename.
Is there a Nexus setting that controls the format of the filename that's
used when an artifact is deployed to the repository? Or is this something
that can be controlled at the maven level (if so it seems to be behaving
differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
--
View this message in context: http://www.nabble.com/filename-format-of-deployed-artifacts-tp26056926p26056926.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...
|

|
RE: filename format of deployed artifacts

Some parts of this message have been removed.
Learn more about Nabble's security policy.
Thanks for the quick response. I think I’m
missing something. http://localhost:8081/service/local/artifact/maven/content
gives 404 when I use it on my repository, though it works on the sonatype repo.
Is this a nexus pro feature? (I should have mentioned that I’m using the
community version)
Thanks
Damon
Using non-unique snapshots is much better practice then not using them.
AFAIK, artifactory does on-the-fly resolution of XX-SNAPSHOT version
into timestamped one and returns that for the SNAPSHOT request. Naturally, this
is handy for human or any non-maven interaction only, since Maven does the same
resolution.
To make use of Nexus-side resolution, do this in Q25:
http://nexus.sonatype.org/nexus-faq.html#25
This is handy to integrate any 3rd party non-maven builds into the
flow, but keep in there the GAV distinction. Also, for humans to simply get the
"latest" of a SNAPSHOT, without the need to browse over the deployed
timestamped files.
On Mon, Oct 26, 2009 at 10:57 AM, damonjebb <djebb@...> wrote:
I'm not sure whether this is a Nexus or a maven question, so apologies in
advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6
instance of artifactory. Everything is functioning well apart from one
thing. When an artifact is deployed to artifactory it is accessible using
a
link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jar
But when deployed to Nexus instead of this simple form, which is replaced
each time a new snapshot is delpoyed I'm getting a new object for each time
the deployment executes with the build date-time appended to the basic
filename.
Is there a Nexus setting that controls the format of the filename that's
used when an artifact is deployed to the repository? Or is this something
that can be controlled at the maven level (if so it seems to be behaving
differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
--
View this message in context: http://www.nabble.com/filename-format-of-deployed-artifacts-tp26056926p26056926.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...
|
############################################################################### |
|
Note:
Any views or
opinions are solely those of the author and do not necessarily represent
those of Channel Four Television Corporation unless specifically stated.
This email and any files transmitted are confidential and intended solely
for the use of the individual or entity to which they are addressed. If
you have received this email in error, please notify postmaster@...
Thank You.
Channel Four
Television Corporation, created by statute under English
law, is at
124 Horseferry
Road, London, SW1P 2TX .
4
Ventures Limited (Company No. 04106849), incorporated in
England and
Wales has
its registered office at 124 Horseferry Road, London SW1P
2TX.
VAT
no: GB 626475817
|
|
############################################################################### |
|

|
Re: filename format of deployed artifacts
It is an OSS feature...
But if using default OSS bundle, the URL is wrong. It is missing a "nexus"..
Hope helps, ~t~ On Mon, Oct 26, 2009 at 11:51 AM, Damon Jebb <DJebb@...> wrote:
Thanks for the quick response. I think I’m
missing something. http://localhost:8081/service/local/artifact/maven/content
gives 404 when I use it on my repository, though it works on the sonatype repo.
Is this a nexus pro feature? (I should have mentioned that I’m using the
community version)
Thanks
Damon
Using non-unique snapshots is much better practice then not using them.
AFAIK, artifactory does on-the-fly resolution of XX-SNAPSHOT version
into timestamped one and returns that for the SNAPSHOT request. Naturally, this
is handy for human or any non-maven interaction only, since Maven does the same
resolution.
To make use of Nexus-side resolution, do this in Q25:
http://nexus.sonatype.org/nexus-faq.html#25
This is handy to integrate any 3rd party non-maven builds into the
flow, but keep in there the GAV distinction. Also, for humans to simply get the
"latest" of a SNAPSHOT, without the need to browse over the deployed
timestamped files.
On Mon, Oct 26, 2009 at 10:57 AM, damonjebb <djebb@...> wrote:
I'm not sure whether this is a Nexus or a maven question, so apologies in
advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6
instance of artifactory. Everything is functioning well apart from one
thing. When an artifact is deployed to artifactory it is accessible using
a
link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jar
But when deployed to Nexus instead of this simple form, which is replaced
each time a new snapshot is delpoyed I'm getting a new object for each time
the deployment executes with the build date-time appended to the basic
filename.
Is there a Nexus setting that controls the format of the filename that's
used when an artifact is deployed to the repository? Or is this something
that can be controlled at the maven level (if so it seems to be behaving
differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
--
View this message in context: http://www.nabble.com/filename-format-of-deployed-artifacts-tp26056926p26056926.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...
|
|
|
############################################################################### |
|
Note:
Any views or
opinions are solely those of the author and do not necessarily represent
those of Channel Four Television Corporation unless specifically stated.
This email and any files transmitted are confidential and intended solely
for the use of the individual or entity to which they are addressed. If
you have received this email in error, please notify postmaster@...
Thank You.
Channel Four
Television Corporation, created by statute under English
law, is at
124 Horseferry
Road, London, SW1P 2TX .
4
Ventures Limited (Company No. 04106849), incorporated in
England and
Wales has
its registered office at 124 Horseferry Road, London SW1P
2TX.
VAT
no: GB 626475817
|
|
############################################################################### |
|

|
RE: filename format of deployed artifacts

Some parts of this message have been removed.
Learn more about Nabble's security policy.
Thanks, I should have spotted that.
I have now made the redirect form of the
URL work, but the version of wget on the machines that I am using responds that
--content-disposition is an invalid option. I don’t know if this is the
reason that the downloaded artefact is <artefact-id>-<Version>-<date-timestamp>.jar?
What I really need is to be able to give people a URL which will download
<artifactid>-<version>-<SNAPSHOT>.jar and result in the latest
available being downloaded.
I have noticed that there are some
repositories in the oss.sonatype.org nexus instance (e.g. http://oss.sonatype.org/content/groups/opensymphony/com/opensymphony/xwork/2.0.8-SNAPSHOT/)
which do not have time stamped unique versions. Does this mean that it is
possible to switch off the unique versions feature?
Also – I haven’t yet tried deploying
releases to Nexus – would released artefacts also have timestamps
appended to the filenames?
Thanks
Damon
It is an OSS
feature...
But if using default OSS
bundle, the URL is wrong. It is missing a "nexus"..
~t~
On Mon, Oct 26, 2009 at 11:51 AM, Damon Jebb <DJebb@...> wrote:
Thanks for the quick response. I think I’m missing
something. http://localhost:8081/service/local/artifact/maven/content
gives 404 when I use it on my repository, though it works on the sonatype
repo. Is this a nexus pro feature? (I should have mentioned that
I’m using the community version)
Thanks
Damon
Using non-unique
snapshots is much better practice then not using them.
AFAIK, artifactory
does on-the-fly resolution of XX-SNAPSHOT version into timestamped one and
returns that for the SNAPSHOT request. Naturally, this is handy for human or
any non-maven interaction only, since Maven does the same resolution.
To make use of
Nexus-side resolution, do this in Q25:
http://nexus.sonatype.org/nexus-faq.html#25
This is handy to
integrate any 3rd party non-maven builds into the flow, but keep in there the
GAV distinction. Also, for humans to simply get the "latest" of a
SNAPSHOT, without the need to browse over the deployed timestamped files.
On Mon, Oct 26,
2009 at 10:57 AM, damonjebb <djebb@...> wrote:
I'm not sure whether this is a Nexus or a maven question, so apologies in
advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6
instance of artifactory. Everything is functioning well apart from one
thing. When an artifact is deployed to artifactory it is accessible using
a
link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jar
But when deployed to Nexus instead of this simple form, which is replaced
each time a new snapshot is delpoyed I'm getting a new object for each time
the deployment executes with the build date-time appended to the basic
filename.
Is there a Nexus setting that controls the format of the filename that's
used when an artifact is deployed to the repository? Or is this something
that can be controlled at the maven level (if so it seems to be behaving
differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
--
View this message in context: http://www.nabble.com/filename-format-of-deployed-artifacts-tp26056926p26056926.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...
|
|
|
###############################################################################
|
|
Note:
Any views or opinions are solely those of the author and do not necessarily
represent those of Channel Four Television Corporation unless specifically
stated. This email and any files transmitted are confidential and intended
solely for the use of the individual or entity to which they are addressed.
If you have received this email in error, please notify postmaster@...
Thank You.
Channel Four Television Corporation, created by statute
under English law, is at 124 Horseferry Road, London,
SW1P 2TX .
4 Ventures Limited (Company No. 04106849), incorporated in England and Wales has
its registered office at 124
Horseferry Road, London SW1P 2TX.
VAT no: GB 626475817
|
|
###############################################################################
|
|
############################################################################### |
|
Note:
Any views or
opinions are solely those of the author and do not necessarily represent
those of Channel Four Television Corporation unless specifically stated.
This email and any files transmitted are confidential and intended solely
for the use of the individual or entity to which they are addressed. If
you have received this email in error, please notify postmaster@...
Thank You.
Channel Four
Television Corporation, created by statute under English
law, is at
124 Horseferry
Road, London, SW1P 2TX .
4
Ventures Limited (Company No. 04106849), incorporated in
England and
Wales has
its registered office at 124 Horseferry Road, London SW1P
2TX.
VAT
no: GB 626475817
|
|
############################################################################### |
|

|
Re: filename format of deployed artifacts
The use (or not) of the timestamped snapshots is actually set on maven side (uniqueVersions), not Nexus. Nexus just tries to give some "relief" in this area.
Again, using non-timestamped snapshots is possible with Nexus, but is not recommended.
Thanks, ~t~ On Mon, Oct 26, 2009 at 12:18 PM, Damon Jebb <DJebb@...> wrote:
Thanks, I should have spotted that.
I have now made the redirect form of the
URL work, but the version of wget on the machines that I am using responds that
--content-disposition is an invalid option. I don’t know if this is the
reason that the downloaded artefact is <artefact-id>-<Version>-<date-timestamp>.jar?
What I really need is to be able to give people a URL which will download
<artifactid>-<version>-<SNAPSHOT>.jar and result in the latest
available being downloaded.
I have noticed that there are some
repositories in the oss.sonatype.org nexus instance (e.g. http://oss.sonatype.org/content/groups/opensymphony/com/opensymphony/xwork/2.0.8-SNAPSHOT/)
which do not have time stamped unique versions. Does this mean that it is
possible to switch off the unique versions feature?
Also – I haven’t yet tried deploying
releases to Nexus – would released artefacts also have timestamps
appended to the filenames?
Thanks
Damon
It is an OSS
feature...
But if using default OSS
bundle, the URL is wrong. It is missing a "nexus"..
~t~
On Mon, Oct 26, 2009 at 11:51 AM, Damon Jebb <DJebb@...> wrote:
Thanks for the quick response. I think I’m missing
something. http://localhost:8081/service/local/artifact/maven/content
gives 404 when I use it on my repository, though it works on the sonatype
repo. Is this a nexus pro feature? (I should have mentioned that
I’m using the community version)
Thanks
Damon
Using non-unique
snapshots is much better practice then not using them.
AFAIK, artifactory
does on-the-fly resolution of XX-SNAPSHOT version into timestamped one and
returns that for the SNAPSHOT request. Naturally, this is handy for human or
any non-maven interaction only, since Maven does the same resolution.
To make use of
Nexus-side resolution, do this in Q25:
http://nexus.sonatype.org/nexus-faq.html#25
This is handy to
integrate any 3rd party non-maven builds into the flow, but keep in there the
GAV distinction. Also, for humans to simply get the "latest" of a
SNAPSHOT, without the need to browse over the deployed timestamped files.
On Mon, Oct 26,
2009 at 10:57 AM, damonjebb <djebb@...> wrote:
I'm not sure whether this is a Nexus or a maven question, so apologies in
advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6
instance of artifactory. Everything is functioning well apart from one
thing. When an artifact is deployed to artifactory it is accessible using
a
link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jar
But when deployed to Nexus instead of this simple form, which is replaced
each time a new snapshot is delpoyed I'm getting a new object for each time
the deployment executes with the build date-time appended to the basic
filename.
Is there a Nexus setting that controls the format of the filename that's
used when an artifact is deployed to the repository? Or is this something
that can be controlled at the maven level (if so it seems to be behaving
differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
--
View this message in context: http://www.nabble.com/filename-format-of-deployed-artifacts-tp26056926p26056926.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...
|
|
|
###############################################################################
|
|
Note:
Any views or opinions are solely those of the author and do not necessarily
represent those of Channel Four Television Corporation unless specifically
stated. This email and any files transmitted are confidential and intended
solely for the use of the individual or entity to which they are addressed.
If you have received this email in error, please notify postmaster@...
Thank You.
Channel Four Television Corporation, created by statute
under English law, is at 124 Horseferry Road, London,
SW1P 2TX .
4 Ventures Limited (Company No. 04106849), incorporated in England and Wales has
its registered office at 124
Horseferry Road, London SW1P 2TX.
VAT no: GB 626475817
|
|
###############################################################################
|
|
|
|
############################################################################### |
|
Note:
Any views or
opinions are solely those of the author and do not necessarily represent
those of Channel Four Television Corporation unless specifically stated.
This email and any files transmitted are confidential and intended solely
for the use of the individual or entity to which they are addressed. If
you have received this email in error, please notify postmaster@...
Thank You.
Channel Four
Television Corporation, created by statute under English
law, is at
124 Horseferry
Road, London, SW1P 2TX .
4
Ventures Limited (Company No. 04106849), incorporated in
England and
Wales has
its registered office at 124 Horseferry Road, London SW1P
2TX.
VAT
no: GB 626475817
|
|
############################################################################### |
|

|
Re: filename format of deployed artifacts
This might be of some help:
Rich On Oct 26, 2009, at 4:36 AM, Tamás Cservenák wrote: The use (or not) of the timestamped snapshots is actually set on maven side (uniqueVersions), not Nexus. Nexus just tries to give some "relief" in this area.
Again, using non-timestamped snapshots is possible with Nexus, but is not recommended.
Thanks, ~t~ On Mon, Oct 26, 2009 at 12:18 PM, Damon Jebb <DJebb@...> wrote:
Thanks, I should have spotted that.
I have now made the redirect form of the
URL work, but the version of wget on the machines that I am using responds that
--content-disposition is an invalid option. I don’t know if this is the
reason that the downloaded artefact is <artefact-id>-<Version>-<date-timestamp>.jar?
What I really need is to be able to give people a URL which will download
<artifactid>-<version>-<SNAPSHOT>.jar and result in the latest
available being downloaded.
I have noticed that there are some
repositories in the oss.sonatype.org nexus instance (e.g. http://oss.sonatype.org/content/groups/opensymphony/com/opensymphony/xwork/2.0.8-SNAPSHOT/)
which do not have time stamped unique versions. Does this mean that it is
possible to switch off the unique versions feature?
Also – I haven’t yet tried deploying
releases to Nexus – would released artefacts also have timestamps
appended to the filenames?
Thanks Damon
It is an OSS
feature...
But if using default OSS
bundle, the URL is wrong. It is missing a "nexus"..
~t~
On Mon, Oct 26, 2009 at 11:51 AM, Damon Jebb <DJebb@...> wrote:
Thanks for the quick response. I think I’m missing
something. http://localhost:8081/service/local/artifact/maven/content
gives 404 when I use it on my repository, though it works on the sonatype
repo. Is this a nexus pro feature? (I should have mentioned that
I’m using the community version)
Thanks Damon
Using non-unique
snapshots is much better practice then not using them.
AFAIK, artifactory
does on-the-fly resolution of XX-SNAPSHOT version into timestamped one and
returns that for the SNAPSHOT request. Naturally, this is handy for human or
any non-maven interaction only, since Maven does the same resolution.
To make use of
Nexus-side resolution, do this in Q25:
http://nexus.sonatype.org/nexus-faq.html#25
This is handy to
integrate any 3rd party non-maven builds into the flow, but keep in there the
GAV distinction. Also, for humans to simply get the "latest" of a
SNAPSHOT, without the need to browse over the deployed timestamped files.
On Mon, Oct 26,
2009 at 10:57 AM, damonjebb <djebb@...> wrote:
I'm not sure whether this is a Nexus or a maven question, so apologies in
advance if it is off topic.
I'm in the process of setting up nexus 1.3.6 to replace our current 2.0.6
instance of artifactory. Everything is functioning well apart from one
thing. When an artifact is deployed to artifactory it is accessible using
a
link link this...
http://artifactory-host/artifactory/repo/com/company/project/project-1.0.0-SNAPSHOT.jar
But when deployed to Nexus instead of this simple form, which is replaced
each time a new snapshot is delpoyed I'm getting a new object for each time
the deployment executes with the build date-time appended to the basic
filename.
Is there a Nexus setting that controls the format of the filename that's
used when an artifact is deployed to the repository? Or is this something
that can be controlled at the maven level (if so it seems to be behaving
differently depending on whether I deploy to Nexus or Artifactory).
Thanks
Damon
--
View this message in context: http://www.nabble.com/filename-format-of-deployed-artifacts-tp26056926p26056926.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...
|
###############################################################################
|
Note:
Any views or opinions are solely those of the author and do not necessarily
represent those of Channel Four Television Corporation unless specifically
stated. This email and any files transmitted are confidential and intended
solely for the use of the individual or entity to which they are addressed.
If you have received this email in error, please notify postmaster@...
Thank You. Channel Four Television Corporation, created by statute
under English law, is at 124 Horseferry Road, London,
SW1P 2TX . 4 Ventures Limited (Company No. 04106849), incorporated in England and Wales has
its registered office at 124
Horseferry Road, London SW1P 2TX. VAT no: GB 626475817
|
###############################################################################
|
|
|
############################################################################### |
Note:
Any views or
opinions are solely those of the author and do not necessarily represent
those of Channel Four Television Corporation unless specifically stated.
This email and any files transmitted are confidential and intended solely
for the use of the individual or entity to which they are addressed. If
you have received this email in error, please notify postmaster@...
Thank You. Channel Four
Television Corporation, created by statute under English
law, is at
124 Horseferry
Road, London, SW1P 2TX . 4
Ventures Limited (Company No. 04106849), incorporated in
England and
Wales has
its registered office at 124 Horseferry Road, London SW1P
2TX. VAT
no: GB 626475817 |
############################################################################### |
|