| <?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> |
| <groupId>org.apache.mnemonic</groupId> |
| <artifactId>mnemonic-parent</artifactId> |
| <version>0.14.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>mnemonic-computing-services</artifactId> |
| <name>mnemonic-computing-services</name> |
| <packaging>pom</packaging> |
| <url>http://mnemonic.apache.org</url> |
| |
| <properties> |
| <service.basedir>${project.parent.basedir}</service.basedir> |
| </properties> |
| |
| <modules> |
| <module>mnemonic-utilities-service</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.mnemonic</groupId> |
| <artifactId>mnemonic-core</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mnemonic</groupId> |
| <artifactId>mnemonic-collections</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.flowcomputing.commons</groupId> |
| <artifactId>commons-primitives</artifactId> |
| </dependency> |
| <!-- logging dependencies --> |
| <!-- assume all APIs will be used --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <extensions> |
| <extension> |
| <groupId>kr.motd.maven</groupId> |
| <artifactId>os-maven-plugin</artifactId> |
| <version>1.4.0.Final</version> |
| </extension> |
| </extensions> |
| <plugins> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.0.2</version> |
| <configuration> |
| <forceCreation>true</forceCreation> |
| <archive> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.4.3</version> |
| <configuration> |
| <minimizeJar>true</minimizeJar> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <includes> |
| </includes> |
| <excludes> |
| <exclude>META-INFO/**/**</exclude> |
| <exclude>META-INFO/services/**</exclude> |
| <exclude>META-INFO/maven/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <outputDirectory>${service.basedir}/service-dist</outputDirectory> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>${os.detected.classifier}</shadedClassifierName> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.bsc.maven</groupId> |
| <artifactId>maven-processor-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>process-test</id> |
| <goals> |
| <goal>process-test</goal> |
| </goals> |
| <phase>generate-test-sources</phase> |
| <configuration> |
| <compilerArguments>-XDenableSunApiLintControl</compilerArguments> |
| <processors> |
| <processor>${project.groupId}.DurableEntityProcessor</processor> |
| </processors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| </project> |