You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Tony Truong <to...@atlassian.com> on 2006/11/14 05:27:48 UTC

FYI: Developing maven utility library

Hi guys,

For your interest, I have made a library which we have found useful here
down in Atlassian. 

http://repository.atlassian.com/maven2/com/atlassian/maven/util/maven-utils/

So far it has:

PropertyManager - Manages a list of property objects. This class will also
filter maven2 variables inside keys. 

Why would I use custom properties?

    * When you want to have a properties file as a source of truth
    * When you want to increase a level of abstraction to your files for
higher reusability (e.g. test files).
    * When you want to use maven specific variables (e.g. ${basedir},
${pom.artifactId})

Not sure how I will notify people of changes as of yet. Comments?
Suggestions?

Regards,

Tony
-- 
View this message in context: http://www.nabble.com/FYI%3A-Developing-maven-utility-library-tf2627249s177.html#a7331336
Sent from the Maven Developers mailing list archive at Nabble.com.


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


Re: FYI: Developing maven utility library

Posted by Brett Porter <br...@apache.org>.
Had this flagged to take a look. No source (can't find it in  
subversion), no website (can't find it on opensource.atlassian.com),  
no javadoc, no license... not really sure what I can do with this :)

Was it submitted via JIRA for inclusion in Maven somewhere?

- Brett

On 14/11/2006, at 3:27 PM, Tony Truong wrote:

>
> Hi guys,
>
> For your interest, I have made a library which we have found useful  
> here
> down in Atlassian.
>
> http://repository.atlassian.com/maven2/com/atlassian/maven/util/ 
> maven-utils/
>
> So far it has:
>
> PropertyManager - Manages a list of property objects. This class  
> will also
> filter maven2 variables inside keys.
>
> Why would I use custom properties?
>
>     * When you want to have a properties file as a source of truth
>     * When you want to increase a level of abstraction to your  
> files for
> higher reusability (e.g. test files).
>     * When you want to use maven specific variables (e.g. ${basedir},
> ${pom.artifactId})
>
> Not sure how I will notify people of changes as of yet. Comments?
> Suggestions?
>
> Regards,
>
> Tony
> -- 
> View this message in context: http://www.nabble.com/FYI%3A- 
> Developing-maven-utility-library-tf2627249s177.html#a7331336
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: FYI: Developing maven utility library

Posted by Tony Truong <to...@atlassian.com>.
Yes, it can, as it uses some code from PropertyUtil. The code may be a bit
ugly though, as the latest version of Maven Embedder (2.0.4) doesn't seem to
work properly with the code.



Stephane Nicoll-2 wrote:
> 
> Hi,
> 
> I think this can include the resources filtering we need in various
> mojos, right?
> 
> WDYT?
> Stéphane
> 
> On 11/14/06, Tony Truong <to...@atlassian.com> wrote:
>>
>> Hi guys,
>>
>> For your interest, I have made a library which we have found useful here
>> down in Atlassian.
>>
>> http://repository.atlassian.com/maven2/com/atlassian/maven/util/maven-utils/
>>
>> So far it has:
>>
>> PropertyManager - Manages a list of property objects. This class will
>> also
>> filter maven2 variables inside keys.
>>
>> Why would I use custom properties?
>>
>>     * When you want to have a properties file as a source of truth
>>     * When you want to increase a level of abstraction to your files for
>> higher reusability (e.g. test files).
>>     * When you want to use maven specific variables (e.g. ${basedir},
>> ${pom.artifactId})
>>
>> Not sure how I will notify people of changes as of yet. Comments?
>> Suggestions?
>>
>> Regards,
>>
>> Tony
>> --
>> View this message in context:
>> http://www.nabble.com/FYI%3A-Developing-maven-utility-library-tf2627249s177.html#a7331336
>> Sent from the Maven Developers mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/FYI%3A-Developing-maven-utility-library-tf2627249s177.html#a7348172
Sent from the Maven Developers mailing list archive at Nabble.com.


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


Re: FYI: Developing maven utility library

Posted by Stephane Nicoll <st...@gmail.com>.
Hi,

I think this can include the resources filtering we need in various
mojos, right?

WDYT?
Stéphane

On 11/14/06, Tony Truong <to...@atlassian.com> wrote:
>
> Hi guys,
>
> For your interest, I have made a library which we have found useful here
> down in Atlassian.
>
> http://repository.atlassian.com/maven2/com/atlassian/maven/util/maven-utils/
>
> So far it has:
>
> PropertyManager - Manages a list of property objects. This class will also
> filter maven2 variables inside keys.
>
> Why would I use custom properties?
>
>     * When you want to have a properties file as a source of truth
>     * When you want to increase a level of abstraction to your files for
> higher reusability (e.g. test files).
>     * When you want to use maven specific variables (e.g. ${basedir},
> ${pom.artifactId})
>
> Not sure how I will notify people of changes as of yet. Comments?
> Suggestions?
>
> Regards,
>
> Tony
> --
> View this message in context: http://www.nabble.com/FYI%3A-Developing-maven-utility-library-tf2627249s177.html#a7331336
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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