wcautil
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.wixtoolset.sdk.nar</groupId>
<artifactId>wcautil</artifactId>
<version>3.11.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.wixtoolset</groupId>
<artifactId>wix-toolset-parent</artifactId>
<version>3.11.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.wixtoolset.sdk.nar</groupId>
<artifactId>wcautil</artifactId>
<packaging>nar</packaging>
<name>WiX WCAUtil</name>
<dependencies>
<dependency>
<groupId>org.wixtoolset.sdk.nar</groupId>
<artifactId>dutil</artifactId>
<version>3.11.1</version>
<type>nar</type>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<targetPath>${nar.src.noarch}</targetPath>
<filtering>false</filtering>
<directory>${zip.unpack}/sdk/inc</directory>
<includes>
<include>wcautil.h</include>
</includes>
</resource>
<resource>
<targetPath>${nar.src.x86}</targetPath>
<filtering>false</filtering>
<directory>${zip.unpack}/sdk/x86</directory>
</resource>
<resource>
<targetPath>${nar.src.x64}</targetPath>
<filtering>false</filtering>
<directory>${zip.unpack}/sdk/x64</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>prepare</id>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="prepare modules">
<echo>../../${wix.downloadFile}</echo>
<unzip dest="${zip.unpack}" overwrite="false" src="../../${wix.downloadFile}">
<patternset>
<include name="sdk/inc/**/*" />
</patternset>
</unzip>
<unzip dest="${zip.unpack}" overwrite="false" src="../../${wix.downloadFile}">
<patternset>
<include name="sdk/vs*/**/wcautil*" />
</patternset>
<mapper>
<mapper type="regexp" from="^sdk/vs2010/lib/(.*)/(.*\.lib)" to="sdk/\1/msvc10/\2" />
<mapper type="regexp" from="^sdk/vs2012/lib/(.*)/(.*\.lib)" to="sdk/\1/msvc11/\2" />
<mapper type="regexp" from="^sdk/vs2013/lib/(.*)/(.*\.lib)" to="sdk/\1/msvc12/\2" />
<mapper type="regexp" from="^sdk/vs2017/lib/(.*)/(.*\.lib)" to="sdk/\1/msvc141/\2" />
</mapper>
</unzip>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<!-- Windows -->
<!-- x86 x64 -->
<!-- msvc -->
<resourcesCopyAOL>false</resourcesCopyAOL>
<output>msvc10/wcautil</output>
<libraries>
<library>
<type>static</type>
</library>
</libraries>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>run-its</id>
<build>
<plugins>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.8</version>
<configuration>
<debug>${invoker.debug}</debug>
<ignoreFailures>false</ignoreFailures>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<setupIncludes>
</setupIncludes>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<pomExcludes>
</pomExcludes>
<localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<goals>
<goal>clean</goal>
<goal>install</goal>
</goals>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>