Re: Maven build and CFBundleShortVersionString
Re: Maven build and CFBundleShortVersionString
- Subject: Re: Maven build and CFBundleShortVersionString
- From: Lachlan Deck <email@hidden>
- Date: Sat, 12 Jun 2010 06:15:35 +1000
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden