Skip to content

Commit

Permalink
#1109 Manage dependencies and plugins in parent project
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlietz committed Dec 14, 2023
1 parent 6a75516 commit 64578c1
Show file tree
Hide file tree
Showing 17 changed files with 153 additions and 59 deletions.
1 change: 0 additions & 1 deletion containers/pax-exam-container-forked/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-reference</artifactId>
<version>${dependency.paxurl.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
1 change: 0 additions & 1 deletion itest/cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.5</version>
<configuration>
<streamLogs>true</streamLogs>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion itest/javaee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.5</version>
<configuration>
<streamLogs>true</streamLogs>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion itest/karaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.5</version>
<configuration>
<streamLogs>true</streamLogs>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion itest/osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.5</version>
<configuration>
<streamLogs>true</streamLogs>
</configuration>
Expand Down
2 changes: 0 additions & 2 deletions itest/osgi/src/it/regression-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-depends-file</id>
Expand All @@ -161,7 +160,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.12</version>
<executions>
<execution>
<goals>
Expand Down
107 changes: 74 additions & 33 deletions itest/osgi/src/it/regression-multi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,40 +23,36 @@
</properties>

<dependencies>
<!-- javax/jakarta -->
<dependency>
<groupId>org.ops4j.pax.exam.samples</groupId>
<artifactId>pax-exam-sample9-pde</artifactId>
<version>${project.version}</version>
<scope>test</scope>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam.samples</groupId>
<artifactId>pax-exam-sample11-wab</artifactId>
<version>${project.version}</version>
<scope>test</scope>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
<scope>provided</scope>
</dependency>

<!-- Pax Exam -->
<dependency>
<groupId>org.ops4j.pax.exam.samples</groupId>
<artifactId>pax-exam-sample8-ds</artifactId>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
<artifactId>pax-exam-link-assembly</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-link-mvn</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-cm</artifactId>
Expand All @@ -69,13 +65,13 @@
</exclusion>
</exclusions>
</dependency>

<!-- Apache Felix -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
<scope>test</scope>
</dependency>

<!-- OPS4J -->
<dependency>
<groupId>org.ops4j.pax.tinybundles</groupId>
<artifactId>tinybundles</artifactId>
Expand All @@ -86,8 +82,51 @@
</exclusion>
</exclusions>
</dependency>
<!--
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-exec</artifactId>
<scope>test</scope>
</dependency>
-->
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-lang</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-monitors</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-store</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-io</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-util-property</artifactId>
<scope>test</scope>
</dependency>

<!-- For sane logging -->
<dependency>
<groupId>org.ops4j.pax.swissbox</groupId>
<artifactId>pax-swissbox-framework</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.swissbox</groupId>
<artifactId>pax-swissbox-core</artifactId>
<scope>test</scope>
</dependency>
<!-- logging -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
Expand All @@ -111,44 +150,46 @@
<artifactId>jcl-over-slf4j</artifactId>
<scope>test</scope>
</dependency>

<!-- testing -->
<dependency>
<groupId>org.ops4j.pax.swissbox</groupId>
<artifactId>pax-swissbox-framework</artifactId>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.swissbox</groupId>
<artifactId>pax-swissbox-core</artifactId>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<!-- samples -->
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<groupId>org.ops4j.pax.exam.samples</groupId>
<artifactId>pax-exam-sample9-pde</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<groupId>org.ops4j.pax.exam.samples</groupId>
<artifactId>pax-exam-sample11-wab</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<scope>provided</scope>
<groupId>org.ops4j.pax.exam.samples</groupId>
<artifactId>pax-exam-sample8-ds</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>


</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-depends-file</id>
Expand Down
1 change: 0 additions & 1 deletion itest/osgi/src/it/regression-plumbing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-depends-file</id>
Expand Down
1 change: 0 additions & 1 deletion itest/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.5</version>
<configuration>
<streamLogs>true</streamLogs>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion itest/web/src/it/regression-web-spring-userprobe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-depends-file</id>
Expand Down
9 changes: 0 additions & 9 deletions maven/exam-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@
<version>${dependency.maven.version}</version>
</dependency>

<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>1.5.5</version>
</dependency>

</dependencies>
</dependencyManagement>

Expand All @@ -75,7 +69,6 @@
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.3</version>
</dependency>

<dependency>
Expand All @@ -91,7 +84,6 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-common-artifact-filters</artifactId>
<version>1.4</version>
</dependency>

<dependency>
Expand All @@ -118,7 +110,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.3</version>
<executions>
<execution>
<id>default-descriptor</id>
Expand Down
Loading

0 comments on commit 64578c1

Please sign in to comment.