Skip to content

Commit 5cce350

Browse files
authored
simplify pom (#2)
* simplify pom * remove dependency-reduced-pom.xml * Add dependency-reduced-pom.xml to gitignore --------- Co-authored-by: Tobias Koch <[email protected]>
1 parent c46e57e commit 5cce350

25 files changed

+150
-380
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ out/
33
.idea/
44
!**/src/main/**/out/
55
!**/src/test/**/out/
6+
dependency-reduced-pom.xml
67

78
### Eclipse ###
89
.apt_generated

dependency-reduced-pom.xml

Lines changed: 0 additions & 129 deletions
This file was deleted.

pom.xml

Lines changed: 37 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
7-
8-
<parent>
9-
<groupId>org.scijava</groupId>
10-
<artifactId>pom-scijava</artifactId>
11-
<version>31.1.0</version>
12-
<relativePath />
13-
</parent>
14-
157
<build>
168
<plugins>
179
<plugin>
@@ -36,126 +28,35 @@
3628
</execution>
3729
</executions>
3830
</plugin>
39-
<!--plugin>
40-
<groupId>org.apache.xmlbeans</groupId>
41-
<artifactId>xmlbeans</artifactId>
42-
<version>4.0.0</version>
43-
<executions>
44-
<execution>
45-
<goals>
46-
<goal>compile</goal>
47-
</goals>
48-
</execution>
49-
</executions>
50-
<configuration>
51-
<sourceSchemas>
52-
<sourceSchema>data/ome.xsd</sourceSchema>
53-
</sourceSchemas>
54-
<name>omeSchema</name>
55-
<repackage>my.company.project.metadata</repackage>
56-
<partialMethods>ALL,-GET_LIST,-XGET_LIST,-XGET_ARRAY</partialMethods>
57-
</configuration>
58-
<dependencies>
59-
<dependency>
60-
<groupId>org.apache.xmlbeans</groupId>
61-
<artifactId>xmlbeans</artifactId>
62-
<version>5.1.1</version>
63-
</dependency>
64-
</dependencies>
65-
</plugin-->
6631
</plugins>
6732
</build>
6833

69-
<groupId>de.qbic</groupId> <!-- FIXME: Your organization groupId here -->
70-
<artifactId>XMLEditor</artifactId> <!-- FIXME: Your project artifactId here -->
71-
<version>20_04_23</version>
72-
73-
<name>XML Editor</name> <!-- FIXME: Your project name here -->
74-
<description>A Maven project implementing an ImageJ command.</description> <!-- FIXME: Your project description here -->
75-
<url>https://mycompany.com/imagej/gauss-filtering/</url> <!-- FIXME: Your project website here -->
76-
<inceptionYear>2017</inceptionYear> <!-- FIXME: Your project starting year here -->
77-
<organization>
78-
<name>My Company</name> <!-- FIXME: Your organization name here -->
79-
<url>https://mycompany.com/</url> <!-- FIXME: Your organization website here -->
80-
</organization>
81-
<licenses>
82-
<license> <!-- FIXME: Your license here -->
83-
<name>CC0</name>
84-
<url>https://creativecommons.org/publicdomain/zero/1.0/</url>
85-
<distribution>repo</distribution>
86-
</license>
87-
</licenses>
34+
<groupId>life.qbic</groupId>
35+
<artifactId>XMLEditor</artifactId>
36+
<version>1.0.0</version>
8837

89-
<developers>
90-
<!-- See https://imagej.net/Team -->
91-
<developer>
92-
<id>octocat</id> <!-- FIXME: Your GitHub handle here -->
93-
<name>Noma Onomatopoeia</name> <!-- FIXME: Your name here -->
94-
<url>https://mycompany.com/people/noma-onomatopoeia</url> <!-- FIXME: Your website here -->
95-
<roles>
96-
<role>founder</role>
97-
<role>lead</role>
98-
<role>developer</role>
99-
<role>debugger</role>
100-
<role>reviewer</role>
101-
<role>support</role>
102-
<role>maintainer</role>
103-
</roles>
104-
</developer>
105-
</developers>
106-
107-
<contributors>
108-
<contributor>
109-
<name>None</name>
110-
</contributor>
111-
</contributors>
112-
113-
<mailingLists>
114-
<mailingList>
115-
<name>Image.sc Forum</name>
116-
<archive>https://forum.image.sc/tag/imagej</archive>
117-
</mailingList>
118-
</mailingLists>
119-
120-
<scm>
121-
<connection>scm:git:https://github.com/imagej/example-imagej2-command</connection>
122-
<developerConnection>scm:git:[email protected]:imagej/example-imagej2-command</developerConnection>
123-
<tag>HEAD</tag>
124-
<url>https://github.com/imagej/example-imagej2-command</url>
125-
</scm>
126-
127-
<issueManagement>
128-
<system>GitHub Issues</system>
129-
<url>https://github.com/imagej/example-imagej2-command/issues</url>
130-
</issueManagement>
131-
132-
<ciManagement>
133-
<system>None</system>
134-
</ciManagement>
38+
<name>XML Editor</name>
39+
<description>A Maven project implementing an ImageJ command.</description>
40+
<url>http://qbic.life</url>
13541

13642
<properties>
137-
<package-name>de.qbic.xmledit</package-name> <!-- FIXME: Your project package prefix here -->
138-
<main-class>de.qbic.xmledit.XMLEditor</main-class> <!-- FIXME: Your project main class here, or delete for none -->
139-
<license.licenseName>cc0</license.licenseName> <!-- FIXME: Your license-maven-plugin license code here -->
140-
<license.copyrightOwners>My Company, Inc.</license.copyrightOwners> <!-- FIXME: Your organization legal entity name here -->
43+
<package-name>life.qbic.xmledit</package-name>
44+
<main-class>life.qbic.xmledit.XMLEditor</main-class>
14145
</properties>
14246

143-
<repositories>
144-
<repository>
145-
<id>scijava.public</id>
146-
<url>https://maven.scijava.org/content/groups/public</url>
147-
</repository>
148-
</repositories>
149-
15047
<dependencies>
48+
<!-- https://mvnrepository.com/artifact/net.imagej/imagej -->
15149
<dependency>
15250
<groupId>net.imagej</groupId>
15351
<artifactId>imagej</artifactId>
52+
<version>2.15.0</version>
15453
</dependency>
54+
55+
<!-- https://mvnrepository.com/artifact/ome/bio-formats_plugins -->
15556
<dependency>
15657
<groupId>ome</groupId>
15758
<artifactId>bio-formats_plugins</artifactId>
158-
<version>6.1.1</version>
59+
<version>7.1.0</version>
15960
</dependency>
16061
<dependency>
16162
<groupId>com.formdev</groupId>
@@ -167,29 +68,6 @@
16768
<artifactId>batik-transcoder</artifactId>
16869
<version>1.17</version>
16970
</dependency>
170-
<!--dependency>
171-
<groupId>javax.xml.bind</groupId>
172-
<artifactId>jaxb-api</artifactId>
173-
<version>2.3.1</version>
174-
</dependency>
175-
<dependency>
176-
<groupId>com.sun.xml.bind</groupId>
177-
<artifactId>jaxb-impl</artifactId>
178-
<version>2.3.1</version>
179-
</dependency-->
180-
181-
<!-- https://mvnrepository.com/artifact/com.sun.istack/istack-commons-runtime -->
182-
<!--dependency>
183-
<groupId>com.sun.istack</groupId>
184-
<artifactId>istack-commons-runtime</artifactId>
185-
<version>4.2.0</version>
186-
</dependency-->
187-
188-
<!--dependency>
189-
<groupId>org.javassist</groupId>
190-
<artifactId>javassist</artifactId>
191-
<version>3.25.0-GA</version>
192-
</dependency-->
19371
<!-- https://mvnrepository.com/artifact/org.apache.xmlbeans/xmlbeans -->
19472
<dependency>
19573
<groupId>org.apache.xmlbeans</groupId>
@@ -199,7 +77,29 @@
19977
<dependency>
20078
<groupId>org.jetbrains</groupId>
20179
<artifactId>markdown</artifactId>
202-
<version>0.1.45</version>
80+
<version>0.1.46</version>
20381
</dependency>
82+
83+
20484
</dependencies>
205-
</project>
85+
86+
<repositories>
87+
<!-- The order of definitions matters. Explicitly defining central here to make sure it has the highest priority. -->
88+
<!-- Main Maven repository -->
89+
<repository>
90+
<id>central</id>
91+
<url>https://repo.maven.apache.org/maven2</url>
92+
<snapshots>
93+
<enabled>false</enabled>
94+
</snapshots>
95+
</repository>
96+
<repository>
97+
<id>org.openmicroscopy</id>
98+
<url> https://artifacts.openmicroscopy.org/artifactory/ome.releases/</url>
99+
</repository>
100+
<repository>
101+
<id>scijava.public</id>
102+
<url>https://maven.scijava.org/content/groups/public</url>
103+
</repository>
104+
</repositories>
105+
</project>

0 commit comments

Comments
 (0)