[ http://jira.codehaus.org/browse/MNG-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MNG-3679. --------------------------- Resolution: Fixed > <execution><id>${some.custom.var}</id> ... broke > ------------------------------------------------ > > Key: MNG-3679 > URL: http://jira.codehaus.org/browse/MNG-3679 > Project: Maven 2 > Issue Type: Bug > Affects Versions: 2.0.10 > Reporter: Dan Tran > Assignee: John Casey > Fix For: 2.0.10 > > Original Estimate: 0 minutes > Remaining Estimate: 0 minutes > > in 2.0.9, i can to do this > <execution> > <id>${some.custom.var}</id> > .... > Not any more with 2.0.10-RC2 > Below is a produceable pom at > http://svn.codehaus.org/mojo/trunk/mojo/appassembler/appassembler-examples/appassembler-example-helloworld/pom.xml > with some changes. Note if you move the configuration out of <execution> > block, it works > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>org.codehaus.mojo.appassembler.example</groupId> > <artifactId>appassembler-example-helloworld</artifactId> > <version>1.0-SNAPSHOT</version> > <name>Application Assembler "Hello World" Example</name> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>appassembler-maven-plugin</artifactId> > <version>1.0-beta-1</version> > <executions> > <execution> > <id>${my.var}</id> > <goals> > <goal>assemble</goal> > </goals> > <configuration> > > <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath> > <binPrefix>foo</binPrefix> > <extraJvmArguments>-Xms16m</extraJvmArguments> > <programs> > <program> > > <mainClass>org.codehaus.mojo.appassembler.example.helloworld.HelloWorld</mainClass> > </program> > </programs> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > </build> > > <properties> > <my.var>asdasdf</my.var> > </properties> > </project> > here is the error: > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] One or more required plugin parameters are invalid/missing for > 'appassemb > ler:assemble' > [0] Inside the definition for plugin 'appassembler-maven-plugin' specify the > fol > lowing: > <configuration> > ... > <programs>VALUE</programs> > </configuration>. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira