Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 397446 - [CBI] Platform build issues warnings
Summary: [CBI] Platform build issues warnings
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.2.2+   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 397804 (view as bug list)
Depends on:
Blocks: 399150
  Show dependency tree
 
Reported: 2013-01-04 09:20 EST by Lars Vogel CLA
Modified: 2013-02-27 23:23 EST (History)
4 users (show)

See Also:


Attachments
maven-antrun-plugin-warning.patch (1.46 KB, patch)
2013-01-07 16:37 EST, Thanh Ha CLA
no flags Details | Diff
The remaining poms to be patched (39.49 KB, patch)
2013-01-19 17:22 EST, Dave Hughes CLA
no flags Details | Diff
Corrected patch to complete all modules (42.65 KB, patch)
2013-01-19 19:30 EST, Dave Hughes CLA
no flags Details | Diff
Same patch, updated (43.46 KB, patch)
2013-02-27 23:17 EST, Dave Hughes CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2013-01-04 09:20:26 EST
If I run the platform build I get the following warnings. I guess these should be fixed.

[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.carbon.macosx:eclipse-plugin:3.8.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.cocoa.macosx:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.cocoa.macosx.x86_64:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.aix.ppc:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 95, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.aix.ppc64:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.hpux.ia64:eclipse-plugin:3.7.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.hpux.ia64_32:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.ia64:eclipse-plugin:3.5.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 95, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.ppc:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.ppc64:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.s390:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.s390x:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.x86:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.linux.x86_64:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.solaris.sparc:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.gtk.solaris.x86:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.motif.aix.ppc:eclipse-plugin:3.7.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.motif.hpux.ia64_32:eclipse-plugin:3.7.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.motif.hpux.PA_RISC:eclipse-plugin:3.5.0.HEAD
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.motif.solaris.sparc:eclipse-plugin:3.7.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.photon.qnx.x86:eclipse-plugin:3.7.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 94, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.win32.wce_ppc.arm:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.win32.win32.ia64:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.win32.win32.x86:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.win32.win32.x86_64:eclipse-plugin:3.100.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eclipse.platform.swt.binaries:org.eclipse.swt.wpf.win32.x86:eclipse-plugin:3.6.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 85, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For
Comment 1 Thanh Ha CLA 2013-01-07 16:24:54 EST
I think the problem is that we are declaring maven-antrun-plugin twice in the same <build></build> tag.

I think the solution is combine them into 1 plugin and put the separate executions in the correct order.
Comment 2 Thanh Ha CLA 2013-01-07 16:37:49 EST
Created attachment 225314 [details]
maven-antrun-plugin-warning.patch

The attached patch seems to make maven happy and no longer displays the warning.

I will provide another patch that covers the remaining poms affected.
Comment 3 Thanh Ha CLA 2013-01-09 15:46:04 EST
*** Bug 397804 has been marked as a duplicate of this bug. ***
Comment 4 Dave Hughes CLA 2013-01-19 17:22:15 EST
Created attachment 225859 [details]
The remaining poms to be patched

This patch should be all that remains to close the issue.
Comment 5 Dave Hughes CLA 2013-01-19 19:30:02 EST
Created attachment 225862 [details]
Corrected patch to complete all modules
Comment 6 David Williams CLA 2013-01-26 15:29:11 EST
I believe all the pom's mentioned in the patches are in SWT. 

When you can ... master suffices for now, backport after Juno SR2.
Comment 7 Silenio Quarti CLA 2013-02-13 11:41:25 EST
Released to master

http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?id=f43267a1a918fb866d1004a918836dd99014ace6

Leaving open to back port after Juno SR2.
Comment 9 Dave Hughes CLA 2013-02-27 23:17:30 EST
Created attachment 227709 [details]
Same patch, updated