Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] maven-cbi-plugin

Hi Everyone,

I created 2 bugs, Bug 399893 [1] and Bug 399894 [2] to track work on this proposal.

Assuming there's no major rejections to the idea. I would like to start this work once the new Nexus instance at Eclipse per Bug 394792 [3] is setup.

When we finally push eclipse-jarsigner-plugin and eclipse-cbi-plugin into Nexus I would also like to release them as version 1.0 at the same time.

This way when we update the poms that use them they'd be pointing to a released version rather than a 0.0.2-SNAPSHOT like they are today.

Thanks,


Thanh

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=399893
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=399894
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=394792

On 31/01/13 02:04 PM, Thanh Ha wrote:
Hi Everyone,

I started exploring Bug 394792 related to making maven.eclipse.org a well managed service at Eclipse. Once this is setup we plan on pushing the CBI plugins into a Nexus instance so that projects can simply pull them from maven rather than building locally and installing to your local maven repo.

At this moment I believe there's 2 CBI plugins existing:

1. eclipse-jarsigner-plugin [1]
2. maven-cbi-plugin [2]

At the moment the maven-cbi-plugin exists inside the platform aggregator repo. I would like to propose 2 actions as part of the work to put the CBI plugins into Nexus.


1. Move maven-cbi-plugin to org.eclipse.cbi.maven.plugins.git

If I'm not incorrect, I believe the maven-cbi-plugin is _not_ specific to the Platform build and other projects can likely reuse it. The other advantage is once maven-cbi-plugin is made available in Nexus we can reduce the CBI build commands down from 3 commands to 2 as we no longer need to run the "mvn clean install -f maven-cbi-plugin/pom.xml" step.


2. Rename maven-cbi-plugin to eclipse-cbi-plugin

When building this plugin maven throws the following error:

--- snippet ---
[ERROR]

Artifact Ids of the format maven-___-plugin are reserved for
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.
--- end snippet ---

If we are moving this plugin I think it's a good chance to resolve this error message and renaming it as follows (following the existing scheme for eclipse-jarsigner-plugin).

groupId: org.eclipse.cbi.maven.plugins
artifactId: eclipse-cbi-plugin


Thoughts?


Thanks,


Thanh

[1] http://git.eclipse.org/c/cbi/org.eclipse.cbi.maven.plugins.git/
[2] http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/maven-cbi-plugin

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev


Back to the top