| 1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
|---|
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|---|
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|---|
| 4 | <modelVersion>4.0.0</modelVersion>
|
|---|
| 5 | <groupId>org.cactusman.posster</groupId>
|
|---|
| 6 | <artifactId>postter</artifactId>
|
|---|
| 7 | <packaging>jar</packaging>
|
|---|
| 8 | <version>0.1.2-SNAPSHOT</version>
|
|---|
| 9 | <name>postter</name>
|
|---|
| 10 | <!-- url>http://maven.apache.org</url -->
|
|---|
| 11 |
|
|---|
| 12 | <repositories>
|
|---|
| 13 | <repository>
|
|---|
| 14 | <id>java.net2</id>
|
|---|
| 15 | <url>http://download.java.net/maven/2</url>
|
|---|
| 16 | </repository>
|
|---|
| 17 | <repository>
|
|---|
| 18 | <id>java.net2-backup</id>
|
|---|
| 19 | <url>http://maven.dyndns.org/2</url>
|
|---|
| 20 | </repository>
|
|---|
| 21 | <repository>
|
|---|
| 22 | <id>yusuke.homeip.net</id>
|
|---|
| 23 | <name>yusuke.homeip.net Repository</name>
|
|---|
| 24 | <url>http://yusuke.homeip.net/maven2</url>
|
|---|
| 25 | </repository>
|
|---|
| 26 | </repositories>
|
|---|
| 27 | <build>
|
|---|
| 28 | <plugins>
|
|---|
| 29 | <plugin>
|
|---|
| 30 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 31 | <artifactId>maven-compiler-plugin</artifactId>
|
|---|
| 32 | <configuration>
|
|---|
| 33 | <source>1.5</source>
|
|---|
| 34 | <target>1.5</target>
|
|---|
| 35 | <encoding>UTF-8</encoding>
|
|---|
| 36 | </configuration>
|
|---|
| 37 | </plugin>
|
|---|
| 38 | <plugin>
|
|---|
| 39 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 40 | <artifactId>maven-jar-plugin</artifactId>
|
|---|
| 41 | <configuration>
|
|---|
| 42 | <archive>
|
|---|
| 43 | <!--manifestFile>${basedir}/src/main/resources/META-INF/MANIFEST.MF</manifestFile-->
|
|---|
| 44 | <manifest>
|
|---|
| 45 | <mainClass>
|
|---|
| 46 | org.cactusman.postter.Postter
|
|---|
| 47 | </mainClass>
|
|---|
| 48 | <addClasspath>true</addClasspath>
|
|---|
| 49 | </manifest>
|
|---|
| 50 | </archive>
|
|---|
| 51 | </configuration>
|
|---|
| 52 | </plugin>
|
|---|
| 53 | <plugin>
|
|---|
| 54 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 55 | <artifactId>maven-surefire-plugin</artifactId>
|
|---|
| 56 | <version>2.4.2</version>
|
|---|
| 57 | </plugin>
|
|---|
| 58 | <plugin>
|
|---|
| 59 | <groupId>org.apache.maven.plugins</groupId>
|
|---|
| 60 | <artifactId>maven-shade-plugin</artifactId>
|
|---|
| 61 | <executions>
|
|---|
| 62 | <execution>
|
|---|
| 63 | <phase>package</phase>
|
|---|
| 64 | <goals>
|
|---|
| 65 | <goal>shade</goal>
|
|---|
| 66 | </goals>
|
|---|
| 67 | <configuration>
|
|---|
| 68 | <artifactSet>
|
|---|
| 69 | <excludes>
|
|---|
| 70 | <exclude>junit:junit</exclude>
|
|---|
| 71 | </excludes>
|
|---|
| 72 | </artifactSet>
|
|---|
| 73 | </configuration>
|
|---|
| 74 | </execution>
|
|---|
| 75 | </executions>
|
|---|
| 76 | </plugin>
|
|---|
| 77 | </plugins>
|
|---|
| 78 | </build>
|
|---|
| 79 | <dependencies>
|
|---|
| 80 | <dependency>
|
|---|
| 81 | <groupId>args4j</groupId>
|
|---|
| 82 | <artifactId>args4j</artifactId>
|
|---|
| 83 | <version>2.0.8</version>
|
|---|
| 84 | </dependency>
|
|---|
| 85 | <dependency>
|
|---|
| 86 | <groupId>yusuke.homeip.net</groupId>
|
|---|
| 87 | <artifactId>twitter4j</artifactId>
|
|---|
| 88 | <version>1.0.3</version>
|
|---|
| 89 | </dependency>
|
|---|
| 90 | <dependency>
|
|---|
| 91 | <groupId>junit</groupId>
|
|---|
| 92 | <artifactId>junit</artifactId>
|
|---|
| 93 | <version>4.4</version>
|
|---|
| 94 | <scope>test</scope>
|
|---|
| 95 | </dependency>
|
|---|
| 96 | </dependencies>
|
|---|
| 97 | </project>
|
|---|