You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Joe Bohn <jo...@earthlink.net> on 2008/08/08 03:00:24 UTC

timestamped snapshots

There have recently been issues with the snapshot repository because it 
was running low on space and so any snapshot older than 30 days was 
deleted across the board.  One reason given for the rapid growth in the 
repository size was due to projects using timestamped snapshots.  It was 
stated that using timestamped repos in general was wrong for the apache 
snapshot repo.  Geronimo uses timestamped snapshots.

Myfaces was listed as an example of doing things "the right way" 
(http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/orchestra/myfaces-orchestra-core/1.3-SNAPSHOT/).

Does anybody know how we can remove the timestamps (assuming they are 
not needed for any particular reason)?

Joe

Re: timestamped snapshots

Posted by Donald Woods <dw...@apache.org>.
The following have been updated to use genesis-1.5-SNAPSHOT
	server/trunk
	samples/trunk
	samples/branches/2.1

After I get an updated server 2.2-SNAPSHOT deployed to the snapshot 
repo, I'll take a look at updating the 2.1.3-SNAPSHOT build.


-Donald


Donald Woods wrote:
> I've included the uniqueVersion=false in Genesis 1.5-SNAPSHOT and 
> 2.0-SNAPSHOT and deployed builds for each out to the snapshot repo.
> 
> Working on updating the samples 2.1 branch locally from genesis-1.4 to 
> 1.5-SNAPSHOT to verify we aren't missing anything in the newer genesis 
> code before trying to upgrade any other builds.
> 
> 
> 
> -Donald
> 
> 
> Donald Woods wrote:
>> Yes, you need to set -
>>     <uniqueVersion>false</uniqueVersion>
>> for the snapshot repository, even though this should really be set in 
>> the top-level apache.pom that everyone inherits.
>>
>> For now, the following should be added to the Genesis pom.xml that the 
>> server inherits and into any subproject that doesn't use Genesis as 
>> its parent pom -
>>
>>     <distributionManagement>
>>         <repository>
>>             <id>apache.releases</id>
>>             <name>Apache Release Distribution Repository</name>
>>
>> <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-r
>> sync-repository</url>
>>         </repository>
>>         <snapshotRepository>
>>             <id>apache.snapshots</id>
>>             <name>Apache Development Snapshot Repository</name>
>>
>> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-
>> repository</url>
>>             <uniqueVersion>false</uniqueVersion>
>>         </snapshotRepository>
>>     </distributionManagement>
>>
>>
>> -Donald
>>
>>
>> Joe Bohn wrote:
>>> There have recently been issues with the snapshot repository because 
>>> it was running low on space and so any snapshot older than 30 days 
>>> was deleted across the board.  One reason given for the rapid growth 
>>> in the repository size was due to projects using timestamped 
>>> snapshots.  It was stated that using timestamped repos in general was 
>>> wrong for the apache snapshot repo.  Geronimo uses timestamped 
>>> snapshots.
>>>
>>> Myfaces was listed as an example of doing things "the right way" 
>>> (http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/orchestra/myfaces-orchestra-core/1.3-SNAPSHOT/). 
>>>
>>>
>>> Does anybody know how we can remove the timestamps (assuming they are 
>>> not needed for any particular reason)?
>>>
>>> Joe
>>>

Re: timestamped snapshots

Posted by Joe Bohn <jo...@earthlink.net>.
Excellent.  Thanks Donald!

Joe

Donald Woods wrote:
> I've included the uniqueVersion=false in Genesis 1.5-SNAPSHOT and 
> 2.0-SNAPSHOT and deployed builds for each out to the snapshot repo.
> 
> Working on updating the samples 2.1 branch locally from genesis-1.4 to 
> 1.5-SNAPSHOT to verify we aren't missing anything in the newer genesis 
> code before trying to upgrade any other builds.
> 
> 
> 
> -Donald
> 
> 
> Donald Woods wrote:
>> Yes, you need to set -
>>     <uniqueVersion>false</uniqueVersion>
>> for the snapshot repository, even though this should really be set in 
>> the top-level apache.pom that everyone inherits.
>>
>> For now, the following should be added to the Genesis pom.xml that the 
>> server inherits and into any subproject that doesn't use Genesis as 
>> its parent pom -
>>
>>     <distributionManagement>
>>         <repository>
>>             <id>apache.releases</id>
>>             <name>Apache Release Distribution Repository</name>
>>
>> <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-r
>> sync-repository</url>
>>         </repository>
>>         <snapshotRepository>
>>             <id>apache.snapshots</id>
>>             <name>Apache Development Snapshot Repository</name>
>>
>> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-
>> repository</url>
>>             <uniqueVersion>false</uniqueVersion>
>>         </snapshotRepository>
>>     </distributionManagement>
>>
>>
>> -Donald
>>
>>
>> Joe Bohn wrote:
>>> There have recently been issues with the snapshot repository because 
>>> it was running low on space and so any snapshot older than 30 days 
>>> was deleted across the board.  One reason given for the rapid growth 
>>> in the repository size was due to projects using timestamped 
>>> snapshots.  It was stated that using timestamped repos in general was 
>>> wrong for the apache snapshot repo.  Geronimo uses timestamped 
>>> snapshots.
>>>
>>> Myfaces was listed as an example of doing things "the right way" 
>>> (http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/orchestra/myfaces-orchestra-core/1.3-SNAPSHOT/). 
>>>
>>>
>>> Does anybody know how we can remove the timestamps (assuming they are 
>>> not needed for any particular reason)?
>>>
>>> Joe
>>>


Re: timestamped snapshots

Posted by Donald Woods <dw...@apache.org>.
I've included the uniqueVersion=false in Genesis 1.5-SNAPSHOT and 
2.0-SNAPSHOT and deployed builds for each out to the snapshot repo.

Working on updating the samples 2.1 branch locally from genesis-1.4 to 
1.5-SNAPSHOT to verify we aren't missing anything in the newer genesis 
code before trying to upgrade any other builds.



-Donald


Donald Woods wrote:
> Yes, you need to set -
>     <uniqueVersion>false</uniqueVersion>
> for the snapshot repository, even though this should really be set in 
> the top-level apache.pom that everyone inherits.
> 
> For now, the following should be added to the Genesis pom.xml that the 
> server inherits and into any subproject that doesn't use Genesis as its 
> parent pom -
> 
>     <distributionManagement>
>         <repository>
>             <id>apache.releases</id>
>             <name>Apache Release Distribution Repository</name>
> 
> <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-r
> sync-repository</url>
>         </repository>
>         <snapshotRepository>
>             <id>apache.snapshots</id>
>             <name>Apache Development Snapshot Repository</name>
> 
> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-
> repository</url>
>             <uniqueVersion>false</uniqueVersion>
>         </snapshotRepository>
>     </distributionManagement>
> 
> 
> -Donald
> 
> 
> Joe Bohn wrote:
>> There have recently been issues with the snapshot repository because 
>> it was running low on space and so any snapshot older than 30 days was 
>> deleted across the board.  One reason given for the rapid growth in 
>> the repository size was due to projects using timestamped snapshots.  
>> It was stated that using timestamped repos in general was wrong for 
>> the apache snapshot repo.  Geronimo uses timestamped snapshots.
>>
>> Myfaces was listed as an example of doing things "the right way" 
>> (http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/orchestra/myfaces-orchestra-core/1.3-SNAPSHOT/). 
>>
>>
>> Does anybody know how we can remove the timestamps (assuming they are 
>> not needed for any particular reason)?
>>
>> Joe
>>

Re: timestamped snapshots

Posted by Donald Woods <dw...@apache.org>.
Yes, you need to set -
	<uniqueVersion>false</uniqueVersion>
for the snapshot repository, even though this should really be set in 
the top-level apache.pom that everyone inherits.

For now, the following should be added to the Genesis pom.xml that the 
server inherits and into any subproject that doesn't use Genesis as its 
parent pom -

     <distributionManagement>
         <repository>
             <id>apache.releases</id>
             <name>Apache Release Distribution Repository</name>
 
<url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-r
sync-repository</url>
         </repository>
         <snapshotRepository>
             <id>apache.snapshots</id>
             <name>Apache Development Snapshot Repository</name>
 
<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-
repository</url>
             <uniqueVersion>false</uniqueVersion>
         </snapshotRepository>
     </distributionManagement>


-Donald


Joe Bohn wrote:
> There have recently been issues with the snapshot repository because it 
> was running low on space and so any snapshot older than 30 days was 
> deleted across the board.  One reason given for the rapid growth in the 
> repository size was due to projects using timestamped snapshots.  It was 
> stated that using timestamped repos in general was wrong for the apache 
> snapshot repo.  Geronimo uses timestamped snapshots.
> 
> Myfaces was listed as an example of doing things "the right way" 
> (http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/orchestra/myfaces-orchestra-core/1.3-SNAPSHOT/). 
> 
> 
> Does anybody know how we can remove the timestamps (assuming they are 
> not needed for any particular reason)?
> 
> Joe
>