dev@grizzly.java.net

Re: Testing OSGi HttpService

From: Hubert Iwaniuk <neotyk_at_kungfoo.pl>
Date: Wed, 4 Feb 2009 23:31:43 +0100

You need to:

   1. enable resource filtering, like
here<http://github.com/neotyk/maven-overview-plugin/blob/bdc4fa33bfe839e229777a64f1dfc0f7b3d3e674/pom.xml#L188>
   2. have properties file with placeholders, like
here<http://github.com/neotyk/maven-overview-plugin/blob/bdc4fa33bfe839e229777a64f1dfc0f7b3d3e674/src/main/resources/overview.properties>
   3. read properties file, like usual

And that's it.

H.

On Wed, Feb 4, 2009 at 11:24 PM, Jeanfrancois Arcand <
Jeanfrancois.Arcand_at_sun.com> wrote:

>
>
> Hubert Iwaniuk wrote:
>
>> Cool
>>
>> Maven filtering would do the job.
>> If we could read version from properties that would be very easy.
>>
>
> Yes, mostly the pom.xml's valeu (${grizzly.version}) needs to be injected
> in utils/src/main/java/com/sun/grizzly/util/Grizzly.java
>
> Do you have a pointer I can look at to see how this can be done with Maven?
>
> Thanks
>
> -- Jeanfrancois
>