Community
Participate
Working Groups
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
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.
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.
*** Bug 397804 has been marked as a duplicate of this bug. ***
Created attachment 225859 [details] The remaining poms to be patched This patch should be all that remains to close the issue.
Created attachment 225862 [details] Corrected patch to complete all modules
I believe all the pom's mentioned in the patches are in SWT. When you can ... master suffices for now, backport after Juno SR2.
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.
Released to R3_8_maintenance and R4_2_maintenance: http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?h=R4_2_maintenance&id=3e0c4667f2f6a1bae0901df4b54e3d164aad82a9 http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?h=R3_8_maintenance&id=21caa2f2d71caff4ab9c12fd9ebc69d2439d0411
Created attachment 227709 [details] Same patch, updated