Change By: Dennis Lundberg (06/Nov/12 2:26 PM)
Description: My project structure:

{noformat}
src
-main
  -config
     -folderA
         -fileA
{noformat}

My plugin configuration
{code:xml}
 <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>appassembler-maven-plugin</artifactId>
        <executions>
      <execution>
        <phase>package</phase>
        <goals>
          <goal>assemble</goal>
        </goals>
      </execution>
    </executions>
        <version>1.3</version>
        <configuration>
          <!-- Set the target configuration directory to be used in the bin scripts -->
          <configurationDirectory>conf</configurationDirectory>
          <configurationSourceDirectory>src/main/config</configurationSourceDirectory>
          <!-- Copy the contents from "/src/main/config" to the target
               configuration directory in the assembled application -->
          <copyConfigurationDirectory>true</copyConfigurationDirectory>
          <!-- Include the target configuration directory in the beginning of
               the classpath declaration in the bin scripts -->
          <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
          <!-- set alternative assemble directory 
          <assembleDirectory>${project.build.directory}/mycompany-assemble</assembleDirectory>
          -->
          <!-- Extra JVM arguments that will be included in the bin scripts -->
          <extraJvmArguments>-Xms256m</extraJvmArguments>
          <!-- Generate bin scripts for windows and unix pr default -->
          <platforms>
            <platform>windows</platform>
            <platform>unix</platform>
          </platforms>
                  <programs>
            <program>
              <mainClass>org.springframework.shell.Bootstrap</mainClass>
              <name>cli</name>
            </program>
          </programs>
        </configuration>
      </plugin>
{code}

Configuration files in src/main/config/ are copied to target/appassembler/conf, but the folder structure is not preserved and fileA is copied directly in target/appassembler/conf instead of target/appassembler/conf/folderA
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to