| <?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> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.tuscany.sca</groupId> |
| <artifactId>tuscany-shades</artifactId> |
| <version>2.0-M5.1</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.tuscany.sca.shades</groupId> |
| <artifactId>tuscany-base-nodep</artifactId> |
| <name>Apache Tuscany SCA Base Jar including dependencies</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tuscany.sca.shades</groupId> |
| <artifactId>tuscany-base</artifactId> |
| <version>${pom.version}</version> |
| </dependency> |
| |
| <!-- Tuscany uses java.util.logging but extensions and dependencies may use |
| log4j, commons-logging, slf4j, or java.util.logging. So inlcude slf4j |
| modules for all of those that delegate to java.util.logging. This should |
| mean there's no need for any other logging jars and no conflicts on |
| logging verisons as those are handled transparently by slf4j, and, |
| everything uses and can be configured just with java.util.logging. |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.5.8</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>1.5.8</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| <version>1.5.8</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>1.5.8</version> |
| </dependency> |
| --> |
| |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>osgi</artifactId> |
| <version>3.5.0-v20090520</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.3.2</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |