You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2008/07/24 17:40:26 UTC

[jira] Created: (MNG-3679) ${some.custom.var} ... broke

<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


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

        

[jira] Updated: (MNG-3679) ${some.custom.var} ... broke

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-3679:
----------------------------

              Assignee: John Casey
    Remaining Estimate: 0 minutes
     Original Estimate: 0 minutes

> <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

        

[jira] Updated: (MNG-3679) ${some.custom.var} ... broke

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3679:
-----------------------------------

    Affects Version/s:     (was: 2.0.10)
                       2.1.0-M1

> <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.1.0-M1
>            Reporter: Dan Tran
>            Assignee: John Casey
>             Fix For: 2.1.0-M1
>
>   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

        

[jira] Updated: (MNG-3679) ${some.custom.var} ... broke

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-3679:
----------------------------

    Fix Version/s: 2.0.10

> <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
>             Fix For: 2.0.10
>
>
> 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

        

[jira] Closed: (MNG-3679) ${some.custom.var} ... broke

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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