mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
493120: Missing lifecycle mapping in .repository project
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=493120
This commit is contained in:
parent
1ef0554593
commit
a85b13f753
1 changed files with 38 additions and 0 deletions
|
@ -67,6 +67,44 @@ class P2RepositoryProject extends ProjectDescriptor {
|
|||
override pom() {
|
||||
super.pom => [
|
||||
packaging = "eclipse-repository"
|
||||
buildSection = '''
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.m2e</groupId>
|
||||
<artifactId>lifecycle-mapping</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<configuration>
|
||||
<lifecycleMappingMetadata>
|
||||
<pluginExecutions>
|
||||
<pluginExecution>
|
||||
<pluginExecutionFilter>
|
||||
<groupId>
|
||||
org.apache.maven.plugins
|
||||
</groupId>
|
||||
<artifactId>
|
||||
maven-clean-plugin
|
||||
</artifactId>
|
||||
<versionRange>
|
||||
[2.5,)
|
||||
</versionRange>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore></ignore>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
'''
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue