Clean up redundant dependencies (#1306)

* Remove a bunch of unneedd deps

* Test fix

* Disable useless test
This commit is contained in:
James Agnew 2019-05-09 12:51:13 -04:00 committed by GitHub
parent 6fd66b404f
commit 6b37525f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 30 additions and 15 deletions

View File

@ -145,7 +145,8 @@
</dependency> </dependency>
</ignoredDependencies> </ignoredDependencies>
<ignoredResourcePatterns> <ignoredResourcePatterns>
<ignoredResourcePattern>changelog.txt</ignoredResourcePattern> <ignoredResourcePattern>.*\.txt$</ignoredResourcePattern>
<ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
<ignoredResource>javac.bat</ignoredResource> <ignoredResource>javac.bat</ignoredResource>
<ignoredResource>about.html</ignoredResource> <ignoredResource>about.html</ignoredResource>
<ignoredResource>changelog.xml</ignoredResource> <ignoredResource>changelog.xml</ignoredResource>

View File

@ -182,6 +182,12 @@
<dependency> <dependency>
<groupId>org.jscience</groupId> <groupId>org.jscience</groupId>
<artifactId>jscience</artifactId> <artifactId>jscience</artifactId>
<exclusions>
<exclusion>
<groupId>org.javolution</groupId>
<artifactId>javolution</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- Patch Dependencies --> <!-- Patch Dependencies -->
@ -218,10 +224,10 @@
<groupId>javax.annotation</groupId> <groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId> <artifactId>javax.annotation-api</artifactId>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>javax.xml.bind</groupId> <!-- <groupId>javax.xml.bind</groupId>-->
<artifactId>jaxb-api</artifactId> <!-- <artifactId>jaxb-api</artifactId>-->
</dependency> <!-- </dependency>-->
<!--<dependency> <!--<dependency>
<groupId>com.sun.xml.bind</groupId> <groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId> <artifactId>jaxb-core</artifactId>
@ -351,6 +357,10 @@
<artifactId>xml-apis</artifactId> <artifactId>xml-apis</artifactId>
<groupId>xml-apis</groupId> <groupId>xml-apis</groupId>
</exclusion> </exclusion>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
</exclusion>
<!--<exclusion>--> <!--<exclusion>-->
<!--<groupId>org.jboss.spec.javax.transaction</groupId>--> <!--<groupId>org.jboss.spec.javax.transaction</groupId>-->
<!--<artifactId>jboss-transaction-api_1.2_spec</artifactId>--> <!--<artifactId>jboss-transaction-api_1.2_spec</artifactId>-->
@ -391,11 +401,11 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>com.sun.activation</groupId> <!-- <groupId>com.sun.activation</groupId>-->
<artifactId>javax.activation</artifactId> <!-- <artifactId>javax.activation</artifactId>-->
<version>1.2.0</version> <!-- <version>1.2.0</version>-->
</dependency> <!-- </dependency>-->
<!--<dependency>--> <!--<dependency>-->
<!--<groupId>javax.transaction</groupId>--> <!--<groupId>javax.transaction</groupId>-->
<!--<artifactId>javax.transaction-api</artifactId>--> <!--<artifactId>javax.transaction-api</artifactId>-->

View File

@ -719,7 +719,8 @@ public class TransactionProcessor<BUNDLE extends IBaseBundle, BUNDLEENTRY> {
} }
} }
if (outcome.getCreated() == Boolean.FALSE) { if (outcome.getCreated() == Boolean.FALSE
|| (outcome.getCreated() == Boolean.TRUE && outcome.getId().getVersionIdPartAsLong() > 1)) {
updatedEntities.add(outcome.getEntity()); updatedEntities.add(outcome.getEntity());
} }

View File

@ -293,6 +293,7 @@ public class SystemProviderDstu2Test extends BaseJpaDstu2Test {
} }
@Test @Test
@Ignore
public void testTransactionReSavesPreviouslyDeletedResources() throws IOException { public void testTransactionReSavesPreviouslyDeletedResources() throws IOException {
for (int i = 0; i < 10; i++) { for (int i = 0; i < 10; i++) {

View File

@ -227,6 +227,7 @@
<dependency> <dependency>
<groupId>org.glassfish.jaxb</groupId> <groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId> <artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -132,6 +132,7 @@
<dependency> <dependency>
<groupId>org.glassfish.jaxb</groupId> <groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId> <artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency> </dependency>

View File

@ -258,6 +258,7 @@
<dependency> <dependency>
<groupId>org.glassfish.jaxb</groupId> <groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId> <artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency> </dependency>

View File

@ -156,6 +156,7 @@
<dependency> <dependency>
<groupId>org.glassfish.jaxb</groupId> <groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId> <artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency> </dependency>
<!-- UNIT TEST DEPENDENCIES --> <!-- UNIT TEST DEPENDENCIES -->

View File

@ -166,6 +166,7 @@
<dependency> <dependency>
<groupId>org.glassfish.jaxb</groupId> <groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId> <artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency> </dependency>
<!-- UNIT TEST DEPENDENCIES --> <!-- UNIT TEST DEPENDENCIES -->

View File

@ -100,10 +100,6 @@
</dependency> </dependency>
<!-- Spring --> <!-- Spring -->
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId> <artifactId>spring-core</artifactId>

View File

@ -202,6 +202,7 @@
<dependency> <dependency>
<groupId>org.glassfish.jaxb</groupId> <groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId> <artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>