axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5830) Failed to execute goal com.github.veithen.phos:enforcer-maven-plugin:0.1.0:enforce (default) on project axiom-impl:
Date Tue, 10 Jan 2017 14:53:58 GMT
Martin Gainty created AXIS2-5830:
------------------------------------

             Summary: Failed to execute goal com.github.veithen.phos:enforcer-maven-plugin:0.1.0:enforce
(default) on project axiom-impl:
                 Key: AXIS2-5830
                 URL: https://issues.apache.org/jira/browse/AXIS2-5830
             Project: Axis2
          Issue Type: Bug
          Components: Integration
    Affects Versions: 1.7.4
         Environment: JDK 1.8
AXIOM 1.3.0
Axis 1.8
            Reporter: Martin Gainty


[ERROR] Failed to execute goal com.github.veithen.phos:enforcer-maven-plugin:0.1.0:enforce
(default) on project axiom-impl: Package cycle detected. Classes involved:
[ERROR] org.apache.axiom.om.impl.intf.AxiomAttribute -> org.apache.axiom.core.CoreNSAwareAttribute

Here is AxiomAttribute.java:
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.axiom.om.impl.mixin;

import org.apache.axiom.core.CoreModelException;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.impl.common.AxiomExceptionTranslator;
import org.apache.axiom.om.impl.common.AxiomSemantics;
import org.apache.axiom.om.impl.common.NSUtil;
import org.apache.axiom.om.impl.intf.AxiomAttribute;
import org.apache.axiom.om.impl.intf.AxiomElement;

public class AxiomAttributeSupport {
	public AxiomAttributeSupport() {}
	public AxiomElement omElement = null;
	public AxiomElement coreGetOwnerElement() { return this.omElement; }
    public AxiomElement getOwner() { return (AxiomElement)coreGetOwnerElement(); }
    public final void beforeSetLocalName() { if(this.localName!=null) this.localName="localName";
}
    public OMNamespace ns=null;
    public String localName="localName";
    public boolean decl=true;
	public void  internalSetNamespace(OMNamespace ns_param)
	{
	ns=org.apache.axiom.om.impl.common.NSUtil.handleNamespace(
		(AxiomElement)getOwner(),
		(OMNamespace)ns_param,
		(boolean)true,
		(boolean)decl);
	}

    public final void setNamespace(org.apache.axiom.om.OMNamespace namespace, boolean decl)
{
		this.ns=namespace;
        internalSetNamespace(org.apache.axiom.om.impl.common.NSUtil.handleNamespace((AxiomElement)getOwner(),
namespace, true, decl));
    }

    public final void setOMNamespace(OMNamespace omNamespace) {
		this.ns=omNamespace;
        internalSetNamespace(omNamespace);
    }
	public Object coreCharacterData = null;
	public String coreGetCharacterData() { return this.coreCharacterData.toString(); }
    public final String getAttributeValue() {
            return coreGetCharacterData(); 
    }
	public String value="value";
	public org.apache.axiom.om.impl.common.AxiomSemantics axiomSemantics   =null;
	public void coreSetCharacterData(String s, org.apache.axiom.om.impl.common.AxiomSemantics
axiomSemantics)
	{
		this.value =s;
		this.axiomSemantics = axiomSemantics;
	}
    public final void setAttributeValue(String value)
    {
            coreSetCharacterData(value, AxiomSemantics.INSTANCE);
    }
	public String attributeType="ELEMENT";
	public String coreGetType() { return this.attributeType; }
	public String coreSetType(String s) { this.attributeType = s; return s; }
    public final String getAttributeType() {
        return coreGetType();
    }

    public final void setAttributeType(String type) {
        coreSetType(type);
    }

    public final void build() {
        // TODO
    }
}

//where does org.apache.axiom.om.impl.intf.AxiomAttribute contain org.apache.axiom.core.CoreNSAwareAttribute?

until this plugin is fixed I will be disabling this plugin and using maven-enforcer-plugin
instead here is the plugin link:

http://maven.apache.org/enforcer/maven-enforcer-plugin/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message