[maven-release-plugin] prepare release org.apache.servicemix.bundles.spring-instrumen...
[servicemix-bundles.git] / spring-instrument-4.3.14.RELEASE / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3
4 <!--
5
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 -->
21
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
25 <groupId>org.apache.servicemix.bundles</groupId>
26 <artifactId>bundles-pom</artifactId>
27 <version>13</version>
28 <relativePath>../bundles-pom/pom.xml</relativePath>
29 </parent>
30
31 <groupId>org.apache.servicemix.bundles</groupId>
32 <artifactId>org.apache.servicemix.bundles.spring-instrument</artifactId>
33 <version>4.3.14.RELEASE_1</version>
34 <packaging>bundle</packaging>
35 <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
36
37 <scm>
38 <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection>
39 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
40 <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url>
41 <tag>org.apache.servicemix.bundles.spring-instrument-4.3.14.RELEASE_1</tag>
42 </scm>
43
44 <properties>
45 <pkgGroupId>org.springframework</pkgGroupId>
46 <pkgArtifactId>spring-instrument</pkgArtifactId>
47 <pkgVersion>4.3.14.RELEASE</pkgVersion>
48 <servicemix.osgi.export.pkg>
49 org.springframework
50 </servicemix.osgi.export.pkg>
51 <servicemix.osgi.import.pkg>
52
53 </servicemix.osgi.import.pkg>
54 </properties>
55
56 <dependencies>
57 <dependency>
58 <groupId>${pkgGroupId}</groupId>
59 <artifactId>${pkgArtifactId}</artifactId>
60 <version>${pkgVersion}</version>
61 </dependency>
62
63 <!-- sources -->
64 <dependency>
65 <groupId>${pkgGroupId}</groupId>
66 <artifactId>${pkgArtifactId}</artifactId>
67 <version>${pkgVersion}</version>
68 <classifier>sources</classifier>
69 </dependency>
70 </dependencies>
71
72 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-shade-plugin</artifactId>
77 <executions>
78 <execution>
79 <phase>package</phase>
80 <goals>
81 <goal>shade</goal>
82 </goals>
83 <configuration>
84 <artifactSet>
85 <includes>
86 <include>${pkgGroupId}:${pkgArtifactId}</include>
87 </includes>
88 </artifactSet>
89 <filters>
90 <filter>
91 <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
92 <excludes>
93 <exclude>**/*</exclude>
94 </excludes>
95 </filter>
96 </filters>
97 <transformers>
98 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
99 <manifestEntries>
100 <Premain-Class>org.springframework.instrument.InstrumentationSavingAgent</Premain-Class>
101 <Agent-Class>org.springframework.instrument.InstrumentationSavingAgent</Agent-Class>
102 <Can-Redefine-Classes>true</Can-Redefine-Classes>
103 <Can-Retransform-Classes>true</Can-Retransform-Classes>
104 <Can-Set-Native-Method-Prefix>false</Can-Set-Native-Method-Prefix>
105 </manifestEntries>
106 </transformer>
107 </transformers>
108 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
109 <createDependencyReducedPom>true</createDependencyReducedPom>
110 </configuration>
111 </execution>
112 </executions>
113 </plugin>
114 </plugins>
115 </build>
116 </project>