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>


>
>

Reply via email to