Skip to content

Commit b3e0701

Browse files
committed
ardoco as parent
1 parent b987ce0 commit b3e0701

File tree

1 file changed

+6
-183
lines changed

1 file changed

+6
-183
lines changed

pom.xml

Lines changed: 6 additions & 183 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

5-
<groupId>io.github.ardoco</groupId>
5+
<parent>
6+
<groupId>io.github.ardoco</groupId>
7+
<artifactId>parent</artifactId>
8+
<version>2.0.0-SNAPSHOT</version>
9+
</parent>
10+
611
<artifactId>named-architecture-entity-recognition</artifactId>
712
<version>1.0.0-SNAPSHOT</version>
813

@@ -49,16 +54,6 @@
4954
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5055
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5156
<project.source.encoding>UTF-8</project.source.encoding>
52-
<java.version>21</java.version>
53-
<maven.compiler.source>${java.version}</maven.compiler.source>
54-
<maven.compiler.target>${java.version}</maven.compiler.target>
55-
<maven.compiler.release>${java.version}</maven.compiler.release>
56-
57-
<ardoco.version>2.0.0-SNAPSHOT</ardoco.version>
58-
<slf4j.version>2.0.14</slf4j.version>
59-
<spotless.version>2.43.0</spotless.version>
60-
<junit.version>5.11.0</junit.version>
61-
<jackson.version>2.17.2</jackson.version>
6257
</properties>
6358

6459
<dependencyManagement>
@@ -74,17 +69,9 @@
7469
</dependencyManagement>
7570

7671
<dependencies>
77-
7872
<dependency>
7973
<groupId>com.fasterxml.jackson.core</groupId>
8074
<artifactId>jackson-databind</artifactId>
81-
<version>${jackson.version}</version>
82-
</dependency>
83-
84-
<dependency>
85-
<groupId>com.tngtech.archunit</groupId>
86-
<artifactId>archunit-junit5</artifactId>
87-
<version>1.4.1</version>
8875
</dependency>
8976
<dependency>
9077
<groupId>dev.langchain4j</groupId>
@@ -94,50 +81,26 @@
9481
<groupId>dev.langchain4j</groupId>
9582
<artifactId>langchain4j-open-ai</artifactId>
9683
</dependency>
97-
9884
<dependency>
9985
<groupId>io.github.ardoco</groupId>
10086
<artifactId>metrics</artifactId>
10187
<version>0.1.1</version>
10288
</dependency>
103-
10489
<dependency>
10590
<groupId>io.github.ardoco.core</groupId>
10691
<artifactId>common</artifactId>
10792
<version>${ardoco.version}</version>
10893
</dependency>
109-
11094
<dependency>
11195
<groupId>io.github.cdimascio</groupId>
11296
<artifactId>dotenv-java</artifactId>
11397
<version>3.2.0</version>
11498
</dependency>
115-
11699
<dependency>
117100
<groupId>org.apache.commons</groupId>
118101
<artifactId>commons-text</artifactId>
119102
<version>1.13.1</version>
120103
</dependency>
121-
122-
<dependency>
123-
<groupId>org.junit.jupiter</groupId>
124-
<artifactId>junit-jupiter</artifactId>
125-
<version>${junit.version}</version>
126-
<scope>test</scope>
127-
</dependency>
128-
129-
<dependency>
130-
<groupId>org.slf4j</groupId>
131-
<artifactId>slf4j-api</artifactId>
132-
<version>${slf4j.version}</version>
133-
</dependency>
134-
135-
<dependency>
136-
<groupId>org.slf4j</groupId>
137-
<artifactId>slf4j-simple</artifactId>
138-
<version>${slf4j.version}</version>
139-
<scope>test</scope>
140-
</dependency>
141104
</dependencies>
142105
<repositories>
143106
<repository>
@@ -157,157 +120,18 @@
157120
</repositories>
158121

159122
<build>
160-
<pluginManagement>
161-
<plugins>
162-
<plugin>
163-
<groupId>org.apache.maven.plugins</groupId>
164-
<artifactId>maven-assembly-plugin</artifactId>
165-
<version>3.7.1</version>
166-
</plugin>
167-
<plugin>
168-
<groupId>org.apache.maven.plugins</groupId>
169-
<artifactId>maven-compiler-plugin</artifactId>
170-
<version>3.13.0</version>
171-
<configuration>
172-
<release>${java.version}</release>
173-
<source>${java.version}</source>
174-
<target>${java.version}</target>
175-
<encoding>UTF-8</encoding>
176-
<fork>true</fork>
177-
<meminitial>128m</meminitial>
178-
<maxmem>512m</maxmem>
179-
</configuration>
180-
</plugin>
181-
<plugin>
182-
<groupId>org.apache.maven.plugins</groupId>
183-
<artifactId>maven-failsafe-plugin</artifactId>
184-
<version>3.2.5</version>
185-
<executions>
186-
<execution>
187-
<goals>
188-
<goal>integration-test</goal>
189-
<goal>verify</goal>
190-
</goals>
191-
<phase>integration-test</phase>
192-
</execution>
193-
</executions>
194-
</plugin>
195-
<plugin>
196-
<groupId>org.apache.maven.plugins</groupId>
197-
<artifactId>maven-gpg-plugin</artifactId>
198-
<version>3.2.4</version>
199-
</plugin>
200-
<plugin>
201-
<groupId>org.apache.maven.plugins</groupId>
202-
<artifactId>maven-install-plugin</artifactId>
203-
<version>3.1.2</version>
204-
</plugin>
205-
<plugin>
206-
<groupId>org.apache.maven.plugins</groupId>
207-
<artifactId>maven-jar-plugin</artifactId>
208-
<version>3.4.2</version>
209-
</plugin>
210-
<plugin>
211-
<groupId>org.apache.maven.plugins</groupId>
212-
<artifactId>maven-surefire-plugin</artifactId>
213-
<version>3.2.5</version>
214-
</plugin>
215-
<plugin>
216-
<groupId>org.sonatype.central</groupId>
217-
<artifactId>central-publishing-maven-plugin</artifactId>
218-
<version>0.7.0</version>
219-
<extensions>true</extensions>
220-
<configuration>
221-
<publishingServerId>central</publishingServerId>
222-
<autoPublish>true</autoPublish>
223-
<waitUntil>published</waitUntil>
224-
<deploymentName>ardoco-naer</deploymentName>
225-
</configuration>
226-
</plugin>
227-
</plugins>
228-
</pluginManagement>
229123
<plugins>
230124
<plugin>
231125
<groupId>com.diffplug.spotless</groupId>
232126
<artifactId>spotless-maven-plugin</artifactId>
233-
<version>${spotless.version}</version>
234-
<configuration>
235-
<formats>
236-
<format>
237-
<includes>
238-
<include>*.md</include>
239-
<include>.gitignore</include>
240-
</includes>
241-
<trimTrailingWhitespace />
242-
<endWithNewline />
243-
<indent>
244-
<tabs>true</tabs>
245-
<spacesPerTab>4</spacesPerTab>
246-
</indent>
247-
</format>
248-
</formats>
249-
<!-- define a language-specific format -->
250-
<java>
251-
<eclipse>
252-
<!--suppress UnresolvedMavenProperty -->
253-
<file>${maven.multiModuleProjectDirectory}/formatter.xml</file>
254-
</eclipse>
255-
<removeUnusedImports />
256-
<licenseHeader>
257-
<!--suppress UnresolvedMavenProperty -->
258-
<file>${maven.multiModuleProjectDirectory}/license-header</file>
259-
</licenseHeader>
260-
<importOrder>
261-
<!--suppress UnresolvedMavenProperty -->
262-
<file>${maven.multiModuleProjectDirectory}/spotless.importorder</file>
263-
</importOrder>
264-
</java>
265-
<pom>
266-
<sortPom>
267-
<encoding>UTF-8</encoding>
268-
<keepBlankLines>true</keepBlankLines>
269-
<indentBlankLines>false</indentBlankLines>
270-
<nrOfIndentSpace>2</nrOfIndentSpace>
271-
<expandEmptyElements>false</expandEmptyElements>
272-
<spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
273-
<sortDependencies>groupId,artifactId</sortDependencies>
274-
<sortDependencyExclusions>groupId,artifactId</sortDependencyExclusions>
275-
<sortDependencyManagement>groupId,artifactId</sortDependencyManagement>
276-
<sortPlugins>groupId,artifactId</sortPlugins>
277-
<sortProperties>false</sortProperties>
278-
<sortModules>true</sortModules>
279-
<sortExecutions>true</sortExecutions>
280-
<predefinedSortOrder>recommended_2008_06</predefinedSortOrder>
281-
</sortPom>
282-
</pom>
283-
<ratchetFrom>origin/main</ratchetFrom>
284-
</configuration>
285127
</plugin>
286128
<plugin>
287129
<groupId>org.apache.maven.plugins</groupId>
288130
<artifactId>maven-javadoc-plugin</artifactId>
289-
<version>3.7.0</version>
290-
<executions>
291-
<execution>
292-
<id>attach-javadocs</id>
293-
<goals>
294-
<goal>jar</goal>
295-
</goals>
296-
</execution>
297-
</executions>
298131
</plugin>
299132
<plugin>
300133
<groupId>org.apache.maven.plugins</groupId>
301134
<artifactId>maven-source-plugin</artifactId>
302-
<version>3.3.1</version>
303-
<executions>
304-
<execution>
305-
<id>attach-sources</id>
306-
<goals>
307-
<goal>jar-no-fork</goal>
308-
</goals>
309-
</execution>
310-
</executions>
311135
</plugin>
312136
<plugin>
313137
<groupId>org.sonatype.central</groupId>
@@ -351,5 +175,4 @@
351175
</build>
352176
</profile>
353177
</profiles>
354-
355178
</project>

0 commit comments

Comments
 (0)