| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
Copyright (C) 2009-2011 FuseSource Corp. |
| 4 |
http://fusesource.com |
| 5 |
|
| 6 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 |
you may not use this file except in compliance with the License. |
| 8 |
You may obtain a copy of the License at |
| 9 |
|
| 10 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
|
| 12 |
Unless required by applicable law or agreed to in writing, software |
| 13 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 14 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 |
See the License for the specific language governing permissions and |
| 16 |
limitations under the License. |
| 17 |
--> |
| 18 |
<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"> |
| 19 |
<modelVersion>4.0.0</modelVersion> |
| 20 |
|
| 21 |
<parent> |
| 22 |
<groupId>org.fusesource.hawtjni</groupId> |
| 23 |
<artifactId>hawtjni-project</artifactId> |
| 24 |
<version>1.18</version> |
| 25 |
</parent> |
| 26 |
|
| 27 |
<artifactId>hawtjni-generator</artifactId> |
| 28 |
|
| 29 |
<name>HawtJNI Generator</name> |
| 30 |
<description>This module contains the JNI code generation tools.</description> |
| 31 |
|
| 32 |
<dependencies> |
| 33 |
<dependency> |
| 34 |
<groupId>org.fusesource.hawtjni</groupId> |
| 35 |
<artifactId>hawtjni-runtime</artifactId> |
| 36 |
<version>${project.version}</version> |
| 37 |
</dependency> |
| 38 |
<dependency> |
| 39 |
<artifactId>xbean-finder</artifactId> |
| 40 |
<groupId>org.apache.xbean</groupId> |
| 41 |
<version>4.16</version> |
| 42 |
</dependency> |
| 43 |
<dependency> |
| 44 |
<groupId>org.ow2.asm</groupId> |
| 45 |
<artifactId>asm</artifactId> |
| 46 |
<version>8.0.1</version> |
| 47 |
</dependency> |
| 48 |
<dependency> |
| 49 |
<groupId>org.ow2.asm</groupId> |
| 50 |
<artifactId>asm-commons</artifactId> |
| 51 |
<version>8.0.1</version> |
| 52 |
</dependency> |
| 53 |
<!-- |
| 54 |
<dependency> |
| 55 |
<groupId>org.apache.commons</groupId> |
| 56 |
<artifactId>commons-lang3</artifactId> |
| 57 |
<version>3.10</version> |
| 58 |
</dependency> |
| 59 |
--> |
| 60 |
<dependency> |
| 61 |
<groupId>commons-cli</groupId> |
| 62 |
<artifactId>commons-cli</artifactId> |
| 63 |
<version>1.0</version> |
| 64 |
</dependency> |
| 65 |
</dependencies> |
| 66 |
|
| 67 |
<build> |
| 68 |
<plugins> |
| 69 |
<!-- include all the dependencies into the jar so it can run standalone --> |
| 70 |
<plugin> |
| 71 |
<groupId>org.apache.maven.plugins</groupId> |
| 72 |
<artifactId>maven-shade-plugin</artifactId> |
| 73 |
<version>3.2.3</version> |
| 74 |
<executions> |
| 75 |
<execution> |
| 76 |
<phase>package</phase> |
| 77 |
<goals> |
| 78 |
<goal>shade</goal> |
| 79 |
</goals> |
| 80 |
<configuration> |
| 81 |
<artifactSet> |
| 82 |
<excludes> |
| 83 |
<exclude>junit:junit</exclude> |
| 84 |
</excludes> |
| 85 |
</artifactSet> |
| 86 |
<filters> |
| 87 |
<filter> |
| 88 |
<artifact>*:*</artifact> |
| 89 |
<excludes> |
| 90 |
<exclude>META-INF/DEPENDENCIES</exclude> |
| 91 |
<exclude>META-INF/LICENSE*</exclude> |
| 92 |
<exclude>META-INF/NOTICE</exclude> |
| 93 |
<exclude>META-INF/MANIFEST.MF</exclude> |
| 94 |
<exclude>module-info.class</exclude> |
| 95 |
</excludes> |
| 96 |
</filter> |
| 97 |
<filter> |
| 98 |
<artifact>org.apache.xbean:xbean-finder</artifact> |
| 99 |
<excludes> |
| 100 |
<exclude>org/apache/xbean/asm7/original/commons/AsmConstants.class</exclude> |
| 101 |
<exclude>org/apache/xbean/asm7/original/commons/EmptyVisitor*</exclude> |
| 102 |
</excludes> |
| 103 |
</filter> |
| 104 |
</filters> |
| 105 |
</configuration> |
| 106 |
</execution> |
| 107 |
</executions> |
| 108 |
</plugin> |
| 109 |
</plugins> |
| 110 |
</build> |
| 111 |
</project> |