Freeze SNAPSHOT

View: New views
1 Messages — Rating Filter:   Alert me  

Freeze SNAPSHOT

by huser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

We have a situation here which is due to bad practice that we followed during DEV. All the releases were made using 1.0-SNAPSHOT version for components/dependencies etc. Going forward we are going to fix it.

However, we dont want anyone to publish changes to 1.0-SNAPSHOT. How can I freeze/read-only 1.0-SNAPSHOT dir across all my project services. I tried changing the permissions to 555 for 1.0-SNAPSHOT in a service. When I run a build from Hudson, it still gets updated. settings.xml from Hudson is:



<servers>
                <server>
                        <id>snapshots</id>
                        <username>abcscm</username>
                        <password>piglet</password>
                        <filePermissions>664</filePermissions>
                        <directoryPermissions>775</directoryPermissions>
                </server>
                <server>
                        <id>releases</id>
                        <username>abcscm</username>
                        <password>piglet</password>
                        <filePermissions>664</filePermissions>
                        <directoryPermissions>775</directoryPermissions>
                </server>