Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / lifecycle-mapping-metadata.xml @ c2549fb7

History | View | Annotate | Download (10.2 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<lifecycleMappingMetadata>
3
  <lifecycleMappings>
4
    <lifecycleMapping>
5
      <packagingType>maven-plugin</packagingType>
6
      <lifecycleMappingId>org.eclipse.m2e.jdt.JarLifecycleMapping</lifecycleMappingId>
7
      <pluginExecutions>
8
        <pluginExecution>
9
          <pluginExecutionFilter>
10
            <groupId>org.apache.maven.plugins</groupId>
11
            <artifactId>maven-plugin-plugin</artifactId>
12
            <versionRange>[2.3,)</versionRange>
13
            <goals>
14
              <goal>descriptor</goal>
15
              <goal>helpmojo</goal>
16
            </goals>
17
          </pluginExecutionFilter>
18
          <action>
19
            <execute>
20
              <runOnIncremental>false</runOnIncremental>
21
            </execute>
22
          </action>
23
        </pluginExecution>
24
      </pluginExecutions>
25
    </lifecycleMapping>
26

    
27
    <lifecycleMapping>
28
      <packagingType>nexus-plugin</packagingType>
29
      <lifecycleMappingId>org.eclipse.m2e.jdt.JarLifecycleMapping</lifecycleMappingId>
30
    </lifecycleMapping>
31

    
32
    <lifecycleMapping>
33
      <packagingType>war</packagingType>
34
      <lifecycleMappingId>org.eclipse.m2e.jdt.JarLifecycleMapping</lifecycleMappingId>
35
    </lifecycleMapping>
36
  </lifecycleMappings>
37

    
38
  <pluginExecutions>
39
    <!--  standard maven plugins -->
40
<!--     <pluginExecution>
41
      <pluginExecutionFilter>
42
        <groupId>org.apache.maven.plugins</groupId>
43
        <artifactId>maven-resources-plugin</artifactId>
44
        <goals>
45
          <goal>resources</goal>
46
          <goal>testResources</goal>
47
          <goal>copy-resources</goal>
48
        </goals>
49
        <versionRange>[2.4,)</versionRange>
50
      </pluginExecutionFilter>
51
      <action>
52
        <execute/>
53
      </action>
54
    </pluginExecution> -->
55
<!--     <pluginExecution>
56
      <pluginExecutionFilter>
57
        <groupId>org.apache.maven.plugins</groupId>
58
        <artifactId>maven-resources-plugin</artifactId>
59
        <goals>
60
          <goal>resources</goal>
61
          <goal>testResources</goal>
62
          <goal>copy-resources</goal>
63
        </goals>
64
        <versionRange>[0.0.1,2.4)</versionRange>
65
      </pluginExecutionFilter>
66
      <action>
67
        <ignore />
68
      </action>
69
    </pluginExecution> -->
70
    <pluginExecution>
71
      <pluginExecutionFilter>
72
        <groupId>org.apache.maven.plugins</groupId>
73
        <artifactId>maven-dependency-plugin</artifactId>
74
        <goals>
75
          <goal>copy-dependencies</goal>
76
          <goal>unpack</goal>
77
        </goals>
78
        <versionRange>[2.0,)</versionRange>
79
      </pluginExecutionFilter>
80
      <action>
81
        <ignore>
82
          <message>maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.</message>
83
        </ignore>
84
      </action>
85
    </pluginExecution>
86
    <pluginExecution>
87
      <pluginExecutionFilter>
88
        <groupId>org.apache.maven.plugins</groupId>
89
        <artifactId>maven-enforcer-plugin</artifactId>
90
        <goals>
91
          <goal>enforce</goal>
92
        </goals>
93
        <versionRange>[1.0-alpha-1,)</versionRange>
94
      </pluginExecutionFilter>
95
      <action>
96
        <ignore>
97
          <message>maven-enforcer-plugin (goal "enforce") is ignored by m2e.</message>
98
        </ignore>
99
      </action>
100
    </pluginExecution>
101
    <pluginExecution>
102
      <pluginExecutionFilter>
103
        <groupId>org.apache.maven.plugins</groupId>
104
        <artifactId>maven-invoker-plugin</artifactId>
105
        <goals>
106
          <goal>install</goal>
107
        </goals>
108
        <versionRange>[1.6-SONATYPE-r940877,)</versionRange>
109
      </pluginExecutionFilter>
110
      <action>
111
        <ignore>
112
          <message>maven-invoker-plugin (goal "install") is ignored by m2e.</message>
113
        </ignore>
114
      </action>
115
    </pluginExecution>
116
    <pluginExecution>
117
      <pluginExecutionFilter>
118
        <!-- trying to prevent the maven-bundle-plugin from configuring 
119
        the org.eclipse.pde.PluginNature for cdmlib-serivces  -->
120
        <groupId>org.apache.felix</groupId>
121
        <artifactId>maven-bundle-plugin</artifactId>
122
      </pluginExecutionFilter>
123
      <action>
124
        <ignore />
125
      </action>
126
    </pluginExecution>
127
<!--     <pluginExecution>
128
      <pluginExecutionFilter>
129
        <groupId>org.apache.maven.plugins</groupId>
130
        <artifactId>maven-remote-resources-plugin</artifactId>
131
        <versionRange>[1.0,)</versionRange>
132
        <goals>
133
          <goal>process</goal>
134
        </goals>
135
      </pluginExecutionFilter>
136
      <action>
137
        <ignore>
138
          <message>maven-remote-resources-plugin (goal "process") is ignored by m2e.</message>
139
        </ignore>
140
      </action>
141
    </pluginExecution>
142
    <pluginExecution>
143
      <pluginExecutionFilter>
144
        <groupId>org.apache.maven.plugins</groupId>
145
        <artifactId>maven-eclipse-plugin</artifactId>
146
        <versionRange>[0,)</versionRange>
147
        <goals>
148
          <goal>configure-workspace</goal>
149
          <goal>eclipse</goal>
150
          <goal>clean</goal>
151

152
          <goal>to-maven</goal>
153
          <goal>install-plugins</goal>
154
          <goal>make-artifacts</goal>
155

156
          <goal>myeclipse</goal>
157
          <goal>myeclipse-clean</goal>
158

159
          <goal>rad</goal>
160
          <goal>rad-clean</goal>
161
        </goals>
162
      </pluginExecutionFilter>
163
      <action>
164
        <error>
165
          <message>maven-eclipse-plugin is not compatible with m2e</message>
166
        </error>
167
      </action>
168
    </pluginExecution> -->
169
<!--     <pluginExecution>
170
      <pluginExecutionFilter>
171
        <groupId>org.apache.maven.plugins</groupId>
172
        <artifactId>maven-source-plugin</artifactId>
173
        <versionRange>[2.0,)</versionRange>
174
        <goals>
175
          <goal>jar-no-fork</goal>
176
          <goal>test-jar-no-fork</goal>
177
          theoretically, the following goals should not be bound to lifecycle, but ignore them just in case 
178
          <goal>jar</goal>
179
          <goal>aggregate</goal>
180
          <goal>test-jar</goal>
181
        </goals>
182
      </pluginExecutionFilter>
183
      <action>
184
        <ignore/>
185
      </action>
186
    </pluginExecution> -->
187

    
188
    <!-- commonly used codehaus plugins -->
189
  <!--   <pluginExecution>
190
      <pluginExecutionFilter>
191
        <groupId>org.codehaus.enunciate</groupId>
192
        <artifactId>maven-enunciate-plugin</artifactId>
193
        <goals>
194
          <goal>docs</goal>
195
        </goals>
196
        <versionRange>[1.20-SONATYPE-r919,)</versionRange>
197
      </pluginExecutionFilter>
198
      <action>
199
        <ignore />
200
      </action>
201
    </pluginExecution> -->
202
<!--     <pluginExecution>
203
      <pluginExecutionFilter>
204
        <groupId>org.codehaus.mojo</groupId>
205
        <artifactId>animal-sniffer-maven-plugin</artifactId>
206
        <versionRange>[1.0,)</versionRange>
207
        <goals>
208
          <goal>check</goal>
209
        </goals>
210
      </pluginExecutionFilter>
211
      <action>
212
        <ignore />
213
      </action>
214
    </pluginExecution> -->
215
 <!--    <pluginExecution>
216
      <pluginExecutionFilter>
217
        <groupId>org.codehaus.mojo</groupId>
218
        <artifactId>buildnumber-maven-plugin</artifactId>
219
        <versionRange>[1.0-beta-1,)</versionRange>
220
        <goals>
221
          <goal>create</goal>
222
        </goals>
223
      </pluginExecutionFilter>
224
      <action>
225
        <ignore />
226
      </action>
227
    </pluginExecution> -->
228

    
229

    
230
    <!-- commonly use sonatype plugins -->
231
 <!--    <pluginExecution>
232
      <pluginExecutionFilter>
233
        <groupId>org.sonatype.plugins</groupId>
234
        <artifactId>provided-dependencies-maven-plugin</artifactId>
235
        <goals>
236
          <goal>generate</goal>
237
        </goals>
238
        <versionRange>[1.4,)</versionRange>
239
      </pluginExecutionFilter>
240
      <action>
241
        <ignore />
242
      </action>
243
    </pluginExecution> -->
244
  <!--   <pluginExecution>
245
      <pluginExecutionFilter>
246
        <groupId>org.sonatype.plugins</groupId>
247
        <artifactId>app-lifecycle-maven-plugin</artifactId>
248
        <goals>
249
          <goal>check-dependencies</goal>
250
        </goals>
251
        <versionRange>[1.1,)</versionRange>
252
      </pluginExecutionFilter>
253
      <action>
254
        <execute />
255
      </action>
256
    </pluginExecution> -->
257
   <!--  <pluginExecution>
258
      <pluginExecutionFilter>
259
        <groupId>org.sonatype.plugins</groupId>
260
        <artifactId>app-lifecycle-maven-plugin</artifactId>
261
        <goals>
262
          <goal>generate-metadata</goal>
263
          <goal>inject-artifact-handler</goal>
264
        </goals>
265
        <versionRange>[1.1,)</versionRange>
266
      </pluginExecutionFilter>
267
      <action>
268
        <ignore />
269
      </action>
270
    </pluginExecution> -->
271
 <!--    <pluginExecution>
272
      <pluginExecutionFilter>
273
        <groupId>org.sonatype.plugins</groupId>
274
        <artifactId>nexus-test-environment-maven-plugin</artifactId>
275
        <goals>
276
          <goal>setup-environment</goal>
277
        </goals>
278
        <versionRange>[1.6-SNAPSHOT,)</versionRange>
279
      </pluginExecutionFilter>
280
      <action>
281
        <ignore />
282
      </action>
283
    </pluginExecution> -->
284
    <!-- <pluginExecution>
285
      <pluginExecutionFilter>
286
        <groupId>net.sf.alchim</groupId>
287
        <artifactId>yuicompressor-maven-plugin</artifactId>
288
        <goals>
289
          <goal>compress</goal>
290
        </goals>
291
        <versionRange>[0.7.1,)</versionRange>
292
      </pluginExecutionFilter>
293
      <action>
294
        <ignore />
295
      </action>
296
    </pluginExecution> -->
297
   <!--  <pluginExecution>
298
      <pluginExecutionFilter>
299
        <groupId>org.sonatype.plugins</groupId>
300
        <artifactId>yuicompressor-maven-plugin</artifactId>
301
        <goals>
302
          <goal>aggregate</goal>
303
        </goals>
304
        <versionRange>[0.0.1,)</versionRange>
305
      </pluginExecutionFilter>
306
      <action>
307
        <ignore />
308
      </action>
309
    </pluginExecution> -->
310
 <!--    <pluginExecution>
311
      <pluginExecutionFilter>
312
        <groupId>org.sonatype.plugins</groupId>
313
        <artifactId>maven-properties-plugin</artifactId>
314
        <versionRange>[0.0.3-SNAPSHOT,)</versionRange>
315
        <goals>
316
          <goal>filter-file</goal>
317
        </goals>
318
      </pluginExecutionFilter>
319
      <action>
320
        <execute />
321
      </action>
322
    </pluginExecution> -->
323
    <pluginExecution>
324
      <pluginExecutionFilter>
325
        <groupId>org.apache.maven.plugins</groupId>
326
        <artifactId>maven-antrun-plugin</artifactId>
327
        <goals>
328
          <goal>run</goal>
329
        </goals>
330
        <versionRange>[1.7,)</versionRange>
331
      </pluginExecutionFilter>
332
      <action>
333
        <execute/>
334
      </action>
335
    </pluginExecution>
336
  </pluginExecutions> 
337
</lifecycleMappingMetadata>
Add picture from clipboard (Maximum size: 40 MB)