<?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> | |
<groupId>org.apache.maven.its.enforcer</groupId> | |
<artifactId>pluginWithExtensions</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>zip</packaging> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>@project.version@</version> | |
<executions> | |
<execution> | |
<id>test</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<requirePluginVersions> | |
<banSnapshots>false</banSnapshots> | |
<unCheckedPluginList> | |
org.apache.maven.plugins:maven-clean-plugin,org.apache.maven.plugins:maven-install-plugin,org.apache.maven.plugins:maven-deploy-plugin,org.apache.maven.plugins:maven-site-plugin,org.apache.maven.plugins:maven-wrapper-plugin | |
</unCheckedPluginList> | |
</requirePluginVersions> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<!-- For https://issues.apache.org/jira/browse/MENFORCER-11 This plugin | |
attaches additional lifecycles "generate-sources" which were failed to be | |
handled correctly. --> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>pde-maven-plugin</artifactId> | |
<version>1.0-alpha-1</version> | |
<extensions>true</extensions> | |
<configuration> | |
<buildProperties> | |
<pdeProductFilename>example.product</pdeProductFilename> | |
</buildProperties> | |
</configuration> | |
<!-- Also bind to mvn clean --> | |
<executions> | |
<execution> | |
<id>clean-pde</id> | |
<phase>clean</phase> | |
<goals> | |
<goal>clean</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.5</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.5.1</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.12</version> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |