|
@@ -121,72 +121,6 @@
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</profile>
|
|
|
- <!-- Enables CAS configuration -->
|
|
|
- <profile>
|
|
|
- <id>cas</id>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>prepare-exploded-war</id>
|
|
|
- <goals>
|
|
|
- <goal>exploded</goal>
|
|
|
- </goals>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- </execution>
|
|
|
- <execution>
|
|
|
- <id>default-war</id>
|
|
|
- <configuration>
|
|
|
- <webXml>${project.build.directory}/${project.build.finalName}-cas/WEB-INF/web.xml</webXml>
|
|
|
- <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <!-- Replaces web.xml -->
|
|
|
- <plugin>
|
|
|
- <groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
- <artifactId>replacer</artifactId>
|
|
|
- <version>1.5.3</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>enable-cas</id>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- <goals>
|
|
|
- <goal>replace</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- <configuration>
|
|
|
- <ignoreErrors>true</ignoreErrors>
|
|
|
- <file>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</file>
|
|
|
- <outputDir>${project.build.directory}/${project.build.finalName}-cas/WEB-INF/</outputDir>
|
|
|
- <preserveDir>false</preserveDir>
|
|
|
- <replacements>
|
|
|
- <replacement>
|
|
|
- <token><![CDATA[<!-- uncomment and set parameters for CAS integration]]></token>
|
|
|
- <value><![CDATA[<!-- uncomment and set parameters for CAS integration -->]]></value>
|
|
|
- </replacement>
|
|
|
- <replacement>
|
|
|
- <token><![CDATA[ End CAS Config -->]]></token>
|
|
|
- <value><![CDATA[<!-- End CAS Config -->]]></value>
|
|
|
- </replacement>
|
|
|
- <replacement>
|
|
|
- <token><![CDATA[<!- cas-config-web.xml start ->]]></token>
|
|
|
- <value><![CDATA[<!-- cas-config-web.xml start -->]]></value>
|
|
|
- </replacement>
|
|
|
- <replacement>
|
|
|
- <token><![CDATA[<!- cas-config-web.xml end ->]]></token>
|
|
|
- <value><![CDATA[<!-- cas-config-web.xml end -->]]></value>
|
|
|
- </replacement>
|
|
|
- </replacements>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- </profile>
|
|
|
</profiles>
|
|
|
|
|
|
<build>
|
|
@@ -211,19 +145,6 @@
|
|
|
</excludes>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
- <plugin>
|
|
|
- <!-- This allows us to run: "mvn tomcat7:run", then we can open a browser to: http://localhost:8080/pwm -->
|
|
|
- <groupId>org.apache.tomcat.maven</groupId>
|
|
|
- <artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
- <version>2.2</version>
|
|
|
- <!-- See http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration
|
|
|
- if you want to configure this Use the hostname as the first/last name field -->
|
|
|
- <configuration>
|
|
|
- <httpsPort>8443</httpsPort>
|
|
|
- <keystorePass>changeit</keystorePass>
|
|
|
- <warSourceDirectory>${project.build.directory}/${project.build.finalName}</warSourceDirectory>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-source-plugin</artifactId>
|