Will, Thanks. It was particularly nice of you to include some XML form me to review. I'll give it a shot.
Thanks, Doug Hughes, President Alagad Inc. [email protected] 888 Alagad4 (x300) Office: 919-550-0755 Fax: 888-248-7836 On Mon, May 11, 2009 at 12:08 PM, Will Hoover <[email protected]>wrote: > you could use the maven-assembly-plugin: > > src/main/assembly/cfml.xml > <assembly > > xmlns=" > http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation=" > http://maven.apache.org/plugins/maven-assembly-plugin/as > sembly/1.1.0<http://maven.apache.org/plugins/maven-assembly-plugin/as%0Asembly/1.1.0> > http://maven.apache.org/xsd/assembly-1.1.0.xsd"> > > <id>cfml-resources</id> > <formats> > <format>zip</format> > </formats> > <!-- <includeBaseDirectory>false</includeBaseDirectory> --> > <fileSets> > <fileSet> > <directory>${basedir}/src/main/cfml</directory> > <outputDirectory></outputDirectory> > <includes> > <include>**/*.cfm</include> > </includes> > <filtered>true</filtered> > </fileSet> > </fileSets> > </assembly> > > pom.xml > ... > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <executions> > <execution> > <id>cfml-resources</id> > <goals> > <goal>single</goal> > </goals> > <phase>package</phase> > <configuration> > <descriptors> > > <descriptor>src/main/assembly/cfml.xml</descriptor> > </descriptors> > </configuration> > </execution> > </executions> > </plugin> > ... > > -----Original Message----- > From: Doug Hughes [mailto:[email protected]] > Sent: Monday, May 11, 2009 11:21 AM > To: Maven Users List > Subject: Creating a zip of non-java files > > Hi, > > I'm working to create a new project which would have no Java sources or > tests in it. The project actually is made up of ColdFusion code. I can't > figure out how to get Maven to zip this up. > > I started by creating a new project and removing the java and test folders. > I added a folder src/main/cfml > > I set the packaging to zip. > > However, when I do a mvn install I get nothing in the target directory at > all. Is there a trick to getting this to zip up the cfml directory? > > Thanks, > > Doug Hughes, President > Alagad Inc. > [email protected] > 888 Alagad4 (x300) > Office: 919-550-0755 > Fax: 888-248-7836 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
