[Carbon-dev] Warning message when building components/registry/org.wso2.carbon.registry.admin.api

Senaka Fernando senaka at wso2.com
Wed Jan 5 04:27:39 PST 2011


This is something wrong in the icu4j dependency that we use. However, it
does not affect code as well as our documentation.

Thanks,
Senaka.

On Wed, Jan 5, 2011 at 4:46 PM, Amila Jayasekara <amilaj at wso2.com> wrote:

> Hi All,
> I am getting following warning when building
> components/registry/org.wso2.carbon.registry.admin.api.
>
> [WARNING] POM for 'org.apache.lucene:lucene-core:pom:2.3.1:compile' is
> invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] Unable to process class
> com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer File
> /home/amila/m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
> org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in
> constant pool: 60
>     at org.apache.bcel.classfile.Constant.readConstant(Constant.java:146)
>     at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:67)
>     at
> org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:222)
>     at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:136)
>     at
> org.apache.maven.shared.jar.classes.JarClassesAnalysis.analyze(JarClassesAnalysis.java:92)
>     at
> org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails(Dependencies.java:285)
>     at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.hasSealed(DependenciesRenderer.java:1278)
>     at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyFileDetails(DependenciesRenderer.java:423)
>     at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:268)
>     at
> org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
>     at
> org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:239)
>     at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:90)
>     at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:139)
>     at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:303)
>     at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
>     at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:133)
>     at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:100)
>     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>     at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [WARNING] The repository url '
> http://repository.springsource.com/maven/bundles/external' is invalid -
> Repository 'com.springsource.repository.bundles.external' will be
> blacklisted.
> [WARNING] The repository url 'http://snapshots.maven.codehaus.org/maven2'
> is invalid - Repository 'snapshots' will be blacklisted.
> [WARNING] The repository url '
> http://repository.springsource.com/maven/bundles/release' is invalid -
> Repository 'com.springsource.repository.bundles.release' will be
> blacklisted.
> [WARNING] The repository url 'http://maven.reucon.com/public' is invalid -
> Repository 'm2-repository-smack' will be blacklisted.
> .....
> ...
>
> Though i get above mentioned warning, the build continues. But it takes
> very long time to complete the build.
> Anyone know, how i can get rid of this warning message ? (I am doing an
> online build, also i tried removing icu4j-2.6.1.jar and rebuilding but it
> didnt solve the issue.)
>
> Thanks
> AmilaJ
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Senaka Fernando*
Associate Technical Lead & Product Manager - WSO2 G-Reg;
WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://wso2.org/pipermail/carbon-dev/attachments/20110105/69fad0bc/attachment.htm>


More information about the Carbon-dev mailing list