|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>org.company</groupId> |
| 8 | + <artifactId>emoji</artifactId> |
| 9 | + <version>0.0.1-SNAPSHOT</version> |
| 10 | + <packaging>jar</packaging> |
| 11 | + |
| 12 | + <!-- |
| 13 | + WARNING: When using a -SNAPSHOT version of Golo you may have issues resolving artifacts from public repositories. |
| 14 | + --> |
| 15 | + |
| 16 | + <properties> |
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | + <golo.version>3.2.0-M5</golo.version> |
| 19 | + </properties> |
| 20 | + |
| 21 | + <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>org.eclipse.golo</groupId> |
| 24 | + <artifactId>golo</artifactId> |
| 25 | + <version>${golo.version}</version> |
| 26 | + </dependency> |
| 27 | + </dependencies> |
| 28 | + |
| 29 | + <build> |
| 30 | + <defaultGoal>clean test compile assembly:single</defaultGoal> |
| 31 | + <plugins> |
| 32 | + <plugin> |
| 33 | + <groupId>org.apache.maven.plugins</groupId> |
| 34 | + <artifactId>maven-compiler-plugin</artifactId> |
| 35 | + <version>3.0</version> |
| 36 | + <configuration> |
| 37 | + <source>1.7</source> |
| 38 | + <target>1.7</target> |
| 39 | + </configuration> |
| 40 | + </plugin> |
| 41 | + <plugin> |
| 42 | + <groupId>org.eclipse.golo</groupId> |
| 43 | + <artifactId>golo-maven-plugin</artifactId> |
| 44 | + <version>${golo.version}</version> |
| 45 | + <executions> |
| 46 | + <execution> |
| 47 | + <phase>compile</phase> |
| 48 | + <goals> |
| 49 | + <goal>goloc</goal> |
| 50 | + </goals> |
| 51 | + </execution> |
| 52 | + </executions> |
| 53 | + </plugin> |
| 54 | + <plugin> |
| 55 | + <groupId>org.codehaus.mojo</groupId> |
| 56 | + <artifactId>exec-maven-plugin</artifactId> |
| 57 | + <version>1.1</version> |
| 58 | + <executions> |
| 59 | + <execution><goals><goal>java</goal></goals></execution> |
| 60 | + </executions> |
| 61 | + <configuration> |
| 62 | + <mainClass>org.typeunsafe.emoji</mainClass> |
| 63 | + </configuration> |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-assembly-plugin</artifactId> |
| 68 | + <version>2.4</version> |
| 69 | + <configuration> |
| 70 | + <archive> |
| 71 | + <manifest> |
| 72 | + <mainClass>org.typeunsafe.emoji</mainClass> |
| 73 | + </manifest> |
| 74 | + </archive> |
| 75 | + <descriptorRefs> |
| 76 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 77 | + </descriptorRefs> |
| 78 | + </configuration> |
| 79 | + <executions> |
| 80 | + <execution> |
| 81 | + <id>make-my-jar-with-dependencies</id> |
| 82 | + <phase>package</phase> |
| 83 | + <goals> |
| 84 | + <goal>single</goal> |
| 85 | + </goals> |
| 86 | + </execution> |
| 87 | + </executions> |
| 88 | + </plugin> |
| 89 | + </plugins> |
| 90 | + </build> |
| 91 | + |
| 92 | + <repositories> |
| 93 | + <repository> |
| 94 | + <id>bintray</id> |
| 95 | + <name>Bintray</name> |
| 96 | + <url>https://jcenter.bintray.com</url> |
| 97 | + </repository> |
| 98 | + </repositories> |
| 99 | + |
| 100 | + <pluginRepositories> |
| 101 | + <pluginRepository> |
| 102 | + <id>bintray</id> |
| 103 | + <name>Bintray</name> |
| 104 | + <url>https://jcenter.bintray.com</url> |
| 105 | + </pluginRepository> |
| 106 | + </pluginRepositories> |
| 107 | + |
| 108 | +</project> |
0 commit comments