incubator-npanday-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronan Carty <ronanca...@gmail.com>
Subject Re: NPanday - Type Zip
Date Tue, 10 Apr 2012 16:23:06 GMT
Hi,

As a follow up if anyone else has a similar problem, a solution for me
is.....


Adding the following plug-in to the POM.xml located in the visual studio
project folder will allow the maven build to get  the file from your
repository and copy it to   <outputDirectory> + <destFileName>

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <id>copy</id>
            <phase>process-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId> release.product.productname </groupId>
                  <artifactId>propductmanger</artifactId>
                  <version>1.0</version>
                  <type>zip</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>./lib</outputDirectory>
                  <destFileName>MYFILE.zip</destFileName>
                </artifactItem>
              </artifactItems>
              <outputDirectory>./lib</outputDirectory>
              <overWriteReleases>true</overWriteReleases>
              <overWriteSnapshots>true</overWriteSnapshots>
            </configuration>
          </execution>
        </executions>
      </plugin>


>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message