|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
5 | 5 | http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
6 | 6 | <modelVersion>4.0.0</modelVersion>
|
7 |
| - <build> |
8 |
| - <plugins> |
9 |
| - <plugin> |
10 |
| - <groupId>org.apache.maven.plugins</groupId> |
11 |
| - <artifactId>maven-shade-plugin</artifactId> |
12 |
| - <version>3.4.1</version> |
13 |
| - <configuration> |
14 |
| - <artifactSet> |
15 |
| - <includes> |
16 |
| - <include>org.apache.xmlgraphics:batik-transcoder</include> |
17 |
| - <include>org.jetbrains:markdown</include> |
18 |
| - </includes> |
19 |
| - </artifactSet> |
20 |
| - <!-- put your configurations here --> |
21 |
| - </configuration> |
22 |
| - <executions> |
23 |
| - <execution> |
24 |
| - <phase>package</phase> |
25 |
| - <goals> |
26 |
| - <goal>shade</goal> |
27 |
| - </goals> |
28 |
| - </execution> |
29 |
| - </executions> |
30 |
| - </plugin> |
31 |
| - </plugins> |
32 |
| - </build> |
33 | 7 |
|
34 | 8 | <groupId>life.qbic</groupId>
|
35 |
| - <artifactId>XMLEditor</artifactId> |
| 9 | + <artifactId>ome-xml-editor</artifactId> |
36 | 10 | <version>1.0.0</version>
|
37 | 11 |
|
38 | 12 | <name>XML Editor</name>
|
|
44 | 18 | <main-class>life.qbic.xmledit.XMLEditor</main-class>
|
45 | 19 | </properties>
|
46 | 20 |
|
| 21 | + <distributionManagement> |
| 22 | + <repository> |
| 23 | + <uniqueVersion>true</uniqueVersion> |
| 24 | + <id>nexus-releases</id> |
| 25 | + <name>QBiC Releases</name> |
| 26 | + <url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-releases</url> |
| 27 | + </repository> |
| 28 | + <snapshotRepository> |
| 29 | + <uniqueVersion>false</uniqueVersion> |
| 30 | + <id>nexus-snapshots</id> |
| 31 | + <name>QBiC Snapshots</name> |
| 32 | + <url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-snapshots</url> |
| 33 | + </snapshotRepository> |
| 34 | + </distributionManagement> |
| 35 | + |
47 | 36 | <dependencies>
|
48 | 37 | <!-- https://mvnrepository.com/artifact/net.imagej/imagej -->
|
49 | 38 | <dependency>
|
|
79 | 68 | <artifactId>markdown</artifactId>
|
80 | 69 | <version>0.1.46</version>
|
81 | 70 | </dependency>
|
82 |
| - |
83 |
| - |
84 | 71 | </dependencies>
|
85 |
| - |
86 | 72 | <repositories>
|
87 | 73 | <!-- The order of definitions matters. Explicitly defining central here to make sure it has the highest priority. -->
|
88 | 74 | <!-- Main Maven repository -->
|
|
102 | 88 | <url>https://maven.scijava.org/content/groups/public</url>
|
103 | 89 | </repository>
|
104 | 90 | </repositories>
|
| 91 | + <build> |
| 92 | + <pluginManagement> |
| 93 | + <plugins> |
| 94 | + <plugin> |
| 95 | + <groupId>org.apache.maven.plugins</groupId> |
| 96 | + <artifactId>maven-shade-plugin</artifactId> |
| 97 | + <version>3.4.1</version> |
| 98 | + </plugin> |
| 99 | + </plugins> |
| 100 | + </pluginManagement> |
| 101 | + <plugins> |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-shade-plugin</artifactId> |
| 105 | + <configuration> |
| 106 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 107 | + <artifactSet> |
| 108 | + <includes> |
| 109 | + <include>org.apache.xmlgraphics:batik-transcoder</include> |
| 110 | + <include>org.jetbrains:markdown</include> |
| 111 | + </includes> |
| 112 | + </artifactSet> |
| 113 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 114 | + <shadedClassifierName>jar-with-dependencies</shadedClassifierName> |
| 115 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 116 | + </configuration> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <phase>package</phase> |
| 120 | + <goals> |
| 121 | + <goal>shade</goal> |
| 122 | + </goals> |
| 123 | + </execution> |
| 124 | + </executions> |
| 125 | + </plugin> |
| 126 | + </plugins> |
| 127 | + </build> |
105 | 128 | </project>
|
0 commit comments