Debian Codegraph @

assertj-tests/assertj-integration-tests/assertj-core-osgi/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
4
5 <parent>
6 <groupId>org.assertj</groupId>
7 <artifactId>assertj-integration-tests</artifactId>
8 <version>3.26.3</version>
9 </parent>
10
11 <artifactId>assertj-core-osgi</artifactId>
12
13 <name>AssertJ Core Integration Tests - OSGi</name>
14
15 <properties>
16 <osgi.bundle>${project.build.directory}/${project.build.finalName}-tests.jar</osgi.bundle>
17 <rootDirectory>${project.basedir}/../../../</rootDirectory>
18 <spotless.skip>false</spotless.skip>
19 </properties>
20
21 <dependencyManagement>
22 <dependencies>
23 <dependency>
24 <groupId>org.eclipse.platform</groupId>
25 <artifactId>org.eclipse.osgi</artifactId>
26 <version>3.20.0</version>
27 <scope>test</scope>
28 </dependency>
29 </dependencies>
30 </dependencyManagement>
31
32 <dependencies>
33 <dependency>
34 <groupId>org.assertj</groupId>
35 <artifactId>assertj-core</artifactId>
36 <version>${project.version}</version>
37 <scope>test</scope>
38 </dependency>
39 <dependency>
40 <groupId>org.junit.jupiter</groupId>
41 <artifactId>junit-jupiter</artifactId>
42 <scope>test</scope>
43 </dependency>
44 </dependencies>
45
46 <build>
47 <plugins>
48 <plugin>
49 <groupId>biz.aQute.bnd</groupId>
50 <artifactId>bnd-maven-plugin</artifactId>
51 <executions>
52 <!-- Integration Test Configuration -->
53 <execution>
54 <id>test-jar</id>
55 <goals>
56 <goal>test-jar</goal>
57 </goals>
58 <configuration>
59 <bnd><![CDATA[
60 -noextraheaders: true
61 -snapshot: SNAPSHOT
62 -removeheaders: Private-Package
63 ]]></bnd>
64 </configuration>
65 </execution>
66 </executions>
67 </plugin>
68 <!-- Resolve bundles for OSGi integration tests -->
69 <plugin>
70 <groupId>biz.aQute.bnd</groupId>
71 <artifactId>bnd-resolver-maven-plugin</artifactId>
72 <executions>
73 <execution>
74 <id>osgi-integration-resolving</id>
75 <phase>pre-integration-test</phase>
76 <goals>
77 <goal>resolve</goal>
78 </goals>
79 <configuration>
80 <outputBndrunDir>${project.build.directory}</outputBndrunDir>
81 <bndruns>
82 <include>verify.bndrun</include>
83 </bndruns>
84 <bundles>
85 <bundle>${osgi.bundle}</bundle>
86 </bundles>
87 <failOnChanges>false</failOnChanges>
88 <reportOptional>false</reportOptional>
89 <includeDependencyManagement>true</includeDependencyManagement>
90 <scopes>
91 <scope>provided</scope>
92 <scope>compile</scope>
93 <scope>runtime</scope>
94 <scope>test</scope>
95 </scopes>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 <!-- Run OSGi integration tests -->
101 <plugin>
102 <groupId>biz.aQute.bnd</groupId>
103 <artifactId>bnd-testing-maven-plugin</artifactId>
104 <executions>
105 <execution>
106 <id>osgi-integration-testing</id>
107 <goals>
108 <goal>testing</goal>
109 </goals>
110 <configuration>
111 <bndrunDir>${project.build.directory}</bndrunDir>
112 <bndruns>
113 <include>verify.bndrun</include>
114 </bndruns>
115 <bundles>
116 <bundle>${osgi.bundle}</bundle>
117 </bundles>
118 <failOnChanges>false</failOnChanges>
119 <includeDependencyManagement>true</includeDependencyManagement>
120 <resolve>false</resolve>
121 <scopes>
122 <scope>provided</scope>
123 <scope>compile</scope>
124 <scope>runtime</scope>
125 <scope>test</scope>
126 </scopes>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-surefire-plugin</artifactId>
134 <configuration>
135 <skipTests>true</skipTests>
136 </configuration>
137 </plugin>
138 </plugins>
139 </build>
140
141 </project>