Skip to content

Commit c7f3512

Browse files
committed
Re-arranged the build so that the parts that have been extracted to plugins are built properly even when running directly in the "distribution" folder rather than at the top-level of the gcp tree.
1 parent 83a6cab commit c7f3512

File tree

17 files changed

+18
-18
lines changed

17 files changed

+18
-18
lines changed
File renamed without changes.

distribution/pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
threads on a single machine.
1717
</description>
1818

19+
<modules>
20+
<module>plugins/arc-input</module>
21+
<module>plugins/mimir-output</module>
22+
</modules>
23+
1924
<build>
2025
<plugins>
2126
<plugin>
@@ -53,6 +58,12 @@
5358
<version>1.2.3</version>
5459
</dependency>
5560

61+
<dependency>
62+
<groupId>uk.ac.gate</groupId>
63+
<artifactId>gcp-cli</artifactId>
64+
<version>3.3-SNAPSHOT</version>
65+
<scope>provided</scope>
66+
</dependency>
5667
</dependencies>
5768

5869
<distributionManagement>

distribution/src/assembly/distro.xml

+7-16
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,17 @@
3636
<useProjectArtifact>false</useProjectArtifact>
3737
<unpack>false</unpack>
3838
</dependencySet>
39+
<dependencySet>
40+
<scope>provided</scope>
41+
<outputDirectory></outputDirectory>
42+
<useProjectArtifact>false</useProjectArtifact>
43+
<unpack>false</unpack>
44+
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
45+
</dependencySet>
3946
</dependencySets>
4047

4148
<moduleSets>
4249
<moduleSet>
43-
<useAllReactorProjects>true</useAllReactorProjects>
44-
<includes>
45-
<include>uk.ac.gate:gcp-cli</include>
46-
</includes>
47-
<binaries>
48-
<outputDirectory></outputDirectory>
49-
<unpack>false</unpack>
50-
<includeDependencies>false</includeDependencies>
51-
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
52-
</binaries>
53-
</moduleSet>
54-
<moduleSet>
55-
<useAllReactorProjects>true</useAllReactorProjects>
56-
<includes>
57-
<include>uk.ac.gate:gcp-plugin-*</include>
58-
</includes>
5950
<binaries>
6051
<attachmentClassifier>distro</attachmentClassifier>
6152
<includeDependencies>false</includeDependencies>

pom.xml

-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060
<modules>
6161
<module>api</module>
6262
<module>impl</module>
63-
<module>plugins/arc-input</module>
64-
<module>plugins/mimir-output</module>
6563
<module>cli</module>
6664
<module>distribution</module>
6765
</modules>

0 commit comments

Comments
 (0)