Skip to content

Commit 4c5e053

Browse files
pom: Fix classifier problem #TASK-7463
1 parent e490927 commit 4c5e053

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

cellbase-server/pom.xml

+17-10
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,6 @@
137137
<groupId>org.apache.maven.plugins</groupId>
138138
<artifactId>maven-war-plugin</artifactId>
139139
<version>3.2.3</version>
140-
<executions>
141-
<execution>
142-
<id>make-a-war</id>
143-
<phase>compile</phase>
144-
<goals>
145-
<goal>war</goal>
146-
</goals>
147-
</execution>
148-
</executions>
149140
<configuration>
150141
<warName>${CELLBASE.WAR.NAME}</warName>
151142
<webResources>
@@ -157,12 +148,28 @@
157148
</webResources>
158149
</configuration>
159150
</plugin>
151+
<plugin>
152+
<groupId>org.apache.maven.plugins</groupId>
153+
<artifactId>maven-jar-plugin</artifactId>
154+
<executions>
155+
<execution>
156+
<id>make-a-jar</id>
157+
<phase>compile</phase>
158+
<goals>
159+
<goal>jar</goal>
160+
</goals>
161+
</execution>
162+
</executions>
163+
</plugin>
164+
165+
<!-- Plugin to install the JAR -->
160166
<plugin>
161167
<groupId>org.apache.maven.plugins</groupId>
162168
<artifactId>maven-install-plugin</artifactId>
163-
<!-- <version>3.1.1</version>-->
169+
<version>3.1.1</version>
164170
<executions>
165171
<execution>
172+
<id>install-jar</id>
166173
<phase>install</phase>
167174
<goals>
168175
<goal>install-file</goal>

0 commit comments

Comments
 (0)