maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@codehaus.org>
Subject [jira] (MPIR-286) Cannot build trunk on Windows, JAR signer fails with a duplicate entry exception
Date Sat, 01 Nov 2014 23:17:10 GMT

    [ https://jira.codehaus.org/browse/MPIR-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355391#comment-355391
] 

Michael Osipov edited comment on MPIR-286 at 11/1/14 6:16 PM:
--------------------------------------------------------------

Works now on trunk with Maven 3.2.x.


was (Author: michael-o):
Works now on trunk.

> Cannot build trunk on Windows, JAR signer fails with a duplicate entry exception
> --------------------------------------------------------------------------------
>
>                 Key: MPIR-286
>                 URL: https://jira.codehaus.org/browse/MPIR-286
>             Project: Maven Project Info Reports Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Windows XP SP3, Maven 3.0.5, Oracle JDK 1.7.0_25
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Blocker
>         Attachments: debug.zip
>
>
> When trying to build 2.8-SNAPSHOT, JAR signer plugin fails with:
> {noformat}
> jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/pom.xml
> {noformat}
> Running with {{-X}} shows that pom.xml and pom.properties are included twice in the JAR:
> {noformat}
> [INFO] Building jar: D:\workspace-4.2\maven-project-info-reports-plugin\target\maven-project-info-reports-plugin-2.8-SNAPSHOT.jar
> [DEBUG] adding directory META-INF/
> [DEBUG] adding entry META-INF/MANIFEST.MF
> [DEBUG] adding directory META-INF/maven/
> [DEBUG] adding directory META-INF/maven/org.apache.maven.plugins/
> [DEBUG] adding directory META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/
> [DEBUG] adding directory org/
> [DEBUG] adding directory org/apache/
> [DEBUG] adding directory org/apache/maven/
> [DEBUG] adding directory org/apache/maven/report/
> [DEBUG] adding directory org/apache/maven/report/projectinfo/
> [DEBUG] adding directory org/apache/maven/report/projectinfo/dependencies/
> [DEBUG] adding directory org/apache/maven/report/projectinfo/dependencies/renderer/
> [DEBUG] adding directory org/apache/maven/report/projectinfo/resources/
> [DEBUG] adding directory org/apache/maven/report/projectinfo/resources/images/
> [DEBUG] adding entry META-INF/DEPENDENCIES
> [DEBUG] adding entry META-INF/LICENSE
> [DEBUG] adding entry META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/plugin-help.xml
> [DEBUG] adding entry META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/pom.properties
> [DEBUG] adding entry META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/pom.xml
> [DEBUG] adding entry META-INF/maven/plugin.xml
> [DEBUG] adding entry META-INF/NOTICE
> [DEBUG] adding entry org/apache/maven/report/projectinfo/AbstractProjectInfoRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/AbstractProjectInfoReport$CustomI18N.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/AbstractProjectInfoReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/CimReport$CimRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/CimReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/Dependencies.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/DependenciesReportConfiguration.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/ManagementDependencies.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer$1.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer$2.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer$FileDecimalFormat.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer$TotalCell.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependencyManagementRenderer$1.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/renderer/DependencyManagementRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/dependencies/RepositoryUtils.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependenciesReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependencyConvergenceReport$ReverseDependencyLink.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependencyConvergenceReport$ReverseDependencyLinkComparator.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependencyConvergenceReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependencyInformationReport$DependencyInformationRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependencyInformationReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DependencyManagementReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DistributionManagementReport$DistributionManagementRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/DistributionManagementReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/HelpMojo.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/IssueTrackingReport$IssueTrackingRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/IssueTrackingReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/LicenseReport$LicenseRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/LicenseReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/MailingListsReport$MailingListsRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/MailingListsReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ModulesReport$ModulesRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ModulesReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/PluginManagementReport$PluginManagementRenderer$1.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/PluginManagementReport$PluginManagementRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/PluginManagementReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/PluginsReport$PluginsRenderer$1.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/PluginsReport$PluginsRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/PluginsReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectIndexPageReport$ProjectIndexRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectIndexPageReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectInfoReportUtils$1.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectInfoReportUtils$2.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectInfoReportUtils$3.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectInfoReportUtils.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectSummaryReport$ProjectSummaryRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ProjectSummaryReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/resources/images/close.gif
> [DEBUG] adding entry org/apache/maven/report/projectinfo/resources/resources.txt
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ScmReport$ScmRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/ScmReport.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/TeamListReport$TeamListRenderer.class
> [DEBUG] adding entry org/apache/maven/report/projectinfo/TeamListReport.class
> [DEBUG] adding entry project-info-report.properties
> [DEBUG] adding entry project-info-report_cs.properties
> [DEBUG] adding entry project-info-report_de.properties
> [DEBUG] adding entry project-info-report_en.properties
> [DEBUG] adding entry project-info-report_es.properties
> [DEBUG] adding entry project-info-report_fr.properties
> [DEBUG] adding entry project-info-report_gl.properties
> [DEBUG] adding entry project-info-report_hu.properties
> [DEBUG] adding entry project-info-report_it.properties
> [DEBUG] adding entry project-info-report_ja.properties
> [DEBUG] adding entry project-info-report_ko.properties
> [DEBUG] adding entry project-info-report_lt.properties
> [DEBUG] adding entry project-info-report_nl.properties
> [DEBUG] adding entry project-info-report_no.properties
> [DEBUG] adding entry project-info-report_pl.properties
> [DEBUG] adding entry project-info-report_pt.properties
> [DEBUG] adding entry project-info-report_pt_BR.properties
> [DEBUG] adding entry project-info-report_ru.properties
> [DEBUG] adding entry project-info-report_sk.properties
> [DEBUG] adding entry project-info-report_sv.properties
> [DEBUG] adding entry project-info-report_tr.properties
> [DEBUG] adding entry project-info-report_zh_CN.properties
> [DEBUG] adding entry project-info-report_zh_TW.properties
> [DEBUG] adding entry META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/pom.xml
> [DEBUG] adding entry META-INF/maven/org.apache.maven.plugins/maven-project-info-reports-plugin/pom.properties
> [INFO]
> {noformat}
> Building tag 2.7 isn't a problem.
> A SNAPSHOT of the JAR plugin does not help either. A debug log is attached.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message