[ 
https://issues.apache.org/jira/browse/AXIS2-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121343#comment-13121343
 ] 

Andreas Veithen commented on AXIS2-5145:
----------------------------------------

Here is a more thorough analysis why the org.apache.axiom.om.impl.* imports 
started to appear in the bundle manifest:

org.apache.axiom.om.impl.dom appears in all Axis2 versions that depend on 
Neethi 3.0.x and don't depend on axiom-dom, i.e. Axis2 1.6.1 and 1.6.2-SNAPSHOT 
(in the trunk, axis2-kernel has a dependency on axiom-dom). The reason for this 
is that Neethi 3.0.x has an optional dependency on axiom-dom, namely there is 
code that depends on DOOMAbstractFactory. That dependency is discovered by the 
bundle plugin, which adds an Import-Package instruction for 
org.apache.axiom.om.impl.dom to the manifest.

org.apache.axiom.om.impl.common appears in all Axis2 versions that depend on 
Axiom 1.2.13-SNAPSHOT, i.e. Axis2 1.5.7-SNAPSHOT, 1.6.2-SNAPSHOT and 
1.7.0-SNAPSHOT. The org.apache.axiom.om.impl.common package is defined by 
axiom-common-impl which is later shaded/relocated into axiom-impl and axiom-dom 
(i.e. the package is renamed). Apparently, the relocator in maven-shade-plugin 
doesn't clean up the constant pools of these classes and they still have 
entries referring to org.apache.axiom.om.impl.common. That has no consequences 
at runtime (because these entries in the constant pools are actually never 
used), but the bundle plugin still detects them and generates corresponding 
Import-Package instructions.
                
> Apache Axis2 Code Generator Wizard - Eclipse Plugin -  Not instantiating
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5145
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5145
>             Project: Axis2
>          Issue Type: Bug
>          Components: ide plugins
>    Affects Versions: 1.6.1
>         Environment: Apache Axis2 Code Generator Wizard - Eclipse Plugin 
>            Reporter: Mohamed Saleem
>            Assignee: Harshana Eranga Martin
>            Priority: Critical
>              Labels: ide-plugins
>             Fix For: 1.6.1, 1.7.0
>
>         Attachments: AXIS2-5145.patch, AXIS2-5145_1.6_only.patch
>
>
> I have downloaded org.apache.axis2.eclipse.codegen.plugin_1.6.1.zip from 
> Apache site and installed it in the Eclipse Indigo (3.7.0) plugins folder 
> (jar file only from the zip).  After restarting eclipse, the Axis code 
> generating wizard is not instantiated in Eclipse.  Can you please direct me 
> here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to