Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / lifecycle-mapping-metadata.xml @ ffe5e099

History | View | Annotate | Download (10.3 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
        <goals>
123
          <goal>bundle</goal>
124
        </goals>
125
        <versionRange>[1.0.0,)</versionRange>
126
      </pluginExecutionFilter>
127
      <action>
128
        <ignore />
129
      </action>
130
    </pluginExecution>
131
<!--     <pluginExecution>
132
      <pluginExecutionFilter>
133
        <groupId>org.apache.maven.plugins</groupId>
134
        <artifactId>maven-remote-resources-plugin</artifactId>
135
        <versionRange>[1.0,)</versionRange>
136
        <goals>
137
          <goal>process</goal>
138
        </goals>
139
      </pluginExecutionFilter>
140
      <action>
141
        <ignore>
142
          <message>maven-remote-resources-plugin (goal "process") is ignored by m2e.</message>
143
        </ignore>
144
      </action>
145
    </pluginExecution>
146
    <pluginExecution>
147
      <pluginExecutionFilter>
148
        <groupId>org.apache.maven.plugins</groupId>
149
        <artifactId>maven-eclipse-plugin</artifactId>
150
        <versionRange>[0,)</versionRange>
151
        <goals>
152
          <goal>configure-workspace</goal>
153
          <goal>eclipse</goal>
154
          <goal>clean</goal>
155

156
          <goal>to-maven</goal>
157
          <goal>install-plugins</goal>
158
          <goal>make-artifacts</goal>
159

160
          <goal>myeclipse</goal>
161
          <goal>myeclipse-clean</goal>
162

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

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

    
233

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