| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>batchee-tools</artifactId> |
| <groupId>org.apache.batchee</groupId> |
| <version>0.3-incubating</version> |
| </parent> |
| |
| <artifactId>batchee-cli</artifactId> |
| <name>BatchEE :: Tools :: CLI</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jbatch_1.0_spec</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.batchee</groupId> |
| <artifactId>batchee-jbatch</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.batchee</groupId> |
| <artifactId>batchee-jaxrs-client</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.4</version> |
| </dependency> |
| |
| <!-- for lifecycles --> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-core</artifactId> |
| <version>4.7.1</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-api</artifactId> |
| <version>0.6</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>4.0.0.RELEASE</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.github.stefanbirkner</groupId> |
| <artifactId>system-rules</artifactId> |
| <version>1.6.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <id>boostrap-jar</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>**/jul/*</include> |
| <include>**/bootstrap/*</include> |
| <include>**/classloader/*</include> |
| </includes> |
| <classifier>bootstrap</classifier> |
| </configuration> |
| </execution> |
| <execution> |
| <id>runner-jar</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>**/bootstrap/*</exclude> |
| <exclude>**/classloader/*</exclude> |
| </excludes> |
| <classifier>runner</classifier> |
| </configuration> |
| </execution> |
| <execution> |
| <id>normal-jar</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.2</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>bundle</shadedClassifierName> |
| <artifactSet> |
| <excludes> |
| <exclude>org.springframework:*</exclude> |
| <exclude>org.apache.geronimo.specs:geronimo-ejb_3.1_spec</exclude> |
| <exclude>org.apache.deltaspike.cdictrl:deltaspike-cdictrl-api</exclude> |
| <exclude>org.testng:*</exclude> |
| <exclude>org.junit:*</exclude> |
| <exclude>org.hamcrest:*</exclude> |
| <exclude>com.github.stefanbirkner:*</exclude> |
| <exclude>commons-logging:*</exclude> |
| <exclude>aopalliance:*</exclude> |
| </excludes> |
| </artifactSet> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>org.apache.batchee.cli.BatchEECLI</mainClass> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2.2</version> |
| <executions> |
| <execution> |
| <id>assembly-bin-distributions</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attached</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin.xml</descriptor> |
| </descriptors> |
| <finalName>apache-batchee-${project.version}</finalName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>assembly-bin-openejb-distributions</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attached</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin-openejb.xml</descriptor> |
| </descriptors> |
| <finalName>apache-batchee-openejb-${project.version}</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <appendAssemblyId>false</appendAssemblyId> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.batchee.cli.BatchEECLI</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |