properties-maven-plugin

View: New views
5 Messages — Rating Filter:   Alert me  

properties-maven-plugin

by Zarar Siddiqi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've created a properties-maven-plugin which is described in a message
on the dev mailing list:

-----
http://tinyurl.com/y2e429

I've written a plugin that serves as a good utility in handling
properties.  Given the many questions on this mailing list about
handling properties for different environments and I/O'ing them from
files, I think this would help in alleviating this problem.

It has three goals (for now):

1. read-project-properties: Given a set of property files in
name=value format, it reads them and stores them as project
properties.  This would be nice for those of us that store environment
specific information in different property files.

2. write-project-properties: Writes project properties to a given
file.  Helpful when some properties need to be available at runtime
(e.g.: Spring's PropertyPlaceholderConfigurer)

3. write-active-profile-properties:  Writes the properties of any
active profiles to a file.

The above three are the use cases that I've encountered.  I'm sure
there are many more.

If there is any interest in such a plugin, do respond to this and I
will make a site for it and start the process of submitting a plugin
to org.codehaus.mojo.
-----


I've made a site for the plugin:

http://individual.utoronto.ca/zarar/properties-maven-plugin/site/

I was wondering what you thought of the usefulness of such a plugin
and whether it might be a candidate for active development and
maintenance.

Thanks,
Zarar

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


AW: properties-maven-plugin

by Detlef Pleiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sounds to me like it's worth the submission :)


Mit freundlichen Grüßen

i.A. Detlef Pleiß
________________________________________________________________

Mit einem Klick alles im Blick, dank Informatik
Partner im Wissenschaftsjahr 2006 – http://www.informatikjahr.de
________________________________________________________________

Datenverarbeitungskaufmann
Detlef Pleiß


Senior IT-Berater

comundus GmbH
Schüttelgrabenring 3, 71332 Waiblingen

Telefon  +49 (0)71 51-5 00 28-22
Internet http://www.comundus.com

IT EXCELLENCE by comundus.
________________________________________________________________




-----Ursprüngliche Nachricht-----
Von: Zarar Siddiqi [mailto:zarars@...]
Gesendet: Montag, 16. Oktober 2006 22:46
An: dev@...
Betreff: [mojo-dev] properties-maven-plugin


Hi,

I've created a properties-maven-plugin which is described in a message
on the dev mailing list:

-----
http://tinyurl.com/y2e429

I've written a plugin that serves as a good utility in handling
properties.  Given the many questions on this mailing list about
handling properties for different environments and I/O'ing them from
files, I think this would help in alleviating this problem.

It has three goals (for now):

1. read-project-properties: Given a set of property files in
name=value format, it reads them and stores them as project
properties.  This would be nice for those of us that store environment
specific information in different property files.

2. write-project-properties: Writes project properties to a given
file.  Helpful when some properties need to be available at runtime
(e.g.: Spring's PropertyPlaceholderConfigurer)

3. write-active-profile-properties:  Writes the properties of any
active profiles to a file.

The above three are the use cases that I've encountered.  I'm sure
there are many more.

If there is any interest in such a plugin, do respond to this and I
will make a site for it and start the process of submitting a plugin
to org.codehaus.mojo.
-----


I've made a site for the plugin:

http://individual.utoronto.ca/zarar/properties-maven-plugin/site/

I was wondering what you thought of the usefulness of such a plugin
and whether it might be a candidate for active development and
maintenance.

Thanks,
Zarar

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: properties-maven-plugin

by Trygve Laugstøl codehaus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zarar Siddiqi wrote:

> Hi,
>
> I've created a properties-maven-plugin which is described in a message
> on the dev mailing list:
>
> -----
> http://tinyurl.com/y2e429
>
> I've written a plugin that serves as a good utility in handling
> properties.  Given the many questions on this mailing list about
> handling properties for different environments and I/O'ing them from
> files, I think this would help in alleviating this problem.
>
> It has three goals (for now):
>
> 1. read-project-properties: Given a set of property files in
> name=value format, it reads them and stores them as project
> properties.  This would be nice for those of us that store environment
> specific information in different property files.
>
> 2. write-project-properties: Writes project properties to a given
> file.  Helpful when some properties need to be available at runtime
> (e.g.: Spring's PropertyPlaceholderConfigurer)
>
> 3. write-active-profile-properties:  Writes the properties of any
> active profiles to a file.
>
> The above three are the use cases that I've encountered.  I'm sure
> there are many more.
>
> If there is any interest in such a plugin, do respond to this and I
> will make a site for it and start the process of submitting a plugin
> to org.codehaus.mojo.
> -----

I really didn't understand what these goals do. Which properties are
written where? Is this to make some sort of Properties object out of the
pom? Will it inject properties into the project?

--
Trygve

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: properties-maven-plugin

by Matt Brozowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 16, 2006, at 4:45 PM, Zarar Siddiqi wrote:

Hi,

I've created a properties-maven-plugin which is described in a message
on the dev mailing list:

I thiink this sounds great. I'd love to see it as part of the mojo group of plugins.

Matt
___________________________________________________________________________
Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984
The OpenNMS Group, Inc. Fax: +1 503 961 7746



Re: AW: properties-maven-plugin

by Zarar Siddiqi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've created a JIRA for this:

http://jira.codehaus.org/browse/MOJO-535

Please vote if you feel this is helpful.



Detlef Pleiss wrote:
sounds to me like it's worth the submission :)


Mit freundlichen Grüßen

i.A. Detlef Pleiß
________________________________________________________________

Mit einem Klick alles im Blick, dank Informatik
Partner im Wissenschaftsjahr 2006 – http://www.informatikjahr.de
________________________________________________________________

Datenverarbeitungskaufmann
Detlef Pleiß


Senior IT-Berater

comundus GmbH
Schüttelgrabenring 3, 71332 Waiblingen

Telefon  +49 (0)71 51-5 00 28-22
Internet http://www.comundus.com

IT EXCELLENCE by comundus.
________________________________________________________________




-----Ursprüngliche Nachricht-----
Von: Zarar Siddiqi [mailto:zarars@gmail.com]
Gesendet: Montag, 16. Oktober 2006 22:46
An: dev@mojo.codehaus.org
Betreff: [mojo-dev] properties-maven-plugin


Hi,

I've created a properties-maven-plugin which is described in a message
on the dev mailing list:

-----
http://tinyurl.com/y2e429

I've written a plugin that serves as a good utility in handling
properties.  Given the many questions on this mailing list about
handling properties for different environments and I/O'ing them from
files, I think this would help in alleviating this problem.

It has three goals (for now):

1. read-project-properties: Given a set of property files in
name=value format, it reads them and stores them as project
properties.  This would be nice for those of us that store environment
specific information in different property files.

2. write-project-properties: Writes project properties to a given
file.  Helpful when some properties need to be available at runtime
(e.g.: Spring's PropertyPlaceholderConfigurer)

3. write-active-profile-properties:  Writes the properties of any
active profiles to a file.

The above three are the use cases that I've encountered.  I'm sure
there are many more.

If there is any interest in such a plugin, do respond to this and I
will make a site for it and start the process of submitting a plugin
to org.codehaus.mojo.
-----


I've made a site for the plugin:

http://individual.utoronto.ca/zarar/properties-maven-plugin/site/

I was wondering what you thought of the usefulness of such a plugin
and whether it might be a candidate for active development and
maintenance.

Thanks,
Zarar

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email