Skip to content

Commit

Permalink
OZ-196: Ozone package to include Ozone Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuisson committed Dec 15, 2023
1 parent 6e98fd0 commit d6f6fbb
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 261 deletions.
45 changes: 43 additions & 2 deletions distro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -362,21 +362,62 @@
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>package-distro-artifact</id>
<id>Package Distro Artifacts</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
<descriptor>${project.basedir}/src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>

<!-- Compile a dependency report -->
<plugin>
<groupId>net.mekomsolutions.maven.plugin</groupId>
<artifactId>dependency-tracker-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<executions>
<execution>
<id>Complile dependency report</id>
<phase>compile</phase>
<goals>
<goal>track</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Attach the dependency report to the build -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>Attach the dependency report</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>
${project.build.directory}/${project.artifactId}-${project.version}-dependencies.txt</file>
<type>txt</type>
<classifier>${dependencyReportClassifier}</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
20 changes: 20 additions & 0 deletions distro/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
<id>zip-distro-dir</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<outputDirectory>/</outputDirectory>
<directory>${project.build.directory}/${project.artifactId}-${project.version}</directory>
</fileSet>
</fileSets>
</assembly>
Loading

0 comments on commit d6f6fbb

Please sign in to comment.