[
https://issues.apache.org/jira/browse/GERONIMO-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Aure updated GERONIMO-6791:
--------------------------------
Component/s: (was: general)
geronimo-maven-plugin
Labels: Artifactory commonj geronimo geronimo-spec maven (was: )
Priority: Blocker (was: Critical)
> apache /geronimo-specs commonj out of sync with maven central
> -------------------------------------------------------------
>
> Key: GERONIMO-6791
> URL: https://issues.apache.org/jira/browse/GERONIMO-6791
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: geronimo-maven-plugin
> Reporter: Kyle Aure
> Priority: Blocker
> Labels: Artifactory, commonj, geronimo, geronimo-spec, maven
>
> Commonj-1.1 spec jar is published in maven central here:
> [https://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-commonj_1.1_spec/1.0]
>
> But this jar does not match with the code present in source here:
> [https://github.com/apache/geronimo-specs/tree/trunk/geronimo-commonj_1.1_spec]
>
> Example: *commonj.timers.work.WorkCompletedException*
> JAR:
> {code:java}
> public class WorkCompletedException extends Exception {
> public WorkCompletedException() {}
>
> public WorkCompletedException(String message) {
> super(message);
> }
>
> public WorkCompletedException(String message, Throwable cause) {
> super(message, cause);
> }
>
> public WorkCompletedException(Throwable cause) {
> super(cause);
> }
> }
> {code}
>
> Source:
> {code:java}
> public class WorkCompletedException extends WorkException {
> List exceptionList;
>
> public WorkCompletedException() {}
>
> public WorkCompletedException(String paramString) {
> super(paramString);
> }
>
> public WorkCompletedException(String paramString, Throwable paramThrowable)
> {
> super(paramString, paramThrowable);
> }
>
> public WorkCompletedException(Throwable paramThrowable) {
> super(paramThrowable);
> }
>
> public WorkCompletedException(String paramString, List paramList) {
> super(paramString);
> this.exceptionList = paramList;
> }
>
> public List getExceptionList() {
> if (this.exceptionList == null && getCause() != null) {
> ArrayList arrayList = new ArrayList();
> arrayList.add(getCause());
> return arrayList;
> }
> return this.exceptionList;
> }
> }
> {code}
> Could we release a 1.1 update to this artifact in maven central with the
> correct API?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)