-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
102 lines (100 loc) · 4.07 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
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.ihtsdo.otf</groupId>
<artifactId>mlds-ui</artifactId>
<version>1.0.1</version>
<properties>
<packageName>${project.artifactId}</packageName>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.vafer</groupId>
<artifactId>jdeb</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jdeb</goal>
</goals>
<configuration>
<deb>${project.build.directory}/${packageName}-${project.version}-all.deb</deb>
<controlDir>${basedir}/deb/control</controlDir>
<snapshotExpand>true</snapshotExpand>
<snapshotEnv>BUILD_NUMBER</snapshotEnv>
<verbose>true</verbose>
<classifier>all</classifier>
<signPackage>false</signPackage>
<dataSet>
<data>
<src>${basedir}/dist/MLDS-ui</src>
<type>directory</type>
<mapper>
<type>perm</type>
<prefix>/opt/${packageName}/lib/</prefix>
</mapper>
</data>
</dataSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<nodeVersion>v22.2.0</nodeVersion>
<npmVersion>10.7.0</npmVersion>
<workingDirectory>src/main/web/</workingDirectory>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>npm rebuild node-sass</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>rebuild node-sass</arguments>
</configuration>
</execution>
<execution>
<id>npm run build:prod</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build:prod</arguments>
</configuration>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>ihtsdo-public-nexus</id>
<name>IHTSDO Public Nexus Releases</name>
<url>https://maven.ihtsdotools.org/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>ihtsdo-public-nexus</id>
<name>IHTSDO Public Nexus Snapshots</name>
<url>https://maven.ihtsdotools.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>