Skip to content

SNAPSHOT

Alessandro Vurro edited this page Nov 18, 2016 · 1 revision

It can happen that users need a fix on the fly, becoming necessary the creation of a SNAPSHOT, to use them the following settings are required.

##Maven

in settings.xml

<profiles>
  <profile>
     <id>allow-snapshots</id>
        <activation><activeByDefault>true</activeByDefault></activation>
     <repositories>
       <repository>
         <id>snapshots-repo</id>
         <url>https://oss.sonatype.org/content/repositories/snapshots</url>
         <releases><enabled>false</enabled></releases>
         <snapshots><enabled>true</enabled></snapshots>
       </repository>
     </repositories>
   </profile>
</profiles>

##Gradle

repositories {
    maven {
        url "https://oss.sonatype.org/content/repositories/snapshots"
    }
}
Clone this wiki locally