Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0ac84c107c2b5cc9b9f2c13faae5a3a200627f29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
  <lifecycleMappings>
    <lifecycleMapping>
      <!-- The id matches the id declared in the eclipse extension for the 
        lifecycle mapping -->
      <id>org.eclipse.m2e.jdt.JarLifecycleMapping</id>
      <packagingType>war</packagingType>
    </lifecycleMapping>
    <lifecycleMapping>
      <!-- The id matches the id declared in the eclipse extension for the 
        lifecycle mapping -->
      <id>org.eclipse.m2e.jdt.JarLifecycleMapping</id>
      <packagingType>nexus-plugin</packagingType>
    </lifecycleMapping>
  </lifecycleMappings>

  <mojos>
    <mojo>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <goals>
        <goal>compile</goal>
        <goal>testCompile</goal>
      </goals>
      <versionRange>[2.0,)</versionRange>
      <action>
        <configurator>
          <!-- The id matches the id declared in the eclipse extension for 
            the project configurator -->
          <id>org.eclipse.m2e.jdt.javaConfigurator</id>
        </configurator>
      </action>
    </mojo>
    <mojo>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-resources-plugin</artifactId>
      <goals>
        <goal>resources</goal>
        <goal>testResources</goal>
      </goals>
      <versionRange>[2.4,)</versionRange>
      <action>
        <configurator>
          <!-- The id matches the id declared in the eclipse extension for 
            the project configurator -->
          <id>org.eclipse.m2e.core.project.configurator.MavenResourcesProjectConfigurator
          </id>
        </configurator>
      </action>
    </mojo>
  </mojos>
</lifecycleMappingMetadata>

Back to the top