Project

General

Profile

Bug #7535

replication pom does not scope apacheds-all dependency as test

Added by Robert Waltz about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
d1_cn_process_daemon
Start date:
2015-12-09
Due date:
% Done:

100%

Story Points:
Sprint:

Description

the pom file of replication uses d1_test_resources for its unit tests. In doing so, the apacheds-all artifact must be included for correct functioning. The apacheds-all artifact includes the bouncycastle classes and resources in itself.

Downstream projects will include the apacheds-all artifact. The bouncycastle classes in the apacheds-all artifact will conflict with dataone use of bouncycastle and result in classloader errors.

The apacheds-all artifact should be scoped as 'test' in the replication pom to prohibit downstream inclusion into the d1-process-daemon.

Associated revisions

Revision 17174
Added by Robert Waltz about 9 years ago

refs #7535

change the scope of apacheds-all to test

Revision 17174
Added by Robert Waltz about 9 years ago

refs #7535

change the scope of apacheds-all to test

Revision 17181
Added by Robert Waltz about 9 years ago

refs #7535

change the scope of apacheds-all to test

Revision 17181
Added by Robert Waltz about 9 years ago

refs #7535

change the scope of apacheds-all to test

History

#1 Updated by Robert Waltz about 9 years ago

  • % Done changed from 0 to 30
  • Status changed from New to In Progress

#2 Updated by Robert Waltz about 9 years ago

  • Target version changed from CCI-2.0.2 to CCI-2.1.0

#3 Updated by Robert Waltz about 9 years ago

http://stackoverflow.com/questions/17212410/itext-bouncycastle-throws-java-lang-verifyerror-class-overrides-final-method

exploded d1_process_daemon jar of failed run
cn-dev-ucsb-1:~/tmp/d1_process_daemon/org/bouncycastle/asn1# javap ASN1Object.class | grep equals
public final boolean equals(java.lang.Object);
cn-dev-ucsb-1:~/tmp/d1_process_daemon/org/bouncycastle/asn1# javap ASN1Primitive.class | grep equals
public final boolean equals(java.lang.Object);

exploded d1_process_daemon jar of successful run
cn-dev-ucsb-1:~/tmp/d1_process_daemon/org/bouncycastle/asn1# javap ASN1Object.class | grep equals
public boolean equals(java.lang.Object);
cn-dev-ucsb-1:~/tmp/d1_process_daemon/org/bouncycastle/asn1# javap ASN1Primitive.class | grep equals
public final boolean equals(java.lang.Object);

#4 Updated by Robert Waltz about 9 years ago

  • Target version changed from CCI-2.1.0 to CCI-2.0.2

#5 Updated by Robert Waltz about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)