-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
101 lines (99 loc) · 3.54 KB
/
Copy pathpom.xml
File metadata and controls
101 lines (99 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8"?>
<!--
Maven build config for Java reactors.
- Source: java/src/ (reactor and utility classes)
- Output: classes/ (compiled .class files, loaded by SEMOSS at runtime)
- SEMOSS JAR is "provided" (it's on the server classpath, not bundled)
Build with: mvn clean compile (or use the SEMOSS UI build button)
--><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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>SemossTemplate</groupId>
<artifactId>SemossTemplate</artifactId>
<version>${ci.version}</version>
<!-- Version property used by both this project and the SEMOSS dependency -->
<properties>
<ci.version>0.0.1-SNAPSHOT</ci.version>
</properties>
<build>
<!-- Main source lives in java/src/ instead of the Maven default src/main/java -->
<sourceDirectory>java/src</sourceDirectory>
<!-- Compiled classes go to classes/ so SEMOSS can load them at runtime -->
<outputDirectory>classes</outputDirectory>
<!-- Include non-Java files from java/ (e.g. project.properties) as classpath resources -->
<resources>
<resource>
<directory>java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<!-- Compile with Java 21 source/target -->
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
</plugins>
</build>
<!-- Maven repositories: Central, SEMOSS 3rd-party, and Sonatype for snapshots -->
<repositories>
<!-- Maven Central — primary public repository -->
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>https://repo1.maven.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- SEMOSS Nexus — hosts the semoss artifact and other internal JARs -->
<repository>
<id>3rdPartyJARs</id>
<name>Maven repository</name>
<url>https://maven.semoss.org/repository/3rdPartyJARs</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- Sonatype OSS — public releases from open-source projects -->
<repository>
<id>public</id>
<name>Sonatype's Maven repository</name>
<url>https://oss.sonatype.org/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Sonatype Snapshots — for SNAPSHOT builds that update on every check -->
<repository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>https://central.sonatype.com/repository/maven-snapshots</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependencies>
<!-- SEMOSS core — provided by the server at runtime, not bundled into output -->
<dependency>
<groupId>org.semoss</groupId>
<artifactId>semoss</artifactId>
<version>${ci.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>