中文 | ENGLISH

OpooPress

A java based static website generator.

How to use OpooPress snapshots

The stable releases of OpooPress are available from Maven Central, and the snapshot builds are available from Sonatype OSS snapshots repository. So if you want to use OpooPress snapshot builds, you must configure <repositories> and <pluginRepositories> in your pom.xml.

<repositories>
    <repository>
        <id>sonatype-nexus-snapshots</id>
        <name>Sonatype Nexus Snapshots</name>
        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories> 

<pluginRepositories>
    <pluginRepository>
        <id>sonatype-nexus-snapshots</id>
        <name>Sonatype Nexus Snapshots</name>
        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </pluginRepository>
</pluginRepositories>

The full content of a demo pom.xml could be get from:

  1. http://www.opoopress.com/downloads/pom-SNAPSHOT.xml
  2. If you have cloned opoopress-site repository, please update (git pull) it, and check pom-SNAPSHOT.xml in the project root directory
  3. The pom.xml provided by OpooPress before has configured the <repositories> and <pluginRepositories> and commented. All you need is uncommenting them.

Also see

Comments