Skip to content

Commit

Permalink
Fix mojohaus#358 NPE on site generation caused by null returned by de…
Browse files Browse the repository at this point in the history
…precated MavenProject.getDependencyArtifacts()
  • Loading branch information
Wych-Dev committed Apr 12, 2020
1 parent 01fd9a1 commit 05905d6
Show file tree
Hide file tree
Showing 10 changed files with 347 additions and 233 deletions.
Empty file modified pom.xml
100644 → 100755
Empty file.
11 changes: 11 additions & 0 deletions src/it/ISSUE-358/child-1/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.tomred</groupId>
<artifactId>ISSUE-358</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>child-1</artifactId>
</project>
2 changes: 2 additions & 0 deletions src/it/ISSUE-358/invoker.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
invoker.goals=clean site
invoker.failureBehavior=fail-fast
51 changes: 51 additions & 0 deletions src/it/ISSUE-358/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.tomred</groupId>
<artifactId>ISSUE-358</artifactId>
<version>0.0.1-SNAPSHOT</version>

<packaging>pom</packaging>

<modules>
<module>child-1</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>@pom.version@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.0</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-site-renderer</artifactId>
<version>1.9.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>@pom.version@</version>
</plugin>
</plugins>
</reporting>
</project>
Loading

0 comments on commit 05905d6

Please sign in to comment.