o adding changes to provide dynamic mapping to m2e lifecycle executor

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-06-16 19:18:18 +00:00
parent 88cc8d652b
commit 25c795c4ac
1 changed files with 35 additions and 77 deletions

112
pom.xml
View File

@ -1,25 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE
or more contributor license agreements. See the NOTICE file file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
distributed with this work for additional information to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
regarding copyright ownership. The ASF licenses this file the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
to you under the Apache License, Version 2.0 (the applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
"License"); you may not use this file except in compliance WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
with the License. You may obtain a copy of the License at 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/xsd/maven-4.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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
@ -167,7 +159,7 @@ under the License.
<!--bootstrap-start-comment--> <!--bootstrap-start-comment-->
<dependencyManagement> <dependencyManagement>
<!--bootstrap-end-comment--> <!--bootstrap-end-comment-->
<dependencies> <dependencies>
<!-- Maven Modules --> <!-- Maven Modules -->
<!--bootstrap-start-comment--> <!--bootstrap-start-comment-->
@ -363,14 +355,8 @@ under the License.
</configuration> </configuration>
<executions> <executions>
<!-- <!--
<execution> <execution> <id>site-docs</id> <phase>pre-site</phase> <goals> <goal>xdoc</goal> <goal>xsd</goal> </goals>
<id>site-docs</id> </execution>
<phase>pre-site</phase>
<goals>
<goal>xdoc</goal>
<goal>xsd</goal>
</goals>
</execution>
--> -->
<execution> <execution>
<id>standard</id> <id>standard</id>
@ -406,41 +392,12 @@ under the License.
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId> <artifactId>maven-remote-resources-plugin</artifactId>
<version>1.0.1-SNAPSHOT</version> <version>1.0.1-SNAPSHOT</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<profiles> <profiles>
<profile>
<id>osgi</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Needed for including the manifest, see MJAR-71 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.1</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile> <profile>
<id>release</id> <id>release</id>
<build> <build>
@ -469,28 +426,29 @@ under the License.
</build> </build>
</profile> </profile>
<profile> <profile>
<id>strict</id> <id>m2e</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.maven.ide.eclipse</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>lifecycle-mapping</artifactId>
<version>1.0-alpha-3</version> <version>0.9.9-SNAPSHOT</version>
<executions> <configuration>
<execution> <mappingId>customizable</mappingId>
<id>enforce-jdk-15</id> <configurators>
<goals> <configurator id='org.maven.ide.eclipse.jdt.javaConfigurator' />
<goal>enforce</goal> <configurator id='org.maven.ide.eclipse.modello.modelloConfigurator' />
</goals> <configurator id='org.maven.ide.eclipse.plexus.annotations.plexusConfigurator' />
<configuration> </configurators>
<rules> <mojoExecutions>
<requireJavaVersion> <mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</mojoExecution>
<version>1.5</version> </mojoExecutions>
</requireJavaVersion> </configuration>
</rules>
</configuration>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>