You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2006/06/21 04:45:33 UTC

Questions on XML plugin

Hi,

I have written a plugin, which I currently call maven-xml-plugin. This first
version is able to validate XML documents (test phase) or to transform XML
documents by applying an XSLT stylesheet (generate-resources). So far
development is finished (including a test suite), the exception being docs,
which I intend to create in the next days.


Now I have two questions:

- A question of style: Does it make sense to have these functions in one
  and the same plugin or do people feel, it would be better to have two
  plugins (xml-transform and xml-validate)?
- What is the suggested target for the plugin? Being an Apache committer,
  I'd strongly prefer to put it into the Maven Plugins Sandbox, or at a
  similar location. But I understand, that this is a question of policy,
  which is not upon me to choose.


Thanks,

Jochen

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


Re: Questions on XML plugin

Posted by Jesse McConnell <je...@gmail.com>.
which was user contributed and then mostly abandoned.  I was using it
as a teaching tool for a friend of mine but I would be cool with axing
it from the released mojo list if something like this came along.

a pretty-print mojo might be nice in that as well, so making sure all
xml is properly formatted for human readability might be nice as a
part of the build process...not a huge deal but pretty simple to throw
in the mix :)

jesse

On 6/21/06, Mark Hobson <ma...@gmail.com> wrote:
> Note that there's already a XSLT plugin at mojo for transformations:
>
> http://mojo.codehaus.org/xslt-maven-plugin/
>
> Mark
>
> On 21/06/06, Trygve Laugstøl <tr...@apache.org> wrote:
> > Jochen Wiedmann wrote:
> > > Hi,
> > >
> > > I have written a plugin, which I currently call maven-xml-plugin. This first
> > > version is able to validate XML documents (test phase) or to transform XML
> > > documents by applying an XSLT stylesheet (generate-resources). So far
> > > development is finished (including a test suite), the exception being docs,
> > > which I intend to create in the next days.
> > >
> > >
> > > Now I have two questions:
> > >
> > > - A question of style: Does it make sense to have these functions in one
> > >   and the same plugin or do people feel, it would be better to have two
> > >   plugins (xml-transform and xml-validate)?
> >
> > Yep, they all do XML stuff so that's fine. You already have two
> > different Mojos which is the right way to separate stuff.
> >
> > > - What is the suggested target for the plugin? Being an Apache committer,
> > >   I'd strongly prefer to put it into the Maven Plugins Sandbox, or at a
> > >   similar location. But I understand, that this is a question of policy,
> > >   which is not upon me to choose.
> >
> > Normally stuff like that would go to mojo [1], the Maven sandbox is only
> > for Maven committers as it is now.
> >
> > [1]: http://mojo.codehaus.org
> >
> > --
> > Trygve
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
jesse mcconnell
jesseDOTmcconnellATgmailDOTcom

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


Re: Questions on XML plugin

Posted by Mark Hobson <ma...@gmail.com>.
Note that there's already a XSLT plugin at mojo for transformations:

http://mojo.codehaus.org/xslt-maven-plugin/

Mark

On 21/06/06, Trygve Laugstøl <tr...@apache.org> wrote:
> Jochen Wiedmann wrote:
> > Hi,
> >
> > I have written a plugin, which I currently call maven-xml-plugin. This first
> > version is able to validate XML documents (test phase) or to transform XML
> > documents by applying an XSLT stylesheet (generate-resources). So far
> > development is finished (including a test suite), the exception being docs,
> > which I intend to create in the next days.
> >
> >
> > Now I have two questions:
> >
> > - A question of style: Does it make sense to have these functions in one
> >   and the same plugin or do people feel, it would be better to have two
> >   plugins (xml-transform and xml-validate)?
>
> Yep, they all do XML stuff so that's fine. You already have two
> different Mojos which is the right way to separate stuff.
>
> > - What is the suggested target for the plugin? Being an Apache committer,
> >   I'd strongly prefer to put it into the Maven Plugins Sandbox, or at a
> >   similar location. But I understand, that this is a question of policy,
> >   which is not upon me to choose.
>
> Normally stuff like that would go to mojo [1], the Maven sandbox is only
> for Maven committers as it is now.
>
> [1]: http://mojo.codehaus.org
>
> --
> Trygve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


Re: Questions on XML plugin

Posted by Trygve Laugstøl <tr...@apache.org>.
Jochen Wiedmann wrote:
> Hi,
> 
> I have written a plugin, which I currently call maven-xml-plugin. This first
> version is able to validate XML documents (test phase) or to transform XML
> documents by applying an XSLT stylesheet (generate-resources). So far
> development is finished (including a test suite), the exception being docs,
> which I intend to create in the next days.
> 
> 
> Now I have two questions:
> 
> - A question of style: Does it make sense to have these functions in one
>   and the same plugin or do people feel, it would be better to have two
>   plugins (xml-transform and xml-validate)?

Yep, they all do XML stuff so that's fine. You already have two 
different Mojos which is the right way to separate stuff.

> - What is the suggested target for the plugin? Being an Apache committer,
>   I'd strongly prefer to put it into the Maven Plugins Sandbox, or at a
>   similar location. But I understand, that this is a question of policy,
>   which is not upon me to choose.

Normally stuff like that would go to mojo [1], the Maven sandbox is only 
for Maven committers as it is now.

[1]: http://mojo.codehaus.org

--
Trygve

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