Skip to content

Commit

Permalink
Merge pull request #32 from hakan42/patch-dependency-information
Browse files Browse the repository at this point in the history
Show dependency information on build
  • Loading branch information
geir-eilertsen authored Nov 26, 2024
2 parents c19fec6 + e6e98c0 commit 6a59a5b
Showing 1 changed file with 61 additions and 1 deletion.
62 changes: 61 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<maven.compiler.source>22</maven.compiler.source>
<maven.compiler.target>22</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<exec-maven-plugin.version>3.5.0</exec-maven-plugin.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -79,4 +80,63 @@
</repository>
</repositories>

</project>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<executions>
<execution>
<id>effective-pom</id>
<phase>initialize</phase>
<goals>
<goal>effective-pom</goal>
</goals>
<configuration>
<verbose>true</verbose>
<output>${project.build.directory}/effective-pom.xml</output>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>dependency-list</id>
<phase>initialize</phase>
<goals>
<goal>list</goal>
</goals>
<configuration>
<sort>true</sort>
<outputFile>${project.build.directory}/dependencies-list.txt</outputFile>
</configuration>
</execution>
<execution>
<id>dependency-tree</id>
<phase>initialize</phase>
<goals>
<goal>tree</goal>
</goals>
<configuration>
<outputFile>${project.build.directory}/dependencies-tree.txt</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 6a59a5b

Please sign in to comment.