continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deng Ching <och...@apache.org>
Subject Re: SNAPSHOT issue on 1.4.1
Date Tue, 22 May 2012 02:29:56 GMT
Hi Louis,

Do you mean in the remote repository?

If you're using Maven 3.x, I believe non-unique snapshot deployments
(-SNAPSHOT instead of timestamps) are no longer possible. See

https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-NonuniqueSnapshotDeployments

As for referencing specific timestamped versions.. When your dependency is
set to an "unlocked" snapshot version (e.g. 1.0.2-SNAPSHOT), Maven would
always get the latest one deployed in the remote repository. If you wish to
use a specific timestamp, you can "lock" the snapshot version by using the
timestamp version of the dependency in your pom
(e.g. 1.0.2-20120519.090019-1)

HTH,
Deng

On Tue, May 22, 2012 at 2:01 AM, Louis Smith <dr.louis.smith@gmail.com>wrote:

> I noticed that when I am working on  a jar file, and I re-run "clean
> compile package install" of a -SNAPSHOT of a project while developing and
> testing, that the "install" directory is NOT clean.. it has "time-stamped"
> files in it, and my other builds can't reference it.
>
> What I see is:
>
>
> Parent Directory<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/
> >
>  - [image: [ ]]components-pom-1.0.2-20120519.090019-1.pom<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-1.pom
> >20-May-2012
> 16:3315K [image: [
> ]]components-pom-1.0.2-20120519.090019-1.pom.md5<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-1.pom.md5
> >20-May-2012
> 16:3332 [image: [
> ]]components-pom-1.0.2-20120519.090019-1.pom.sha1<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-1.pom.sha1
> >20-May-2012
> 16:3340 [image: [
> ]]components-pom-1.0.2-20120519.090019-2.pom<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-2.pom
> >20-May-2012
> 18:1315K [image: [
> ]]components-pom-1.0.2-20120519.090019-2.pom.md5<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-2.pom.md5
> >20-May-2012
> 18:1332 [image: [
> ]]components-pom-1.0.2-20120519.090019-2.pom.sha1<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-2.pom.sha1
> >20-May-2012
> 18:1340 [image: [
> ]]components-pom-1.0.2-20120519.090019-3.pom<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-3.pom
> >20-May-2012
> 18:1415K [image: [
> ]]components-pom-1.0.2-20120519.090019-3.pom.md5<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-3.pom.md5
> >20-May-2012
> 18:1432 [image: [
> ]]components-pom-1.0.2-20120519.090019-3.pom.sha1<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-3.pom.sha1
> >20-May-2012
> 18:1440 [image: [
> ]]components-pom-1.0.2-20120519.090019-4.pom<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-4.pom
> >21-May-2012
> 05:0015K [image: [
> ]]components-pom-1.0.2-20120519.090019-4.pom.md5<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-4.pom.md5
> >21-May-2012
> 05:0032 [image: [
> ]]components-pom-1.0.2-20120519.090019-4.pom.sha1<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/components-pom-1.0.2-20120519.090019-4.pom.sha1
> >21-May-2012
> 05:0040 [image: [
> ]]maven-metadata.xml<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/maven-metadata.xml
> >21-May-2012
> 05:00374 [image: [
> ]]maven-metadata.xml.md5<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/maven-metadata.xml.md5
> >21-May-2012
> 05:0032 [image: [
> ]]maven-metadata.xml.sha1<
> http://www.neoarcane.com/maven/repository/com/neoarcane/components/components-pom/1.0.2-SNAPSHOT/maven-metadata.xml.sha1
> >21-May-2012
> 05:0040
>
> any ideas on how I clean this up so I can test with my -SNAPSHOT and don't
> have to release on every code change?
>
> Louis
>
> --
> Dr. Louis Smith, ThD
> Chief Technology Officer, Kyra InfoTech
> Engineer-in-Training, Veteran's Memorial Railroad
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message