<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>groovity-parent</artifactId> <groupId>com.disney.groovity</groupId> <version>2.0.0-rc.18</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>groovity-sample-jar</artifactId> <name>Groovity jar runner sample</name> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <transformers> <transformer> <mainClass>com.disney.groovity.jarrunner.GroovityJarRunner</mainClass> </transformer> <transformer> <resource>groovity/manifest</resource> </transformer> <transformer /> </transformers> </configuration> </plugin> <plugin> <groupId>com.disney.groovity</groupId> <artifactId>groovity-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution> <id>groovityTest</id> <goals> <goal>test</goal> </goals> </execution> <execution> <id>groovityPackage</id> <goals> <goal>package</goal> </goals> </execution> <execution> <id>default-cli</id> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>/Users/alex/git/groovity-oss/groovity/target/checkout/groovity-sample-jar/src/main/groovity/</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <inherited>true</inherited> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.4</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> <execution> <id>aggregate</id> <phase>site</phase> <goals> <goal>aggregate</goal> </goals> <configuration> <sourceFileExcludes> <sourceFileExclude>Stub.java</sourceFileExclude> </sourceFileExcludes> </configuration> </execution> </executions> <inherited>true</inherited> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> </dependencies> </project>
<dependency> <groupId>com.disney.groovity</groupId> <artifactId>groovity-sample-jar</artifactId> <version>2.0.0-rc.18</version> </dependency>
com.disney.groovity:groovity-sample-jar:2.0.0-rc.18