Marius,

This plugin section is directly under build.plugins or under build.pluginManagement.plugins ?

I am assuming (wild guess) it's under build.pluginManagement.plugins and hence it never gets invoked. Try putting it under build.plugins and see if it works.

Alternately, you can send me the pom.xml privately and I'll take a look.

Cheers, Indrajit


On 17/01/10 10:13 PM, Marius wrote:
Guys,

This is  not a lift question, but a maven one :D ...

I was to use a properties file to specify the build number into a
multimodule project.

So I have a build.properties (at the level of parent pom) that
contains:

build.number=003

and the following plugin in the parent pom:

       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>properties-maven-plugin</artifactId>
         <version>1.0-alpha-2</version>
         <executions>
           <execution>
             <phase>initialize</phase>
             <goals>
               <goal>read-project-properties</goal>
             </goals>
             <configuration>
               <files>
                 <file>build.properties</file>
               </files>
             </configuration>
           </execution>
         </executions>
       </plugin>

Trying to use ${build.number} I get null.

I also tried putting the plugin in pluginManagement but nada.

Thoughts?

Br's,
Marius

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to