Skip to content

Commit c917092

Browse files
Fix cellbase compilation problem classifier #TASK-7371
1 parent c1ae70f commit c917092

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

cellbase-server/pom.xml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</parent>
1212

1313
<artifactId>cellbase-server</artifactId>
14-
<packaging>jar</packaging>
14+
<packaging>war</packaging>
1515

1616
<dependencies>
1717
<dependency>
@@ -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,29 @@
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+
166+
<!-- Plugin to install the JAR -->
160167
<plugin>
161168
<groupId>org.apache.maven.plugins</groupId>
162169
<artifactId>maven-install-plugin</artifactId>
163-
<!-- <version>3.1.1</version>-->
170+
<version>3.1.1</version>
164171
<executions>
165172
<execution>
173+
<id>install-jar</id>
166174
<phase>install</phase>
167175
<goals>
168176
<goal>install-file</goal>
@@ -181,5 +189,4 @@
181189
</plugin>
182190
</plugins>
183191
</build>
184-
185192
</project>

0 commit comments

Comments
 (0)