You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Marcus Crafter (JIRA)" <ja...@ws.apache.org> on 2005/08/10 18:43:36 UTC

[jira] Created: (JAXME-64) [PATCH] Maven plugin for JaxMe2

[PATCH] Maven plugin for JaxMe2
-------------------------------

         Key: JAXME-64
         URL: http://issues.apache.org/jira/browse/JAXME-64
     Project: JaxMe
        Type: Improvement
  Components: JaxMe Core  
    Versions: 0.5    
 Environment: All
    Reporter: Marcus Crafter
    Priority: Minor


Hi All,

Hope all is going well.

I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.

Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.

Cheers,

Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: [jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 8/17/05, Nacho G. Mac Dowell (JIRA) <ja...@ws.apache.org> wrote:

> But then, there are decisions to make:
> Should we wait to see if we can get a maven-plugin project (in maven space) or should we host this plugin as a new project?
> Should I ask in Maven dev list?
> There is a JAXB Maven plugin (http://maven-plugins.sourceforge.net/maven-jaxb-plugin/), should we maybe contact them and try to extend theirs? Currently it only accepts RI but I can imagine it wouldn't be too difficult to extend it to accept JaxMe. What I don't know is if they'll be up for it.

I think it's fine, to use the plugin internally, until it works as we
want it. (The feature set we need is definitely extending the Maven
plugins feature set by far.) That should make development much easier.
If the thing seems to be sufficiently mature, then we should of course
contact the Maven community and move our plugin into their hands.

Jochen

-- 
What are the first steps on the moon, compared to your child's?

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Kommentiert: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12319343 ] 

Jochen Wiedmann commented on JAXME-64:
--------------------------------------

I do not understand the difference. A generic plugin should be usable for building JaxMe itself (more precisely: The JaxMe examples and test suite), shouldn't it?


> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Marcus Crafter (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12318983 ] 

Marcus Crafter commented on JAXME-64:
-------------------------------------

Hi Nacho,

Hope your holidays were great ;)

Thanks for your comments. Yes, there are a few different options available to us.

If the plugin can be used as part of the build or tests for jaxme - perhaps lets work on it inside of jaxme project space? If we get the plugin installed in the right place on the apache maven repository during releases then people will be able to install it automatically during their build by defining a dependency to type "plugin" anyway - and AFAIK the apache repository is automatically synced with the ibiblio repository.

The jaxb plugin could be extended, but since the project.xml defines static dependencies such as the xjc and jaxme runtime I think it might be better to have a separate plugin than the jaxb one on maven-plugins. Otherwise both jaxb and jaxme2 runtimes will be downloaded by users all the time - unless there's some way to manage them as dynamic dependencies?

Cheers,

Marcus

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Nacho G. Mac Dowell (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12319357 ] 

Nacho G. Mac Dowell commented on JAXME-64:
------------------------------------------

Silly me... Yes there is no difference, we could have a generic goal for xjc and then more specific ones to build the projects. I was saying this because I think  the use of maven.xml is discouraged and in JS and JM there is quite an extensive use of it. For the time being, if it is ok we'll stick with maven.xml and think afterwards about moving all the build process to a plugin. For building the examples and the jm test suite we'll make use of the plugin. I've created a project called mp with Marcus' patch. 

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Kommentiert: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12318387 ] 

Jochen Wiedmann commented on JAXME-64:
--------------------------------------

Marcus, your contribution is extremely welcome. In fact, Nacho is currently working on the "mavenization" of JaxMe itself.

As Nacho is currently enjoying holidays, we'll wait until he returns. He should be the first to decide whether he can/wants to use it. Besides, we should most possibly attempt to get a Maven plugin into the Maven core distribution.

In other words: Please be so kind and have patience for the next two or three weeks. Your contribution wont be lost.


> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Geschlossen: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-64?page=all ]
     
Jochen Wiedmann closed JAXME-64:
--------------------------------

    Resolution: Fixed

Added to the maven branch below projects/mp.


> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Updated: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Marcus Crafter (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-64?page=all ]

Marcus Crafter updated JAXME-64:
--------------------------------

    Attachment: jaxme2-maven-plugin.zip

Updated maven plugin that includes support for multiple grammars (separate with a space in the project.properties file).

Also modified the target generation class directory to be ${maven.build.dir}/jaxme2 rather than generated-src/etc. Added a hook so that
this directory is included in the source directory set so that compilation of the generated classes occurs automatically as well.

Cheers,

Marcus

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Kommentiert: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12318986 ] 

Jochen Wiedmann commented on JAXME-64:
--------------------------------------

Marcus, sorry for having replied to the list and not by commenting this issue:

The plugin needs some extensions for being usable within Jaxme itself. So the best option is possibly to do that within the JaxMe SVN, until all requirements are met. At that point, it seems best to approach the Maven community for adding the plugin to the Maven core distribution.

As for JAXB: I'd suggest to develop the plugin for JaxMe only. In a second step, the plugin can be changed to use dynamic references and being usable The procedure is described in the "Maven developers notebook" and I can do that part.


> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Nacho G. Mac Dowell (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12318972 ] 

Nacho G. Mac Dowell commented on JAXME-64:
------------------------------------------

It'd be very nice to use the plugin for the tests in JaxMeCore. I'll have a look.

But then, there are decisions to make: 
Should we wait to see if we can get a maven-plugin project (in maven space) or should we host this plugin as a new project? 
Should I ask in Maven dev list? 
There is a JAXB Maven plugin (http://maven-plugins.sourceforge.net/maven-jaxb-plugin/), should we maybe contact them and try to extend theirs? Currently it only accepts RI but I can imagine it wouldn't be too difficult to extend it to accept JaxMe. What I don't know is if they'll be up for it.

What do you think?

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Nacho G. Mac Dowell (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12319341 ] 

Nacho G. Mac Dowell commented on JAXME-64:
------------------------------------------

Hi all! I was thinking on how to integrate the plugin within jaxme. 

Do we want a generic jaxme plugin as suggested here or do we want to make a plugin for the whole build process as suggested by maven?

Do we want maybe 2 plugins?

nacho

PD: I am 2xhappy of my vacations. The 1x is obviest. The 2x is because I didn't commit anything before SVN!!!! 

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Marcus Crafter (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12318617 ] 

Marcus Crafter commented on JAXME-64:
-------------------------------------

Hi Jochen,

Thanks for your comments - no problems, lets wait till Nacho returns from his holidays then.

Cheers,

Marcus

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip, jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


[jira] Updated: (JAXME-64) [PATCH] Maven plugin for JaxMe2

Posted by "Marcus Crafter (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-64?page=all ]

Marcus Crafter updated JAXME-64:
--------------------------------

    Attachment: jaxme2-maven-plugin.zip

Plugin attached.

> [PATCH] Maven plugin for JaxMe2
> -------------------------------
>
>          Key: JAXME-64
>          URL: http://issues.apache.org/jira/browse/JAXME-64
>      Project: JaxMe
>         Type: Improvement
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: All
>     Reporter: Marcus Crafter
>     Priority: Minor
>  Attachments: jaxme2-maven-plugin.zip
>
> Hi All,
> Hope all is going well.
> I couldn't see any maven plugins for jaxme2 on the internet after a brief search, so I've had a quick whack at it. Will attach it to this enhancement report.
> Currently, only generation of stubs from schema files is supported, generated files go into the maven target/generated-src/main/java directory for future compilation.
> Cheers,
> Marcus

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org