Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit f2db8bf

Browse files
authored
Update pom.xml
Added profile for XDEV IDE
1 parent 30493a2 commit f2db8bf

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

pom.xml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,67 @@
376376
</repositories>
377377
</profile>
378378

379+
<profile>
380+
<id>xdev-ide</id>
381+
<build>
382+
<plugins>
383+
<plugin>
384+
<groupId>org.apache.maven.plugins</groupId>
385+
<artifactId>maven-shade-plugin</artifactId>
386+
<version>3.2.4</version>
387+
<executions>
388+
<execution>
389+
<goals>
390+
<goal>shade</goal>
391+
</goals>
392+
<configuration>
393+
<artifactSet>
394+
<excludes>
395+
<!-- XDEV IDE does not need xapi in the fat jar -->
396+
<exclude>com.xdev-software:xapi</exclude>
397+
</excludes>
398+
</artifactSet>
399+
<filters>
400+
<filter>
401+
<artifact>*:*</artifact>
402+
<excludes>
403+
<exclude>module-info.class</exclude>
404+
<exclude>META-INF/*.SF</exclude>
405+
<exclude>META-INF/*.DSA</exclude>
406+
<exclude>META-INF/*.RSA</exclude>
407+
<exclude>MANIFEST.MF</exclude>
408+
<!-- make sure Apache NOTICE files are not overridden. -->
409+
<transformer
410+
implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
411+
<addHeader>false</addHeader>
412+
</transformer>
413+
<!-- append overlapping files -->
414+
<transformer
415+
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
416+
<resource>META-INF/LICENSE.APACHE2</resource>
417+
</transformer>
418+
<!-- append overlapping files -->
419+
<transformer
420+
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
421+
<resource>overview.html</resource>
422+
</transformer>
423+
<!-- adding some infos to the MANIFEST.MF -->
424+
<transformer
425+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
426+
<manifestEntries>
427+
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
428+
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
429+
</manifestEntries>
430+
</transformer>
431+
</transformers>
432+
</configuration>
433+
</execution>
434+
</executions>
435+
</plugin>
436+
</plugins>
437+
</build>
438+
</profile>
439+
379440
<profile>
380441
<id>ossrh</id>
381442
<build>

0 commit comments

Comments
 (0)