| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>com.intel.bigdatamem</groupId> |
| <artifactId>bdmem</artifactId> |
| <version>1.6.6-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <name>bdmem</name> |
| <description>Intel Big Data Memory Building Block.</description> |
| <url>http://www.intel.com</url> |
| |
| <developers> |
| <developer> |
| <id>11526414</id> |
| <name>Wang, Gang</name> |
| <email>gang1.wang@intel.com</email> |
| </developer> |
| </developers> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <id>bintray</id> |
| <name>bintray</name> |
| <url>http://dl.bintray.com/flowcomputing/commons</url> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>6.8.17</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.flowcomputing.commons</groupId> |
| <artifactId>commons-resgc</artifactId> |
| <version>0.8.7</version> |
| </dependency> |
| <dependency> |
| <groupId>org.flowcomputing.commons</groupId> |
| <artifactId>commons-primitives</artifactId> |
| <version>0.6.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup</groupId> |
| <artifactId>javapoet</artifactId> |
| <version>1.3.1-SNAPSHOT</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/native/dist</directory> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.3</version> |
| <configuration> |
| <compilerArgs> |
| <arg>-XDignore.symbol.file</arg> |
| </compilerArgs> |
| <verbose>true</verbose> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.bsc.maven</groupId> |
| <artifactId>maven-processor-plugin</artifactId> |
| <version>2.2.4</version> |
| <executions> |
| <execution> |
| <id>process-test</id> |
| <goals><goal>process-test</goal></goals> |
| <phase>generate-test-sources</phase> |
| <configuration> |
| <processors> |
| <processor>com.intel.bigdatamem.PersistentEntityProcessor</processor> |
| </processors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.8</version> |
| <executions> |
| <execution> |
| <id>build-native</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <echo>Java Home: ${java.home}</echo> |
| <exec dir="src/main/native" executable="./autogen.sh" failonerror="true"/> |
| <exec dir="src/main/native" executable="./configure" failonerror="true"/> |
| <exec dir="src/main/native" executable="make" failonerror="true"> |
| <env key="JAVA_HOME" value="${java.home}/.." /> |
| </exec> |
| <copy file="src/main/native/.libs/libbigdatamem.so" tofile="src/main/native/dist/native/libbigdatamem.so" /> |
| <copy file="src/main/native/.libs/libbigdatapmem.so" tofile="src/main/native/dist/native/libbigdatapmem.so" /> |
| </tasks> |
| </configuration> |
| </execution> |
| <execution> |
| <id>clean-native</id> |
| <phase>clean</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <exec dir="src/main/native" executable="make" failonerror="false"> |
| <arg value="maintainer-clean" /> |
| </exec> |
| <delete file="src/main/native/dist/native/libbigdatamem.so" /> |
| <delete file="src/main/native/dist/native/libbigdatapmem.so" /> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| <configuration> |
| <argLine>-Xmx2g</argLine> |
| <suiteXmlFiles> |
| <suiteXmlFile>src/test/BDMemNGTest.xml</suiteXmlFile> |
| </suiteXmlFiles> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9.1</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| <show>public</show> |
| <nohelp>true</nohelp> |
| <header>BigDataMemoryLibrary, ${project.version}</header> |
| <footer>BigDataMemoryLibrary, ${project.version}</footer> |
| <doctitle>BigDataMemoryLibrary, ${project.version}</doctitle> |
| <links> |
| <link>http://static.springsource.org/spring/docs/3.0.x/javadoc-api/</link> |
| </links> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <version>1.1</version> |
| <configuration> |
| <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory> |
| <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment> |
| <content>${project.reporting.outputDirectory}/apidocs</content> |
| <skipDeletedFiles>true</skipDeletedFiles> |
| <pubScmUrl>scm:git:https://github.com/intel-hadoop/intel-bdmem-project.git</pubScmUrl> |
| <scmBranch>gh-pages</scmBranch> <!-- branch with static site --> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.wvengen</groupId> |
| <artifactId>proguard-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals><goal>proguard</goal></goals> |
| </execution> |
| </executions> |
| <configuration> |
| <maxMemory>4096m</maxMemory> |
| <proguardInclude>${basedir}/proguard.conf</proguardInclude> |
| <libs> |
| <lib>${java.home}/lib/rt.jar</lib> |
| </libs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |
| |