Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
1.7.4
-
None
-
None
-
JDK 1.8
AXIOM 1.3.0
Axis 1.8
Description
[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()
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)
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()
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)
public final void setAttributeValue(String value)
{ coreSetCharacterData(value, AxiomSemantics.INSTANCE); } public String attributeType="ELEMENT";
public String coreGetType()
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: