ensure that java source files are excluded from the shaded activemq-all
jar, these files are included in the uber-src jar
This commit is contained in:
Timothy Bish 2014-06-04 15:10:56 -04:00
parent 6c703ac6ee
commit 35aaed4799
1 changed files with 259 additions and 273 deletions

View File

@ -1,21 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one or more See the NOTICE file distributed with this work for additional information regarding copyright ownership.
contributor license agreements. See the NOTICE file distributed with The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may
this work for additional information regarding copyright ownership. not use this file except in compliance with the License. You may obtain a copy of the License at
The ASF licenses this file to You under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,
(the "License"); you may not use this file except in compliance with software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
the License. You may obtain a copy of the License at CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing
permissions and limitations under the License. -->
http://www.apache.org/licenses/LICENSE-2.0 <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/maven-v4_0_0.xsd">
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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -96,13 +89,11 @@
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<artifactSet> <artifactSet>
<includes> <includes>
<include>${project.groupId}:activemq-client</include> <include>${project.groupId}:activemq-client</include>
<include>${project.groupId}:activemq-openwire-legacy</include> <include>${project.groupId}:activemq-openwire-legacy</include>
<include>${project.groupId}:activemq-camel</include> <include>${project.groupId}:activemq-camel</include>
<include>${project.groupId}:activemq-jaas</include> <include>${project.groupId}:activemq-jaas</include>
<include>${project.groupId}:activemq-broker</include> <include>${project.groupId}:activemq-broker</include>
<include>${project.groupId}:activemq-console</include> <include>${project.groupId}:activemq-console</include>
@ -110,16 +101,13 @@
<include>${project.groupId}:activemq-spring</include> <include>${project.groupId}:activemq-spring</include>
<include>${project.groupId}:activemq-pool</include> <include>${project.groupId}:activemq-pool</include>
<include>${project.groupId}:activemq-jms-pool</include> <include>${project.groupId}:activemq-jms-pool</include>
<include>${project.groupId}:activemq-amqp</include> <include>${project.groupId}:activemq-amqp</include>
<include>${project.groupId}:activemq-http</include> <include>${project.groupId}:activemq-http</include>
<include>${project.groupId}:activemq-mqtt</include> <include>${project.groupId}:activemq-mqtt</include>
<include>${project.groupId}:activemq-stomp</include> <include>${project.groupId}:activemq-stomp</include>
<include>${project.groupId}:activemq-kahadb-store</include> <include>${project.groupId}:activemq-kahadb-store</include>
<include>${project.groupId}:activemq-leveldb-store</include> <include>${project.groupId}:activemq-leveldb-store</include>
<include>${project.groupId}:activemq-jdbc-store</include> <include>${project.groupId}:activemq-jdbc-store</include>
<include>org.apache.activemq.protobuf:activemq-protobuf</include> <include>org.apache.activemq.protobuf:activemq-protobuf</include>
<include>org.fusesource.hawtbuf:hawtbuf</include> <include>org.fusesource.hawtbuf:hawtbuf</include>
<include>org.jasypt:jasypt</include> <include>org.jasypt:jasypt</include>
@ -134,7 +122,12 @@
</artifactSet> </artifactSet>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
<resource>.java</resource>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
<projectName>Apache ActiveMQ</projectName> <projectName>Apache ActiveMQ</projectName>
</transformer> </transformer>
@ -335,13 +328,6 @@
<classifier>sources</classifier> <classifier>sources</classifier>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- <dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.0.1B_spec</artifactId>
<version>1.0.1</version>
<classifier>sources</classifier>
<optional>true</optional>
</dependency> -->
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee-management_1.1_spec</artifactId> <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>