Created
July 29, 2020 10:13
-
-
Save jlengrand/0a6047cf0a42cfc5b98f6d6a568f015a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<groupId>nl.lengrand</groupId> | |
<version>1.1</version> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>cellar-driver</artifactId> | |
<properties> | |
<maven.compiler.source>11</maven.compiler.source> | |
<maven.compiler.target>11</maven.compiler.target> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.7.0</version> | |
<configuration> | |
<compilerArgs> | |
<arg>-h</arg> | |
<arg>${project.basedir}/target/headers</arg> | |
</compilerArgs> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.6.0</version> | |
<executions> | |
<execution> | |
<phase>compile</phase> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
<configuration> | |
<workingDirectory>${project.basedir}/src/main/c</workingDirectory> | |
<executable>make</executable> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>3.1.0</version> | |
<executions> | |
<execution> | |
<id>copy-resources</id> | |
<phase>package</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${basedir}/target/classes/libs/raspberry</outputDirectory> | |
<resources> | |
<resource> | |
<directory>src/main/resources/libs/raspberry</directory> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<configuration> | |
<archive> | |
<manifest> | |
<mainClass>nl.lengrand.cellar.TestLib</mainClass> | |
</manifest> | |
</archive> | |
<descriptorRefs> | |
<descriptorRef>jar-with-dependencies</descriptorRef> | |
</descriptorRefs> | |
</configuration> | |
<executions> | |
<execution> | |
<id>make-assembly</id> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<distributionManagement> | |
<repository> | |
<id>github</id> | |
<name>GitHub Packages</name> | |
<url>https://maven.pkg.github.com/jlengrand/cellar-driver</url> | |
</repository> | |
</distributionManagement> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment