Skip to content

Commit

Permalink
build: drop unnecessary dependencies
Browse files Browse the repository at this point in the history
* drop javax.xml.bind:jaxb-api
* drop org.glassfish.jaxb:jaxb-runtime
* drop javax.activation:javax.activation-api
* drop javax:javaee-web-api
  • Loading branch information
NiccoMlt committed Oct 18, 2024
1 parent 3a42f72 commit 7b1e388
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 59 deletions.
15 changes: 0 additions & 15 deletions carapace-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,21 +185,6 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${libs.jaxws.jaxb-api}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${libs.jaxws.jaxb-impl}</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>${libs.javaxactivation-api}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
41 changes: 0 additions & 41 deletions carapace-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,9 @@
<carapace.ui.dir>src/main/webapp</carapace.ui.dir>
</properties>

<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<endorseddirs>${endorsed.dir}</endorseddirs>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
Expand All @@ -52,29 +34,6 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>${endorsed.dir}</outputDirectory>
<silent>true</silent>
<artifactItems>
<artifactItem>
<groupId>javax</groupId>
<artifactId>javaee-endorsed-api</artifactId>
<version>7.0</version>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down
3 changes: 0 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@
<libs.jetty>9.4.44.v20210927</libs.jetty>
<libs.jersey>2.35</libs.jersey>
<libs.jackson>2.14.1</libs.jackson>
<libs.jaxws.jaxb-api>2.3.1</libs.jaxws.jaxb-api>
<libs.jaxws.jaxb-impl>3.0.2</libs.jaxws.jaxb-impl>
<libs.javaxactivation-api>1.2.0</libs.javaxactivation-api>
<libs.slf4j>1.7.35</libs.slf4j>
<libs.guava>31.1-jre</libs.guava>
<libs.lombok>1.18.32</libs.lombok>
Expand Down

0 comments on commit 7b1e388

Please sign in to comment.