Skip to content

Commit a70e0b4

Browse files
committed
- create deployable WAR for sample project (maven config: maven-compiler-plugin, maven-war-plugin)
- therefor, added slf4j implementation (logback dependency)
1 parent 257a415 commit a70e0b4

File tree

1 file changed

+23
-0
lines changed
  • samples/java-saml-tookit-jspsample

1 file changed

+23
-0
lines changed

samples/java-saml-tookit-jspsample/pom.xml

+23
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@
1010
<packaging>war</packaging>
1111
<name>OneLogin java-saml Toolkit Sample Webapp</name>
1212

13+
<build>
14+
<plugins>
15+
<plugin>
16+
<groupId>org.apache.maven.plugins</groupId>
17+
<artifactId>maven-war-plugin</artifactId>
18+
<version>3.3.1</version>
19+
<configuration>
20+
<webXml>${webXmlPath}</webXml>
21+
</configuration>
22+
</plugin>
23+
<plugin>
24+
<groupId>org.apache.maven.plugins</groupId>
25+
<artifactId>maven-compiler-plugin</artifactId>
26+
<version>3.8.1</version>
27+
</plugin>
28+
</plugins>
29+
</build>
30+
1331
<dependencies>
1432
<dependency>
1533
<groupId>com.onelogin</groupId>
@@ -22,6 +40,11 @@
2240
<version>4.0.1</version>
2341
<scope>provided</scope>
2442
</dependency>
43+
<dependency>
44+
<groupId>ch.qos.logback</groupId>
45+
<artifactId>logback-classic</artifactId>
46+
<version>1.2.3</version>
47+
</dependency>
2548
</dependencies>
2649

2750
</project>

0 commit comments

Comments
 (0)