Skip to content

Commit cab92d5

Browse files
committed
update: updated jspc dependency to skip jsp compile when building
1 parent b00c392 commit cab92d5

File tree

1 file changed

+38
-27
lines changed

1 file changed

+38
-27
lines changed

pom.xml

+38-27
Original file line numberDiff line numberDiff line change
@@ -1589,33 +1589,6 @@
15891589
</execution>
15901590
</executions>
15911591
</plugin>
1592-
1593-
<!-- https://mvnrepository.com/artifact/io.leonard.maven.plugins/jspc-maven-plugin -->
1594-
<plugin>
1595-
<groupId>io.leonard.maven.plugins</groupId>
1596-
<artifactId>jspc-maven-plugin</artifactId>
1597-
<version>3.0.0</version>
1598-
<executions>
1599-
<execution>
1600-
<id>jspc</id>
1601-
<goals>
1602-
<goal>compile</goal>
1603-
</goals>
1604-
<configuration>
1605-
<sourceDirectory>src/main/webapp</sourceDirectory>
1606-
<outputDirectory>src/main/jsp</outputDirectory>
1607-
<excludes>
1608-
<exclude>**/*.jspf</exclude>
1609-
<!-- Exclude the deprecated jsp file, the file is not using now -->
1610-
<exclude>oscarEncounter/oscarConsultationRequest/attachConsultation2.jsp</exclude>
1611-
<!-- Detect html taglib related errors, exclude for now -->
1612-
<exclude>PMmodule/Admin/Bed/Bed.jsp</exclude>
1613-
<exclude>PMmodule/Admin/AgencyEdit/bed.jsp</exclude>
1614-
</excludes>
1615-
</configuration>
1616-
</execution>
1617-
</executions>
1618-
</plugin>
16191592

16201593
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-war-plugin -->
16211594
<plugin>
@@ -2064,5 +2037,43 @@
20642037
</plugins>
20652038
</build>
20662039
</profile>
2040+
2041+
<profile>
2042+
<!-- Skip jsp compile, run 'mvn package -Pjspc' to compile jsps -->
2043+
<id>jspc</id>
2044+
<activation>
2045+
<activeByDefault>false</activeByDefault>
2046+
</activation>
2047+
<build>
2048+
<plugins>
2049+
<!-- https://mvnrepository.com/artifact/io.leonard.maven.plugins/jspc-maven-plugin -->
2050+
<plugin>
2051+
<groupId>io.leonard.maven.plugins</groupId>
2052+
<artifactId>jspc-maven-plugin</artifactId>
2053+
<version>3.0.0</version>
2054+
<executions>
2055+
<execution>
2056+
<id>jspc</id>
2057+
<goals>
2058+
<goal>compile</goal>
2059+
</goals>
2060+
<configuration>
2061+
<sourceDirectory>src/main/webapp</sourceDirectory>
2062+
<outputDirectory>src/main/jsp</outputDirectory>
2063+
<excludes>
2064+
<exclude>**/*.jspf</exclude>
2065+
<!-- Exclude the deprecated jsp file, the file is not using now -->
2066+
<exclude>oscarEncounter/oscarConsultationRequest/attachConsultation2.jsp</exclude>
2067+
<!-- Detect html taglib related errors, exclude for now -->
2068+
<exclude>PMmodule/Admin/Bed/Bed.jsp</exclude>
2069+
<exclude>PMmodule/Admin/AgencyEdit/bed.jsp</exclude>
2070+
</excludes>
2071+
</configuration>
2072+
</execution>
2073+
</executions>
2074+
</plugin>
2075+
</plugins>
2076+
</build>
2077+
</profile>
20672078
</profiles>
20682079
</project>

0 commit comments

Comments
 (0)