Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <groupId>org.openecomp.sdc</groupId> |
| 5 | <artifactId>dmaap-publisher</artifactId> |
| 6 | <version>1.0.0</version> |
| 7 | |
| 8 | |
| 9 | <properties> |
| 10 | <fasterxml.jackson.version>2.8.6</fasterxml.jackson.version> |
| 11 | </properties> |
| 12 | |
| 13 | <dependencies> |
| 14 | <!--spock testing--> |
| 15 | <dependency> |
| 16 | <groupId>org.spockframework</groupId> |
| 17 | <artifactId>spock-core</artifactId> |
| 18 | <version>1.1-groovy-2.4</version> |
| 19 | <scope>test</scope> |
| 20 | </dependency> |
| 21 | <!--groovy--> |
| 22 | <dependency> |
| 23 | <groupId>org.codehaus.groovy</groupId> |
| 24 | <artifactId>groovy</artifactId> |
| 25 | <version>2.4.11</version> |
| 26 | </dependency> |
| 27 | |
| 28 | <dependency> |
| 29 | <groupId>org.apache.commons</groupId> |
| 30 | <artifactId>commons-lang3</artifactId> |
| 31 | <version>3.7</version> |
| 32 | </dependency> |
| 33 | <dependency> |
| 34 | <groupId>com.att.nsa</groupId> |
| 35 | <artifactId>dmaapClient</artifactId> |
| 36 | <version>0.2.16</version> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.slf4j</groupId> |
| 40 | <artifactId>slf4j-api</artifactId> |
| 41 | <version>1.7.25</version> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>args4j</groupId> |
| 45 | <artifactId>args4j</artifactId> |
| 46 | <version>2.33</version> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>com.google.guava</groupId> |
| 50 | <artifactId>guava</artifactId> |
| 51 | <version>22.0</version> |
| 52 | </dependency> |
| 53 | <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml --> |
| 54 | <dependency> |
| 55 | <groupId>org.yaml</groupId> |
| 56 | <artifactId>snakeyaml</artifactId> |
| 57 | <version>1.18</version> |
| 58 | </dependency> |
| 59 | |
| 60 | |
| 61 | <dependency> |
| 62 | <groupId>junit</groupId> |
| 63 | <artifactId>junit</artifactId> |
| 64 | <version>4.12</version> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.mockito</groupId> |
| 69 | <artifactId>mockito-core</artifactId> |
| 70 | <version>2.8.47</version> |
| 71 | <scope>test</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.assertj</groupId> |
| 75 | <artifactId>assertj-core</artifactId> |
| 76 | <version>3.8.0</version> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
| 79 | </dependencies> |
| 80 | |
| 81 | <build> |
| 82 | <plugins> |
| 83 | <plugin> |
| 84 | <groupId>org.apache.maven.plugins</groupId> |
| 85 | <artifactId>maven-compiler-plugin</artifactId> |
| 86 | <version>3.6.1</version> |
| 87 | <configuration> |
| 88 | <source>1.8</source> |
| 89 | <target>1.8</target> |
| 90 | </configuration> |
| 91 | </plugin> |
| 92 | <plugin> |
| 93 | <groupId>org.apache.maven.plugins</groupId> |
| 94 | <artifactId>maven-shade-plugin</artifactId> |
| 95 | <version>3.0.0</version> |
| 96 | <configuration> |
| 97 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 98 | <filters> |
| 99 | <filter> |
| 100 | <artifact>*:*</artifact> |
| 101 | <excludes> |
| 102 | <exclude>META-INF/*.SF</exclude> |
| 103 | <exclude>META-INF/*.DSA</exclude> |
| 104 | <exclude>META-INF/*.RSA</exclude> |
| 105 | </excludes> |
| 106 | </filter> |
| 107 | </filters> |
| 108 | </configuration> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <phase>package</phase> |
| 112 | <goals> |
| 113 | <goal>shade</goal> |
| 114 | </goals> |
| 115 | <configuration> |
| 116 | <transformers> |
| 117 | <transformer |
| 118 | implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 119 | <transformer |
| 120 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 121 | <mainClass>org.openecomp.sdc.dmaap.DmaapPublisher</mainClass> |
| 122 | </transformer> |
| 123 | </transformers> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
| 128 | |
| 129 | </plugins> |
| 130 | </build> |
| 131 | </project> |