| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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> |
| <groupId>org.superbiz.applet</groupId> |
| <artifactId>applet</artifactId> |
| <packaging>war</packaging> |
| <version>1.1.0-SNAPSHOT</version> |
| <name>OpenEJB :: Web Examples :: Signed Applet EJB Client</name> |
| <url>http://tomee.apache.org</url> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>6.0-2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-client</artifactId> |
| <version>5.0.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <finalName>applet</finalName> |
| <pluginManagement> |
| <plugins> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId>
|
| <version>3.1</version> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>tomcat-maven-plugin</artifactId> |
| <version>1.0-beta-1</version> |
| <configuration> |
| <url>http://localhost:8080/manager/html</url> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.5</version> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <jar destfile="${project.build.directory}/${project.build.finalName}/app.jar" basedir="target/classes"/> |
| <signjar jar="${project.build.directory}/${project.build.finalName}/app.jar" alias="mykey" |
| storepass="openejb"/> |
| <signjar jar="${project.build.directory}/${project.build.finalName}/openejb-client.jar" alias="mykey" |
| storepass="openejb"/> |
| <signjar jar="${project.build.directory}/${project.build.finalName}/javaee-api.jar" alias="mykey" |
| storepass="openejb"/> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-client</artifactId> |
| <version>5.0.0-SNAPSHOT</version> |
| <outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory> |
| <destFileName>openejb-client.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>7.0-SNAPSHOT</version> |
| <outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory> |
| <destFileName>javaee-api.jar</destFileName> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <!-- |
| This section allows you to configure where to publish libraries for sharing. |
| It is not required and may be deleted. For more information see: |
| http://maven.apache.org/plugins/maven-deploy-plugin/ |
| --> |
| <distributionManagement> |
| <repository> |
| <id>localhost</id> |
| <url>file://${basedir}/target/repo/</url> |
| </repository> |
| <snapshotRepository> |
| <id>localhost</id> |
| <url>file://${basedir}/target/snapshot-repo/</url> |
| </snapshotRepository> |
| </distributionManagement> |
| </project> |