Skip to content

Commit

Permalink
Issue #417: BOM should not inherit build setup from parent POM
Browse files Browse the repository at this point in the history
- Introduced intermediary POM to isolate the BOM (at least until we go for Maven 4)
  • Loading branch information
reckart committed Nov 18, 2024
1 parent d2a5847 commit 7016463
Show file tree
Hide file tree
Showing 44 changed files with 969 additions and 922 deletions.
4 changes: 2 additions & 2 deletions PearPackagingMavenPlugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>PearPackagingMavenPlugin</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions aggregate-uimaj-eclipse-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>aggregate-uimaj-eclipse-plugins</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions aggregate-uimaj/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>aggregate-uimaj</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions jVinci/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>jVinci</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions jcasgen-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<!-- This artifact name follows the conventions described
Expand Down
71 changes: 36 additions & 35 deletions jcasgen-maven-plugin/src/it/simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,44 @@
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>test</groupId>
<artifactId>simple</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<groupId>test</groupId>
<artifactId>simple</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.uima</groupId>
<artifactId>jcasgen-maven-plugin</artifactId>
<version>@project.version@</version>
<configuration>
<typeSystemIncludes>
<typeSystemInclude>src/main/resources/TypeSystem.xml</typeSystemInclude>
</typeSystemIncludes>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>@project.version@</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.uima</groupId>
<artifactId>jcasgen-maven-plugin</artifactId>
<version>@project.version@</version>
<configuration>
<typeSystemIncludes>
<typeSystemInclude>src/main/resources/TypeSystem.xml</typeSystemInclude>
</typeSystemIncludes>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>@project.version@</version>
</dependency>
</dependencies>
</project>
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>uimaj-parent/pom.xml</relativePath>
<relativePath>uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimaj</artifactId>
Expand All @@ -52,8 +52,9 @@
</properties>

<modules>
<module>uimaj-bom</module>
<module>uimaj-parent</module>
<module>uimaj-bom</module>
<module>uimaj-parent-internal</module>
<module>aggregate-uimaj</module>
</modules>

Expand Down
4 changes: 2 additions & 2 deletions uima-bnd-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uima-bnd-plugin</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions uimafit-assertj/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-assertj</artifactId>
<packaging>bundle</packaging>

<name>Apache UIMA uimaFIT - AssertJ support</name>
<name>Apache UIMA uimaFIT: AssertJ support</name>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions uimafit-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-benchmark</artifactId>
<packaging>jar</packaging>
<name>Apache UIMA uimaFIT - Benchmark</name>
<name>Apache UIMA uimaFIT: Benchmark</name>
<description>Factories, Injection, and Testing library for UIMA</description>
<url>${uimaWebsiteUrl}</url>

Expand Down
6 changes: 3 additions & 3 deletions uimafit-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-core</artifactId>
<packaging>bundle</packaging>

<name>Apache UIMA uimaFIT - Core</name>
<name>Apache UIMA uimaFIT: Core</name>
<description>Factories, Injection, and Testing library for UIMA</description>
<url>${uimaWebsiteUrl}</url>

Expand Down
6 changes: 3 additions & 3 deletions uimafit-cpe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-cpe</artifactId>
<packaging>bundle</packaging>

<name>Apache UIMA uimaFIT - Collection Processing Engine support</name>
<name>Apache UIMA uimaFIT: Collection Processing Engine support</name>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions uimafit-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-examples</artifactId>
<name>Apache UIMA uimaFIT - Examples</name>
<name>Apache UIMA uimaFIT: Examples</name>
<description>Factories, Injection, and Testing library for UIMA</description>
<url>${uimaWebsiteUrl}</url>

Expand Down
6 changes: 3 additions & 3 deletions uimafit-junit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-junit</artifactId>
<packaging>bundle</packaging>

<name>Apache UIMA uimaFIT - JUnit support</name>
<name>Apache UIMA uimaFIT: JUnit support</name>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions uimafit-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>

<name>Apache UIMA uimaFIT - Maven Plugin</name>
<name>Apache UIMA uimaFIT: Maven Plugin</name>
<url>${uimaWebsiteUrl}</url>
<inceptionYear>2012</inceptionYear>

Expand Down
6 changes: 3 additions & 3 deletions uimafit-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimafit-spring</artifactId>
<packaging>jar</packaging>
<name>Apache UIMA uimaFIT - Spring integration</name>
<name>Apache UIMA uimaFIT: Spring integration</name>
<description>Factories, Injection, and Testing library for UIMA</description>
<url>${uimaWebsiteUrl}</url>

Expand Down
4 changes: 2 additions & 2 deletions uimaj-adapter-vinci/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimaj-adapter-vinci</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion uimaj-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<artifactId>uimaj-bom</artifactId>
<packaging>pom</packaging>

<name>Apache UIMA - BOM</name>
<name>Apache UIMA Java SDK: BOM</name>

<dependencyManagement>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions uimaj-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimaj-bootstrap</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions uimaj-component-test-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimaj-component-test-util</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions uimaj-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimaj-core</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions uimaj-cpe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<artifactId>uimaj-parent-internal</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
<relativePath>../uimaj-parent-internal/pom.xml</relativePath>
</parent>

<artifactId>uimaj-cpe</artifactId>
Expand Down
Loading

0 comments on commit 7016463

Please sign in to comment.