ice-boar
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.roche</groupId> <artifactId>ice-boar</artifactId> <version>1.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ ***************************************************************************** ~ * Copyright © 2015 Hoffmann-La Roche ~ * ~ * Licensed under the Apache License, Version 2.0 (the "License"); ~ * you may not use this file except in compliance with the License. ~ * You may obtain a copy of the License at ~ * ~ * http://www.apache.org/licenses/LICENSE-2.0 ~ * ~ * Unless required by applicable law or agreed to in writing, software ~ * distributed under the License is distributed on an "AS IS" BASIS, ~ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ * See the License for the specific language governing permissions and ~ * limitations under the License. ~ ***************************************************************************** --> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <!-- This artifact does not inherit from the parent pom and it is the only one deployed to the maven repository. --> <!-- For usages of Ice Boar see ice-boar-samples project. --> <groupId>com.roche</groupId> <artifactId>ice-boar</artifactId> <version>1.0</version> <name>Ice Boar</name> <description> Helper for running a Java standalone application using Java Web Start (JNLP) with a custom version of JRE. </description> <url>https://github.com/Roche/IceBoar</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <properties> <entry.class>com.roche.iceboar.IceBoar</entry.class> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <dependencies> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.2</version> <!--This version is compatible with java 1.5--> </dependency> <dependency> <groupId>net.lingala.zip4j</groupId> <artifactId>zip4j</artifactId> <version>1.3.2</version> </dependency> <dependency> <groupId>com.apple</groupId> <artifactId>AppleJavaExtensions</artifactId> <version>1.4</version> </dependency> <!-- For BasicService --> <dependency> <groupId>javax.jnlp</groupId> <artifactId>jnlp-api</artifactId> <version>7.0</version> <scope>system</scope> <systemPath>${java.home}/lib/javaws.jar</systemPath> </dependency> <!-- test dependencies --> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>1.9.5</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>1.7.0</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <!--Add custom Manifest to Jar--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <!-- Settings only for Jar without dependencies --> <archive> <addMavenDescriptor>true</addMavenDescriptor> <manifestEntries> <Permissions>all-permissions</Permissions> <Built-By></Built-By> <Build-Jdk></Build-Jdk> <Created-By></Created-By> <Archiver-Version></Archiver-Version> <Application-Name>Ice Boar</Application-Name> </manifestEntries> <manifest> <mainClass>${entry.class}</mainClass> </manifest> </archive> <finalName>${project.artifactId}</finalName> </configuration> </plugin> <!-- Build Jar with all dependencies--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <configuration> <!-- This is copy paste from maven-jar-plugin, but this settings go only to jar with dependencies --> <archive> <addMavenDescriptor>true</addMavenDescriptor> <manifestEntries> <Permissions>all-permissions</Permissions> <Built-By></Built-By> <Build-Jdk></Build-Jdk> <Created-By></Created-By> <Archiver-Version></Archiver-Version> <Application-Name>Ice Boar</Application-Name> </manifestEntries> <manifest> <mainClass>${entry.class}</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <appendAssemblyId>true</appendAssemblyId> </configuration> <!-- Execute build Jar with dependencies by package phase to build it automatic --> <executions> <execution> <id>make-assembly</id> <!-- this is used for inheritance merges --> <phase>package</phase> <!-- bind to the packaging phase --> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <!-- Generate a javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <show>public</show> <doctitle><h1>Welcome to Ice Boar</h1> <p><img src="resources/ice-boar-logo.png"/> <p>How it works?</p> <p><img src="resources/ice-boar-sequence-diagram.png"/></p> <br> <br> <h2> <p>If you need more technical details please read <a href="https://github.com/Roche/IceBoar" target="_blank" >Project page</a>.</p> <p>Main entry point is <a href="com/roche/iceboar/IceBoar.html">IceBoar</a> class.</p> <p>Another interesting class is <a href="com/roche/iceboar/settings/GlobalSettings.html">GlobalSettings</a></p> </h2> </doctitle> <docfilessubdirs>true</docfilessubdirs> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> <!-- Generate a Jar with sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.5.201505241946</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <developers> <developer> <name>Marcin Stachniuk</name> <email>marcin.stachniuk@contractors.roche.com</email> <organization>F. Hoffmann-La Roche</organization> <organizationUrl>http://www.roche.com/</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git@github.com:Roche/IceBoar</connection> <developerConnection>scm:git:git@github.com:Roche/IceBoar</developerConnection> <url>git@github.com:Roche/IceBoar</url> </scm> <distributionManagement> <repository> <id>bintray-stachnim-IceBoar</id> <name>stachnim-IceBoar</name> <url>https://api.bintray.com/maven/stachnim/IceBoar/com.roche/;publish=1</url> </repository> <snapshotRepository> <id>oss-jfrog-artifactory</id> <name>oss-jfrog-artifactory-snapshots</name> <url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url> </snapshotRepository> </distributionManagement> </project>