Skip to content

Commit

Permalink
Minimized BOM dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Oct 9, 2024
1 parent a68cc1f commit 08c8339
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 68 deletions.
5 changes: 5 additions & 0 deletions phive-rules-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,26 +65,31 @@
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
<version>${ph-cii.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl20</artifactId>
<version>${ph-ubl.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl22</artifactId>
<version>${ph-ubl.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl23</artifactId>
<version>${ph-ubl.version}</version>
<optional>true</optional>
</dependency>

Expand Down
6 changes: 2 additions & 4 deletions phive-rules-cii/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@
</developers>

<dependencies>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-commons</artifactId>
</dependency>
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
<version>${ph-cii.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand All @@ -80,6 +77,7 @@
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-testfiles</artifactId>
<version>${ph-cii.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
1 change: 1 addition & 0 deletions phive-rules-cius-pt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
1 change: 1 addition & 0 deletions phive-rules-cius-ro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
5 changes: 1 addition & 4 deletions phive-rules-ebinterface/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@
</developers>

<dependencies>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-commons</artifactId>
</dependency>
<dependency>
<groupId>com.helger</groupId>
<artifactId>ph-ebinterface</artifactId>
<version>${ph-ebinterface.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
2 changes: 2 additions & 0 deletions phive-rules-ehf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl22</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
2 changes: 2 additions & 0 deletions phive-rules-en16931/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
<version>${ph-cii.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
1 change: 1 addition & 0 deletions phive-rules-energieefactuur/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
1 change: 1 addition & 0 deletions phive-rules-fatturapa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<dependency>
<groupId>com.helger</groupId>
<artifactId>ph-fatturapa</artifactId>
<version>${ph-fatturapa.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
2 changes: 2 additions & 0 deletions phive-rules-oioubl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl20</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
1 change: 1 addition & 0 deletions phive-rules-peppol-italy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
17 changes: 1 addition & 16 deletions phive-rules-peppol-legacy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,6 @@
</developers>

<dependencies>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-commons</artifactId>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
</dependency>
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
<artifactId>phive-rules-api</artifactId>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
<artifactId>phive-rules-peppol</artifactId>
Expand All @@ -83,6 +67,7 @@
<dependency>
<groupId>com.helger.peppol</groupId>
<artifactId>peppol-testfiles</artifactId>
<version>${peppol-commons.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions phive-rules-peppol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,20 @@
</developers>

<dependencies>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-commons</artifactId>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl23</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
<version>${ph-cii.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand All @@ -93,6 +92,7 @@
<dependency>
<groupId>com.helger.peppol</groupId>
<artifactId>peppol-testfiles</artifactId>
<version>${peppol-commons.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
3 changes: 3 additions & 0 deletions phive-rules-simplerinvoicing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
<version>${ph-cii.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand All @@ -85,6 +87,7 @@
<dependency>
<groupId>com.helger.peppol</groupId>
<artifactId>peppol-testfiles</artifactId>
<version>${peppol-commons.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 6 additions & 0 deletions phive-rules-ubl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,27 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl20</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl22</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl23</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl24</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand All @@ -96,6 +101,7 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl-testfiles</artifactId>
<version>${ph-ubl.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
1 change: 1 addition & 0 deletions phive-rules-ublbe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
2 changes: 2 additions & 0 deletions phive-rules-xrechnung/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-d16b</artifactId>
<version>${ph-cii.version}</version>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl21</artifactId>
<version>${ph-ubl.version}</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down
45 changes: 5 additions & 40 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,13 @@
<jaxb-plugin.group>org.jvnet.jaxb</jaxb-plugin.group>
<jaxb-plugin.artifact>jaxb-maven-plugin</jaxb-plugin.artifact>
<jaxb-plugin.version>4.0.8</jaxb-plugin.version>
<peppol-commons.version>9.5.1</peppol-commons.version>
<ph-cii.version>3.0.2</ph-cii.version>
<ph-ebinterface.version>7.1.0</ph-ebinterface.version>
<ph-fatturapa.version>2.0.2</ph-fatturapa.version>
<ph-jaxb-plugin.version>4.0.3</ph-jaxb-plugin.version>
<ph-schematron.version>8.0.3</ph-schematron.version>
<ph-ubl.version>9.0.3</ph-ubl.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -100,46 +105,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.helger.ubl</groupId>
<artifactId>ph-ubl-parent-pom</artifactId>
<version>9.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.helger.cii</groupId>
<artifactId>ph-cii-parent-pom</artifactId>
<version>3.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.helger</groupId>
<artifactId>ph-ebinterface</artifactId>
<version>7.1.0</version>
</dependency>
<dependency>
<groupId>com.helger</groupId>
<artifactId>ph-fatturapa</artifactId>
<version>2.0.2</version>
</dependency>
<!-- this is only needed for the test files -->
<dependency>
<groupId>com.helger.web</groupId>
<artifactId>ph-web-parent-pom</artifactId>
<version>10.1.9</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- this is only needed for the test files -->
<dependency>
<groupId>com.helger.peppol</groupId>
<artifactId>peppol-commons-parent-pom</artifactId>
<version>9.5.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>com.helger.phive.rules</groupId>
Expand Down

0 comments on commit 08c8339

Please sign in to comment.