Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352056 - [catalog] connectors for jaxb2 and xmlbeans
Summary: [catalog] connectors for jaxb2 and xmlbeans
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 03:37 EDT by Pino Silvaggio CLA
Modified: 2021-04-19 13:25 EDT (History)
4 users (show)

See Also:


Attachments
Catalog Items for jaxb2 (1.0.3.201107311209) and xmlbeans (1.0.3.201107311212) (2.43 KB, text/xml)
2011-07-31 13:02 EDT, Pino Silvaggio CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pino Silvaggio CLA 2011-07-14 03:37:11 EDT
m2e Connectors

At this moment 2 connectors are available, jaxb2 and xmlbeans.

Connectors (Plugins Supported)
org.bitstrings.eclipse.m2e.connectors.jaxb2 (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin,maven-jaxb20-plugin,maven-jaxb21-plugin,maven-jaxb22-plugin)
org.bitstrings.eclipse.m2e.connectors.xmlbeans (org.codehaus.mojo:xmlbeans-maven-plugin)

License EPL-1.0
http://www.eclipse.org/legal/epl-v10.html

Provider: bitstrings.org (Pino Silvaggio)

P2 Repo: https://github.com/bitstrings/m2e-connectors/blob/gh-pages/downloads/sites/releases

Source URL: https://github.com/bitstrings/m2e-connectors
Comment 1 Pino Silvaggio CLA 2011-07-15 01:00:26 EDT
!!!!!!!!!!!!!!!!!!!!!!!!!!
!! CHANGED REPOSITORIES !!
!!!!!!!!!!!!!!!!!!!!!!!!!!

m2e Connectors

At this moment 2 connectors are available, jaxb2 and xmlbeans.

Connectors (Plugins Supported)
--------------------------------
m2e-jaxb2-connector - org.bitstrings.eclipse.m2e.connectors.jaxb2
(org.jvnet.jaxb2.maven2:maven-jaxb2-plugin,maven-jaxb20-plugin,maven-jaxb21-plugin,maven-jaxb22-plugin)

m2e-xmlbeans-connector - org.bitstrings.eclipse.m2e.connectors.xmlbeans
(org.codehaus.mojo:xmlbeans-maven-plugin)
--------------------------------

License EPL-1.0
http://www.eclipse.org/legal/epl-v10.html

Provider: bitstrings.org (Pino Silvaggio)

P2 Repo: http://bitstrings.github.com/m2e-connectors-p2/releases

Source URL: https://github.com/bitstrings
Source URL for jaxb2: https://bitstrings@github.com/bitstrings/m2e-jaxb2-connector.git
Source URL for xmlbeans: https://bitstrings@github.com/bitstrings/m2e-xmlbeans-connector.git
Comment 2 Pino Silvaggio CLA 2011-07-19 13:55:44 EDT
they are now in staging on oss
Comment 3 Pino Silvaggio CLA 2011-07-19 23:49:13 EDT
Just promoted my first release.

P2 Repo:

http://bitstrings.github.com/m2e-connectors-p2/releases

m2e-jaxb2-connector - version 1.0.2
m2e-xmlbeans-connector - version 1.0.2
Comment 4 Pino Silvaggio CLA 2011-07-25 02:46:40 EDT
I'm in the process of adding org.codehaus.mojo:jaxb2-maven-plugin support.

Milestone release very soon!
Comment 5 Igor Fedorenko CLA 2011-07-25 13:10:56 EDT
Please provide updated information when you have the new version. Beware that we've changed catalog entries submission requirements. As of now we are asking to provide information about catalog entry in format we can directly paste to http://git.eclipse.org/c/m2e/m2e-discovery-catalog.git/tree/org.eclipse.m2e.discovery.oss/connectors.xml
Comment 6 Pino Silvaggio CLA 2011-07-26 03:09:04 EDT
Milestone release for jaxb2, now support:

            <pluginExecutionFilter>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <versionRange>[1.2,)</versionRange>
                <goals>
                    <goal>xjc</goal>
                    <goal>testXjc</goal>
                </goals>
            </pluginExecutionFilter>

Name: m2e-jaxb2-connector
Version: 1.0.3

Available P2: http://bitstrings.github.com/m2e-connectors-p2/milestones

-

I will checkout the new catalog format and requirements for the release.
Comment 7 Igor Fedorenko CLA 2011-07-26 03:24:54 EDT
<catalogItem> is exactly the same information as we asked before, only formatted in the way we can paste directly to connectors.xml used to generate catalog jar. We were actually creating <catalogItem> from the information provided here (adding typos in the process), so we figured we may as well ask for xml directly.
Comment 8 Falko Modler CLA 2011-07-27 10:07:23 EDT
(In reply to comment #6)
> Milestone release for jaxb2, now support:
> 
>             <pluginExecutionFilter>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>jaxb2-maven-plugin</artifactId>
>                 <versionRange>[1.2,)</versionRange>
>                 <goals>
>                     <goal>xjc</goal>
>                     <goal>testXjc</goal>
>                 </goals>
>             </pluginExecutionFilter>
> 
> Name: m2e-jaxb2-connector
> Version: 1.0.3
> 
> Available P2: http://bitstrings.github.com/m2e-connectors-p2/milestones
> 

I'm using that milestone but I just realized that goal "schemagen" is not covered. Please add schemagen goal support to your connector. Thanks!
Comment 9 Pino Silvaggio CLA 2011-07-28 03:36:10 EDT
(In reply to comment #8)
> (In reply to comment #6)
> > Milestone release for jaxb2, now support:
> > 
> >             <pluginExecutionFilter>
> >                 <groupId>org.codehaus.mojo</groupId>
> >                 <artifactId>jaxb2-maven-plugin</artifactId>
> >                 <versionRange>[1.2,)</versionRange>
> >                 <goals>
> >                     <goal>xjc</goal>
> >                     <goal>testXjc</goal>
> >                 </goals>
> >             </pluginExecutionFilter>
> > 
> > Name: m2e-jaxb2-connector
> > Version: 1.0.3
> > 
> > Available P2: http://bitstrings.github.com/m2e-connectors-p2/milestones
> > 
> 
> I'm using that milestone but I just realized that goal "schemagen" is not
> covered. Please add schemagen goal support to your connector. Thanks!

Alright, it's done, needs testing, i will push it very soon. If you could give me some feedback, that would be nice.
Comment 10 Pino Silvaggio CLA 2011-07-29 02:37:56 EDT
Milestone release for jaxb2, now support:

        <pluginExecution>
            <pluginExecutionFilter>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <versionRange>[0.7.3,)</versionRange>
                <goals>
                    <goal>generate</goal>
                </goals>
            </pluginExecutionFilter>
        </pluginExecution>
        <pluginExecution>
            <pluginExecutionFilter>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb20-plugin</artifactId>
                <versionRange>[0.7.5,)</versionRange>
                <goals>
                    <goal>generate</goal>
                </goals>
            </pluginExecutionFilter>
        </pluginExecution>
        <pluginExecution>
            <pluginExecutionFilter>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb21-plugin</artifactId>
                <versionRange>[0.7.5,)</versionRange>
                <goals>
                    <goal>generate</goal>
                </goals>
            </pluginExecutionFilter>
        </pluginExecution>
        <pluginExecution>
            <pluginExecutionFilter>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb22-plugin</artifactId>
                <versionRange>[0.7.5,)</versionRange>
                <goals>
                    <goal>generate</goal>
                </goals>
            </pluginExecutionFilter>
        </pluginExecution>

        <pluginExecution>
            <pluginExecutionFilter>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <versionRange>[1.2,)</versionRange>
                <goals>
                    <goal>xjc</goal>
                    <goal>testXjc</goal>
                </goals>
            </pluginExecutionFilter>
        </pluginExecution>
        <pluginExecution>
            <pluginExecutionFilter>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <versionRange>[1.3,)</versionRange>
                <goals>
                    <goal>schemagen</goal>
                    <goal>testSchemagen</goal>
                </goals>
            </pluginExecutionFilter>
        </pluginExecution>

Name: m2e-jaxb2-connector
Version: 1.0.3

Available P2: http://bitstrings.github.com/m2e-connectors-p2/milestones
Comment 11 Igor Fedorenko CLA 2011-07-29 02:58:11 EDT
@Pino if you want your connector added to m2e discovery catalog, please provide <catalogItem/> xml snippet we can paste to http://git.eclipse.org/c/m2e/m2e-discovery-catalog.git/tree/org.eclipse.m2e.discovery.oss/connectors.xml. This is the description of the catalog item, name, license, p2 repo, etc. This is NOT lifecycle mapping metadata.
Comment 12 Falko Modler CLA 2011-07-29 06:18:05 EDT
(In reply to comment #9)
> If you could give me some feedback, that would be nice.

Just updated the connector, looks good!

Are you going to "push" it to the release branch of your p2 repo/site?
Comment 13 Pino Silvaggio CLA 2011-07-29 10:15:12 EDT
Yed, ASAP, just doing more tests.

I will also provide the m2e discovery catalog items so Igor can publish them.
Comment 14 Pino Silvaggio CLA 2011-07-31 13:00:33 EDT
Released:

m2e-jaxb2-connector :: 1.0.3.201107311209
m2e-xmlbeans-connector :: 1.0.3.201107311212

P2: http://bitstrings.github.com/m2e-connectors-p2/releases

Source URL: https://github.com/bitstrings


-[catalog]--->

<!-- jaxb2 :: https://bugs.eclipse.org/bugs/show_bug.cgi?id=352056 -->
<catalogItem>
    <categoryId>org.eclipse.m2e.discovery.category.lifecycles</categoryId>
    <description>m2e connector for Jaxb2 Maven plugins, http://mojo.codehaus.org/jaxb2-maven-plugin and http://java.net/projects/maven-jaxb2-plugin/pages/Home</description>
    <groupId>lifecycles</groupId>
    <id>org.eclipse.m2e.discovery.lifecycles.org.bitstrings.eclipse.m2e.connectors.jaxb2</id>
    <kind>lifecycles</kind>
    <license>EPL v1.0</license>
    <name>m2e connector for org.codehaus.mojo:jaxb2-maven-plugin and org.jvnet.jaxb2.maven2:maven-jaxb2-plugin</name>
    <provider>bitstrings.org - Pino Silvaggio</provider>
    <p2>
        <repositoryUrl>http://bitstrings.github.com/m2e-connectors-p2/releases</repositoryUrl>
        <iuId>org.bitstrings.eclipse.m2e.connectors.jaxb2.feature.group</iuId>
        <iuVersion>1.0.3.201107311209</iuVersion>
        <lifecycleMappingIU>
            <iuId>org.bitstrings.eclipse.m2e.connectors.jaxb2</iuId>
        </lifecycleMappingIU>
    </p2>
    <overview>
        <summary>m2e connector for org.codehaus.mojo:jaxb2-maven-plugin and org.jvnet.jaxb2.maven2:maven-jaxb2-plugin</summary>
        <url>http://bitstrings.github.com/m2e-connectors-p2</url>
    </overview>
</catalogItem>

<!-- xmlbeans :: https://bugs.eclipse.org/bugs/show_bug.cgi?id=352056 -->
<catalogItem>
    <categoryId>org.eclipse.m2e.discovery.category.lifecycles</categoryId>
    <description>m2e connector for XmlBeans Maven plugin, http://mojo.codehaus.org/xmlbeans-maven-plugin</description>
    <groupId>lifecycles</groupId>
    <id>org.eclipse.m2e.discovery.lifecycles.org.bitstrings.eclipse.m2e.connectors.xmlbeans</id>
    <kind>lifecycles</kind>
    <license>EPL v1.0</license>
    <name>m2e connector for org.codehaus.mojo:xmlbeans-maven-plugin</name>
    <provider>bitstrings.org - Pino Silvaggio</provider>
    <p2>
        <repositoryUrl>http://bitstrings.github.com/m2e-connectors-p2/releases</repositoryUrl>
        <iuId>org.bitstrings.eclipse.m2e.connectors.xmlbeans.feature.group</iuId>
        <iuVersion>1.0.3.201107311212</iuVersion>
        <lifecycleMappingIU>
            <iuId>org.bitstrings.eclipse.m2e.connectors.xmlbeans</iuId>
        </lifecycleMappingIU>
    </p2>
    <overview>
        <summary>m2e connector for org.codehaus.mojo:xmlbeans-maven-plugin</summary>
        <url>http://bitstrings.github.com/m2e-connectors-p2</url>
    </overview>
</catalogItem>
Comment 15 Pino Silvaggio CLA 2011-07-31 13:02:44 EDT
Created attachment 200633 [details]
Catalog Items for jaxb2 (1.0.3.201107311209) and xmlbeans (1.0.3.201107311212)
Comment 16 Igor Fedorenko CLA 2011-08-01 09:29:10 EDT
updated m2e discovery catalog. thank you.
Comment 17 Denis Roy CLA 2021-04-19 13:25:26 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/