Sollder11 commented on code in PR #1063: URL: https://github.com/apache/tomee/pull/1063#discussion_r1317584569
########## tck/jax-rs/pom.xml: ########## @@ -0,0 +1,243 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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> + <parent> + <groupId>org.apache.tomee</groupId> + <artifactId>tck</artifactId> + <version>10.0.0-SNAPSHOT</version> + </parent> + + <artifactId>jax-rs-tck</artifactId> + <name>TomEE :: TCK :: Jakarta-Restfull-WS-TCK</name> + + <properties> + <junit.jupiter.version>5.9.3</junit.jupiter.version> + <tomee-version>10.0.0-SNAPSHOT</tomee-version> + </properties> + + <repositories> + <!--TODO: We use the staging repository of jakarta as the tck dependencies are not yet pushed to central. Remove this asap.--> + <repository> + <id>my-repo1</id> + <name>TCK-Staging-Repo</name> + <url>https://jakarta.oss.sonatype.org/content/groups/staging</url> + </repository> + + </repositories> + + <profiles> + <profile> + <id>record-signature</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.netbeans.tools</groupId> + <artifactId>sigtest-maven-plugin</artifactId> + <version>1.4</version> + <executions> + <execution> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <configuration> + <FileName>${project.build.directory}/jakarta.ws.rs.sig_${project.parent.version}</FileName> + <packages> + jakarta.ws.rs,jakarta.ws.rs.client,jakarta.ws.rs.core,jakarta.ws.rs.container,jakarta.ws.rs.ext,jakarta.ws.rs.sse + </packages> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>tck-build</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>${surefire.version}</version> + <configuration> + <reuseForks>false</reuseForks> + <forkCount>1</forkCount> + <useFile>false</useFile> + <disableXmlReport>false</disableXmlReport> + + <includes> + <include>**/*.java</include> + </includes> + + <dependenciesToScan> + <dependency>jakarta.ws.rs:jakarta-restful-ws-tck</dependency> + </dependenciesToScan> + + <systemPropertyVariables> + <servlet_adaptor>org.apache.cxf.transport.servlet.CXFNonSpringServlet</servlet_adaptor> + <webServerHost>localhost</webServerHost> + <webServerPort>8080</webServerPort> + <!--web.home>/home/sollder1/opensource/tomee/JakartaEE10/container</web.home--> + <porting.ts.url.class.1>ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL + </porting.ts.url.class.1> + <!--signature.sigTestClasspath>TODO</signature.sigTestClasspath--> + <tomee.embedded.tck.enable_tracing>true</tomee.embedded.tck.enable_tracing> + </systemPropertyVariables> + + + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>3.2.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + </build> + </profile> + + + </profiles> + + <dependencies> + <dependency> + <artifactId>jakarta-restful-ws-tck</artifactId> + <groupId>jakarta.ws.rs</groupId> + <version>3.1.3-1</version> + </dependency> + <dependency> + <groupId>jakarta.ws.rs</groupId> + <artifactId>jakarta.ws.rs-api</artifactId> + <version>3.1.0</version> + </dependency> + <dependency> + <groupId>jakarta.json.bind</groupId> + <artifactId>jakarta.json.bind-api</artifactId> + <version>2.0.0</version> + </dependency> + <dependency> + <groupId>jakarta.json</groupId> + <artifactId>jakarta.json-api</artifactId> + <version>2.0.1</version> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter</artifactId> + <version>${junit.jupiter.version}</version> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-launcher</artifactId> + <version>1.9.3</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-httpclient</groupId> + <artifactId>commons-httpclient</artifactId> + <version>3.1</version> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-library</artifactId> + <version>[2.2, 2.3-A00)</version> + </dependency> + <dependency> + <groupId>org.jboss.arquillian.junit5</groupId> + <artifactId>arquillian-junit5-container</artifactId> + <version>1.7.0.Final</version> + </dependency> + <dependency> + <groupId>jakarta.annotation</groupId> + <artifactId>jakarta.annotation-api</artifactId> + <version>2.1.0-B1</version> + </dependency> + <dependency> + <groupId>jakarta.xml.bind</groupId> + <artifactId>jakarta.xml.bind-api</artifactId> + <version>4.0.0-RC2</version> Review Comment: The dependency is defined as such in the tck, I actually just removed this dependency completely now, as it comes transitively through the maven artifact of the tck. Therefore, we always have the intended Version, I suppose? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomee.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org