Skip to content

Commit

Permalink
Added jersey-server for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck committed Jan 17, 2024
1 parent 4747d55 commit 1a1fed5
Showing 1 changed file with 7 additions and 131 deletions.
138 changes: 7 additions & 131 deletions pic-sure-auth-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<artifactId>pic-sure-auth-services</artifactId>
<packaging>war</packaging>
<properties>
<!--<jackson.version>1.8.6</jackson.version> -->
<jackson.version>2.10.0</jackson.version>
<xml.bind.version>2.3.0</xml.bind.version>
</properties>
<dependencies>

<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
<dependency>
<groupId>edu.harvard.hms.dbmi.avillach</groupId>
Expand Down Expand Up @@ -79,16 +79,6 @@
<artifactId>hibernate-envers</artifactId>
<version>5.2.5.Final</version>
</dependency>
<!--<dependency> -->
<!--<groupId>org.apache.cxf</groupId> -->
<!--<artifactId>cxf-rt-frontend-jaxrs</artifactId> -->
<!--<version>3.2.6</version> -->
<!--</dependency> -->
<!--<dependency> -->
<!--<groupId>org.apache.cxf</groupId> -->
<!--<artifactId>cxf-rt-rs-client</artifactId> -->
<!--<version>3.2.6</version> -->
<!--</dependency> -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
Expand All @@ -99,21 +89,6 @@
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<!--<dependency> -->
<!--<groupId>org.codehaus.jackson</groupId> -->
<!--<artifactId>jackson-core-asl</artifactId> -->
<!--<version>${jackson.version}</version> -->
<!--</dependency> -->
<!--<dependency> -->
<!--<groupId>org.codehaus.jackson</groupId> -->
<!--<artifactId>jackson-mapper-asl</artifactId> -->
<!--<version>${jackson.version}</version> -->
<!--</dependency> -->
<!--<dependency> -->
<!--<groupId>org.codehaus.jackson</groupId> -->
<!--<artifactId>jackson-jaxrs</artifactId> -->
<!--<version>${jackson.version}</version> -->
<!--</dependency> -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
Expand Down Expand Up @@ -152,6 +127,12 @@
<version>2.23.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
<version>2.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.spullara.mustache.java</groupId>
<artifactId>compiler</artifactId>
Expand Down Expand Up @@ -193,30 +174,6 @@
<artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
<version>2.0.0</version>
</dependency>

<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.containers/jersey-container-servlet -->
<!--&lt;!&ndash; https://mvnrepository.com/artifact/com.sun.jersey/jersey-servlet
&ndash;&gt; -->
<!--<dependency> -->
<!--<groupId>com.sun.jersey</groupId> -->
<!--<artifactId>jersey-servlet</artifactId> -->
<!--<version>1.19.4</version> -->
<!--</dependency> -->

<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.containers/jersey-container-servlet -->
<!--<dependency> -->
<!--<groupId>org.glassfish.jersey.containers</groupId> -->
<!--<artifactId>jersey-container-servlet</artifactId> -->
<!--<version>2.26</version> -->
<!--</dependency> -->
<!--&lt;!&ndash; https://mvnrepository.com/artifact/org.glassfish.jersey.ext/jersey-bean-validation
&ndash;&gt; -->
<!--<dependency> -->
<!--<groupId>org.glassfish.jersey.ext</groupId> -->
<!--<artifactId>jersey-bean-validation</artifactId> -->
<!--<version>2.26</version> -->
<!--</dependency> -->

</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
Expand All @@ -237,34 +194,6 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<!--<plugin> -->
<!--<groupId>org.apache.tomcat.maven</groupId> -->
<!--<artifactId>tomcat7-maven-plugin</artifactId> -->
<!--<version>2.0</version> -->
<!--<executions> -->
<!--<execution> -->
<!--<id>default-cli</id> -->
<!--<goals> -->
<!--<goal>run</goal> -->
<!--</goals> -->
<!--<configuration> -->
<!--<port>13000</port> -->
<!--<path>/jaxrs-service</path> -->
<!--<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader> -->
<!--</configuration> -->
<!--</execution> -->
<!--</executions> -->
<!--</plugin> -->
<!--<plugin> -->
<!--<groupId>org.apache.maven.plugins</groupId> -->
<!--<artifactId>maven-eclipse-plugin</artifactId> -->
<!--<configuration> -->
<!--<projectNameTemplate>[artifactId]-[version]</projectNameTemplate> -->
<!--<wtpmanifest>true</wtpmanifest> -->
<!--<wtpapplicationxml>true</wtpapplicationxml> -->
<!--<wtpversion>2.0</wtpversion> -->
<!--</configuration> -->
<!--</plugin> -->
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -313,59 +242,6 @@
</execution>
</executions>
</plugin>
<!--<plugin> -->
<!--<groupId>org.apache.tomcat.maven</groupId> -->
<!--<artifactId>tomcat7-maven-plugin</artifactId> -->
<!--<executions> -->
<!--<execution> -->
<!--<id>start-tomcat</id> -->
<!--<goals> -->
<!--<goal>run-war</goal> -->
<!--</goals> -->
<!--<phase>pre-integration-test</phase> -->
<!--<configuration> -->
<!--<port>${test.server.port}</port> -->
<!--<path>/jaxrs-service</path> -->
<!--<fork>true</fork> -->
<!--<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader> -->
<!--</configuration> -->
<!--</execution> -->
<!--<execution> -->
<!--<id>stop-tomcat</id> -->
<!--<goals> -->
<!--<goal>shutdown</goal> -->
<!--</goals> -->
<!--<phase>post-integration-test</phase> -->
<!--<configuration> -->
<!--<path>/jaxrs-service</path> -->
<!--</configuration> -->
<!--</execution> -->
<!--</executions> -->
<!--</plugin> -->
<!--<plugin> -->
<!--<groupId>org.apache.maven.plugins</groupId> -->
<!--<artifactId>maven-failsafe-plugin</artifactId> -->
<!--<version>2.8.1</version> -->
<!--<executions> -->
<!--<execution> -->
<!--<id>integration-test</id> -->
<!--<goals> -->
<!--<goal>integration-test</goal> -->
<!--</goals> -->
<!--<configuration> -->
<!--<systemPropertyVariables> -->
<!--<service.url>http://localhost:${test.server.port}/jaxrs-service</service.url> -->
<!--</systemPropertyVariables> -->
<!--</configuration> -->
<!--</execution> -->
<!--<execution> -->
<!--<id>verify</id> -->
<!--<goals> -->
<!--<goal>verify</goal> -->
<!--</goals> -->
<!--</execution> -->
<!--</executions> -->
<!--</plugin> -->
</plugins>
</build>
</project>

0 comments on commit 1a1fed5

Please sign in to comment.