Help please....

I am using the Maven Assembly Plugin to build a distribution zip and am getting 
some strange behavior with filename cases (which is a problem because we deploy 
to Unix and Windows - issue on Unix).

POM:
       <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-assembly-plugin</artifactId>
              <configuration>
                     <descriptor>./src/main/assembly/dist.xml</descriptor>
<finalName>NG_v${project.version}_${build.date}_rev${build.number}_en_US</finalName>
                     <appendAssemblyId>false</appendAssemblyId>
              </configuration>
              <executions>
                     <execution>
                            <id>make-assembly</id>
                            <phase>package</phase>
                            <goals>
                                  <goal>single</goal>
                            </goals>
                     </execution>
              </executions>
</plugin>


dist.xml:
        <fileSet>
            <directory>${schemas-dir}/templates/en_US</directory>
            <outputDirectory>templates </outputDirectory>
        </fileSet>

In the source directory, the files are ALL UPPERCASE ex: CFG_APPLICATION.XML

However, in the resulting zip file, the plugin puts them in "proper name case" 
ex: Cfg_application.xml

I've searched everywhere to see if there is a content check or flag that does 
this, but nothing...

Has anyone had this issue or can anyone think of options I can try to stop this 
behavior?

Kind regards,

___________________________________
NextGate
Peter Berkman
m: +1-909-268-0084 ■ Linked-In<http://www.linkedin.com/in/pberkman> ■ 
nextgate.com<http://www.nextgate.com/>
Index + Link + Share for connected care

IMPORTANT WARNING: This email (and any attachments) is only intended for the 
use of the person or entity to which it is addressed, and may contain 
information that is privileged and confidential. You, the recipient, are 
obligated to maintain it in a safe, secure and confidential manner. 
Unauthorized re-disclosure or failure to maintain confidentiality may subject 
you to federal and state penalties. If you are not the intended recipient, 
please immediately notify us by return email, and delete this message from your 
computer.

Reply via email to