Defines new java8-plugin to support Java 8
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/6471eec0 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/6471eec0 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/6471eec0 Branch: refs/heads/master Commit: 6471eec0abcc90244eb9094b0e021aa5438f27b9 Parents: 6774e84 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Sat Dec 20 21:44:43 2014 +0100 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Sat Dec 20 21:44:43 2014 +0100 ---------------------------------------------------------------------- plugins/java8-support/pom.xml | 61 ++++++++++++++++++++++++++++++++++++++ plugins/pom.xml | 1 + 2 files changed, 62 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/6471eec0/plugins/java8-support/pom.xml ---------------------------------------------------------------------- diff --git a/plugins/java8-support/pom.xml b/plugins/java8-support/pom.xml new file mode 100644 index 0000000..b692864 --- /dev/null +++ b/plugins/java8-support/pom.xml @@ -0,0 +1,61 @@ +<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"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.struts</groupId> + <artifactId>struts2-plugins</artifactId> + <version>2.3.21-SNAPSHOT</version> + </parent> + + <artifactId>struts2-java8-support-plugin</artifactId> + <packaging>jar</packaging> + <name>Struts 2 Java 8 support plugin</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Bundle-Activator>org.apache.struts2.osgi.StrutsActivator</Bundle-Activator> + <manifestLocation>META-INF</manifestLocation> + </instructions> + </configuration> + </plugin> + </plugins> + + </build> + + <dependencies> + <dependency> + <groupId>org.apache.struts.xwork</groupId> + <artifactId>xwork-core</artifactId> + <exclusions> + <exclusion> + <groupId>asm</groupId> + <artifactId>asm</artifactId> + </exclusion> + <exclusion> + <groupId>asm</groupId> + <artifactId>asm-commons</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-commons</artifactId> + </dependency> + </dependencies> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> +</project> http://git-wip-us.apache.org/repos/asf/struts/blob/6471eec0/plugins/pom.xml ---------------------------------------------------------------------- diff --git a/plugins/pom.xml b/plugins/pom.xml index 55d4737..d12b17c 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -43,6 +43,7 @@ <module>embeddedjsp</module> <module>gxp</module> <module>jasperreports</module> + <module>java8-support</module> <module>javatemplates</module> <module>jfreechart</module> <module>jsf</module>