Skip to content

Commit

Permalink
Merge pull request #488 from spyrkob/remove_dist_common_dependency_1.1
Browse files Browse the repository at this point in the history
Remove dist-common module from dependencies included in standalone FP
  • Loading branch information
spyrkob authored Oct 24, 2023
2 parents f710d74 + ef5a3ba commit 1e5d31e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 36 deletions.
54 changes: 29 additions & 25 deletions dist/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<modelVersion>4.0.0</modelVersion>
<artifactId>prospero-dist-common</artifactId>
<packaging>jar</packaging>
<packaging>pom</packaging>

<properties>
<prospero.script.path>packages/org.jboss.prospero/content/bin/</prospero.script.path>
Expand Down Expand Up @@ -39,10 +39,38 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-sources</id>
<phase>compile</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
</resources>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-sources</id>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>generate-sources</id>
<phase>compile</phase>
Expand All @@ -60,30 +88,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>assemble</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<recompressZippedFiles>true</recompressZippedFiles>
<finalName>${project.build.finalName}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}</outputDirectory>
<workDirectory>${project.build.directory}/assembly/work</workDirectory>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<dependency>
<groupId>org.wildfly.prospero</groupId>
<artifactId>prospero-dist-common</artifactId>
<type>pom</type>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
12 changes: 1 addition & 11 deletions dist/standalone-galleon-pack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<dependency>
<groupId>org.wildfly.prospero</groupId>
<artifactId>prospero-dist-common</artifactId>
<type>pom</type>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -554,17 +555,6 @@
</exclusions>
</dependency>

<dependency>
<groupId>org.wildfly.galleon-plugins</groupId>
<artifactId>wildfly-config-gen</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.wildfly.galleon-plugins</groupId>
<artifactId>wildfly-galleon-plugins</artifactId>
Expand Down
1 change: 1 addition & 0 deletions dist/wildfly-galleon-pack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<dependency>
<groupId>org.wildfly.prospero</groupId>
<artifactId>prospero-dist-common</artifactId>
<type>pom</type>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down

0 comments on commit 1e5d31e

Please sign in to comment.