forked from NASA-PDS/registry-mgr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
143 lines (134 loc) · 5.53 KB
/
pom.xml
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<!-- Inherit release profile, reporting, SNAPSHOT repo, etc. from parent repo -->
<parent>
<groupId>gov.nasa</groupId>
<artifactId>pds</artifactId>
<version>1.4.0</version>
</parent>
<groupId>gov.nasa.pds</groupId>
<artifactId>registry-manager</artifactId>
<version>v4.0.2</version>
<packaging>jar</packaging>
<name>PDS Registry Manager</name>
<description>
The Registry Manager software can be used to manage the Elasticsearch-based PDS Registry Service instance.
</description>
<organization>
<name>Jet Propulsion Laboratory, California Institute of Technology</name>
</organization>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- Command-line args parser -->
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
</dependency>
<!-- Elasticsearch client-->
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>7.8.1</version>
</dependency>
<!-- JSON parser -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.6</version>
</dependency>
<!-- CSV reader -->
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>5.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- SpringBoot single JAR executable. -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.5.RELEASE</version>
<configuration>
<mainClass>gov.nasa.pds.registry.mgr.RegistryManagerMain</mainClass>
<layout>JAR</layout>
</configuration>
<executions>
<execution>
<id>exec-jar</id>
<phase>package</phase>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Binary release (ZIP and tar.gz). -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>bin-release</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/tar-assembly.xml</descriptor>
<descriptor>src/main/assembly/zip-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<!-- Disable Site for now -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<skip>true</skip>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
<plugin>
<groupId>com.ragedunicorn.tools.maven</groupId>
<artifactId>github-release-maven-plugin</artifactId>
<version>1.0.2</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<owner>nasa-pds</owner>
<repository>pds-registry-mgr-elastic</repository>
<server>github-oauth</server>
<tagName>${project.version}</tagName>
<name>${project.version}</name>
<targetCommitish>master</targetCommitish>
<body>Release ${project.version} see changelog https://github.com/NASA-PDS/pds-registry-mgr-elastic/blob/master/CHANGELOG.md</body>
<assets>
<asset>target/registry-manager-${project.version}-bin.zip</asset>
<asset>target/registry-manager-${project.version}-bin.tar.gz</asset>
</assets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>