update project and use retrolambda...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2015-09-06 09:59:22 +08:00
parent 0b3105297a
commit a4ec76fc5f
2 changed files with 51 additions and 31 deletions

View File

@ -27,5 +27,10 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>

77
pom.xml
View File

@ -14,37 +14,52 @@
<filtering>true</filtering> <filtering>true</filtering>
</resource> </resource>
</resources> </resources>
<plugins> <pluginManagement>
<plugin> <plugins>
<artifactId>maven-compiler-plugin</artifactId> <plugin>
<version>3.1</version> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <version>3.1</version>
<source>1.8</source> <configuration>
<target>1.8</target> <source>1.8</source>
</configuration> <target>1.8</target>
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-shade-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>2.3</version> <artifactId>maven-shade-plugin</artifactId>
<configuration> <version>2.3</version>
<minimizeJar>true</minimizeJar> <configuration>
<artifactSet> <minimizeJar>true</minimizeJar>
<includes> <artifactSet>
<include>cn.citycraft:PluginHelper</include> <includes>
</includes> <include>cn.citycraft:PluginHelper</include>
</artifactSet> </includes>
</configuration> </artifactSet>
<executions> </configuration>
<execution> <executions>
<phase>package</phase> <execution>
<goals> <phase>package</phase>
<goal>shade</goal> <goals>
</goals> <goal>shade</goal>
</execution> </goals>
</executions> </execution>
</plugin> </executions>
</plugins> </plugin>
<plugin>
<groupId>net.orfjackal.retrolambda</groupId>
<artifactId>retrolambda-maven-plugin</artifactId>
<version>2.0.5</version>
<executions>
<execution>
<goals>
<goal>process-main</goal>
<goal>process-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
<repositories> <repositories>
<repository> <repository>