Skip to content

Commit 5993c87

Browse files
sschujricher
authored andcommitted
Removed version from created war and added maven jetty plugin with context so URLs are prefixed correctly in uma-server-webapp
1 parent 0dd7eef commit 5993c87

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

uma-server-webapp/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<groupId>org.apache.maven.plugins</groupId>
5454
<artifactId>maven-war-plugin</artifactId>
5555
<configuration>
56+
<warName>uma-server-webapp</warName>
5657
<overlays>
5758
<overlay>
5859
<groupId>org.mitre</groupId>
@@ -61,6 +62,16 @@
6162
</overlays>
6263
</configuration>
6364
</plugin>
65+
<plugin>
66+
<groupId>org.eclipse.jetty</groupId>
67+
<artifactId>jetty-maven-plugin</artifactId>
68+
<configuration>
69+
<war>${project.build.directory}/uma-server-webapp.war</war>
70+
<webAppConfig>
71+
<contextPath>/uma-server-webapp</contextPath>
72+
</webAppConfig>
73+
</configuration>
74+
</plugin>
6475
</plugins>
6576
<pluginManagement>
6677
<plugins>

0 commit comments

Comments
 (0)