| <?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 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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>19</version> |
| </parent> |
| |
| <groupId>org.apache.edgent.plugins.it</groupId> |
| <artifactId>with-plugin</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| |
| <description>A simple IT verifying the basic use case.</description> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <distributionManagement> |
| <repository> |
| <id>mrm</id> |
| <url>@mrm.distribution.url@</url> |
| </repository> |
| <snapshotRepository> |
| <id>mrm</id> |
| <url>@mrm.distribution.url@</url> |
| </snapshotRepository> |
| </distributionManagement> |
| |
| <build> |
| <plugins> |
| <!-- Create a test-jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Ensure it's not deployed --> |
| <plugin> |
| <groupId>@project.groupId@</groupId> |
| <artifactId>@project.artifactId@</artifactId> |
| <version>@project.version@</version> |
| <executions> |
| <execution> |
| <id>filter-deploy-artifacts</id> |
| <phase>install</phase> |
| <goals> |
| <goal>filter-deploy-artifacts</goal> |
| </goals> |
| <configuration> |
| <filterRules> |
| <!-- Filter out all test-jars --> |
| <filterRule> |
| <type>test-jar</type> |
| </filterRule> |
| <!-- Filter out the signatures of all test-jars --> |
| <filterRule> |
| <type>jar.asc</type> |
| <classifier>tests</classifier> |
| </filterRule> |
| <!-- Filter out any source release archives --> |
| <filterRule> |
| <classifier>source-release</classifier> |
| </filterRule> |
| </filterRules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Rest of the apache-release profile --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-release-artifacts</id> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.apache.resources</groupId> |
| <artifactId>apache-source-release-assembly-descriptor</artifactId> |
| <version>1.0.6</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>source-release-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| <descriptorRefs> |
| <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef> |
| </descriptorRefs> |
| <tarLongFileMode>posix</tarLongFileMode> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |