-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
161 lines (146 loc) · 6.02 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<?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>
<groupId>org.dcache</groupId>
<artifactId>dcache-view</artifactId>
<version>3.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<inceptionYear>2016</inceptionYear>
<name>dCache View</name>
<url>http://www.dCache.ORG</url>
<description>
A Web application that provide an easy to use User Interface for dCache System.
</description>
<organization>
<name>dCache.org</name>
<url>http://www.dcache.org/</url>
</organization>
<licenses>
<license>
<name>GNU Affero General Public License Version 3</name>
<url>http://www.gnu.org/licenses/agpl-3.0.txt</url>
<distribution>manual</distribution>
</license>
</licenses>
<distributionManagement>
<downloadUrl>https://download.dcache.org/nexus/content/repositories/releases/</downloadUrl>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>dcache.release.repository</id>
<name>dCache.org release repository</name>
<url>https://download.dcache.org/nexus/content/repositories/releases/</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<uniqueVersion>true</uniqueVersion>
<id>dcache.snapshot.repository</id>
<name>dCache.org snapshot repository</name>
<url>https://download.dcache.org/nexus/content/repositories/snapshots/</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>
<issueManagement>
<system>GitHub</system>
<url>http://github.com/dCache/dcache-view/issues/</url>
</issueManagement>
<scm>
<url>https://github.com/dCache/dcache-view</url>
<connection>scm:git:https://github.com/dCache/dcache-view.git</connection>
<developerConnection>scm:git:ssh://git@github.com/dCache/dcache-view.git</developerConnection>
<tag>HEAD</tag>
</scm>
<repositories>
<repository>
<id>dcache.repository</id>
<url>https://download.dcache.org/nexus/content/groups/public</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v8.0.0</nodeVersion>
<npmVersion>6.5.0</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>npm run build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/dcacheview-jar.xml</descriptor>
</descriptors>
<finalName>${project.artifactId}-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>target/${project.artifactId}-${project.version}.jar</file>
<groupId>org.dcache</groupId>
<artifactId>${project.artifactId}</artifactId>
<packaging>jar</packaging>
<pomFile>pom.xml</pomFile>
<version>${project.version}</version>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
</build>
</project>