mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-19 01:57:06 +01:00
renamed modules and fixed errors with various lifecycle stages
This commit is contained in:
34
pom.xml
34
pom.xml
@@ -24,12 +24,12 @@ Copyright (c) 2012 - Jeremy Long
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
<module>dependency-check-core</module>
|
||||
<module>dependency-check-cli</module>
|
||||
<module>dependency-check-ant</module>
|
||||
<module>dependency-check-maven</module>
|
||||
<module>dependency-check-utils</module>
|
||||
<module>dependency-check-plugin</module>
|
||||
<module>utils</module>
|
||||
<module>core</module>
|
||||
<module>cli</module>
|
||||
<module>ant</module>
|
||||
<module>maven</module>
|
||||
<module>archetype</module>
|
||||
<module>build-reporting</module>
|
||||
</modules>
|
||||
<name>Dependency-Check</name>
|
||||
@@ -379,6 +379,26 @@ Copyright (c) 2012 - Jeremy Long
|
||||
</scripts>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>add-dynamic-properties-site</id>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>execute</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<scripts>
|
||||
<script><![CDATA[
|
||||
if ("dependency-check-parent".equals("${project.artifactId}")) {
|
||||
config = "file:///${project.basedir}/src/main/config"
|
||||
} else {
|
||||
config = "file:///${project.basedir}/../src/main/config"
|
||||
}
|
||||
project.properties['odc.config']= config
|
||||
]]></script>
|
||||
</scripts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@@ -630,7 +650,7 @@ Copyright (c) 2012 - Jeremy Long
|
||||
<configuration>
|
||||
<target name="copy xsd to site">
|
||||
<copy todir="target/site/">
|
||||
<fileset dir="dependency-check-core/src/main/resources/schema/">
|
||||
<fileset dir="core/src/main/resources/schema/">
|
||||
<include name="**/*.xsd"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
Reference in New Issue
Block a user