On 12/06/2010, at 2:24 AM, Alexis Tual wrote:

> Hi list and maven guys,
> 
> i'd like to add the CFBundleShortVersionString param in Info.plist 's maven 
> built frameworks (mine and in wonder frameworks)
> Has anyone already done that ? If not, where can i find the source code of 
> maven-wolifecycle-plugin ?
> 
> Thanks for your answers

1) create src/main/resources/Info.plist:
        ...
        <key>CFBundleShortVersionString</key>
        <string>${CFBundleShortVersionString}</string>
        ...
2) pom.xml:
<properties>
        <CFBundleShortVersionString>xyz</CFBundleShortVersionString>
</properties>
<build>
        ...
        <resources>
                <resource>
                        <targetPath>Resources</targetPath>
                        <directory>${basedir}/src/main/resources</directory>
                        <filtering>true></filtering>
                </resource>
                ...
        </resources>
</build>


with regards,
--

Lachlan Deck



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to