| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <!-- |
| |
| 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. |
| --> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>maven-plugins-pom</artifactId> |
| <version>3</version> |
| <relativePath>../maven-plugins-pom/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-build</artifactId> |
| <version>1.1-SNAPSHOT</version> |
| |
| <packaging>maven-plugin</packaging> |
| <name>Apache ServiceMix :: Plugins :: Build</name> |
| |
| <description> |
| This build plugin has 3 purposes: |
| * legal stuff (notice/lic) |
| * some resources for checkstyle / pmd |
| * spring.schemas mojo |
| </description> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/maven-plugins/servicemix-build/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/maven-plugins/servicemix-build/trunk</developerConnection> |
| <url>http://svn.apache.org/viewcvs.cgi/servicemix/maven-plugins/servicemix-build/trunk</url> |
| </scm> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>2.0.9</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-project</artifactId> |
| <version>2.0.9</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>1.5.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-script-ant</artifactId> |
| <version>2.0.9</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.1</version> |
| <executions> |
| <execution> |
| <id>legal-files</id> |
| <phase>generate-resources</phase> |
| <configuration> |
| <tasks> |
| <copy file="${basedir}/LICENSE" tofile="${basedir}/target/legal/META-INF/LICENSE"/> |
| <copy file="${basedir}/NOTICE" tofile="${basedir}/target/legal/META-INF/NOTICE"/> |
| <copy file="${basedir}/LICENSE" tofile="${basedir}/target/classes/META-INF/LICENSE"/> |
| <copy file="${basedir}/NOTICE" tofile="${basedir}/target/classes/META-INF/NOTICE"/> |
| </tasks> |
| <sourceRoot>${basedir}/target/legal</sourceRoot> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |