You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2017/01/10 20:24:58 UTC

[jira] [Resolved] (AXIS2-5830) Failed to execute goal com.github.veithen.phos:enforcer-maven-plugin:0.1.0:enforce (default) on project axiom-impl:

     [ https://issues.apache.org/jira/browse/AXIS2-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-5830.
------------------------------------
    Resolution: Invalid

That's not a source file from Axiom. I don't know what you are building, but it's definitely not regular Axiom source code. Now stop creating nonsense bug reports.

> 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
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> [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