Milton artefacts are available from milton's own Maven repository at http://milton.io/maven, and you might want to add a property for the milton version:

    <distributionManagement>
        <repository>
            <id>ettrema-repo</id>
            <url>http://milton.io/maven</url>
        </repository>
    </distributionManagement>

    <properties>
        <milton.version>2.4.1.2</milton.version>
    </properties> 

       

Add the milton API as follows

        <dependency>
            <groupId>io.milton</groupId>
            <artifactId>milton-api</artifactId>
            <version>${milton.version}</version>
        </dependency>

 

 

To use the community edition runtime, add it as follows, including a SL4J runtime:

        <dependency>
            <groupId>io.milton</groupId>
            <artifactId>milton-server-ce</artifactId>
            <version>${milton.version}</version>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.6.1</version>
        </dependency>

To use the enterprise edition runtime, add it as follows. Note you must also get license files (free trial is available)

        <dependency>
            <groupId>io.milton</groupId>
            <artifactId>milton-server-ent</artifactId>
            <version>${milton.version}</version>
        </dependency>
 

Ask a question, or offer an answer