Commit 58a9fb0c authored by Jenkins's avatar Jenkins

[maven-release-plugin] prepare release cbc4j-root-1.0

parent 6b304b31
<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">
<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>
<parent>
<groupId>com.patrikdufresne.cbc4j</groupId>
<artifactId>cbc4j-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</parent>
<artifactId>cbc4j-linux-x86_64</artifactId>
<properties>
<compile.target>x86_64-linux-gnu</compile.target>
<compile.ldflags></compile.ldflags>
<compile.cxxflags></compile.cxxflags>
<compile.ldflags />
<compile.cxxflags />
<cbc4j.lib.name>libcbc4j${cbc4j.version}.so</cbc4j.lib.name>
<cbc4j.platform.dir>linux/x86_64</cbc4j.platform.dir>
</properties>
......@@ -32,28 +31,23 @@
<target>
<!-- Get the coin-cbc source -->
<get src="${cbc.url}" dest="${cbc.dir}.tgz" skipexisting="true" />
<untar src="${cbc.dir}.tgz"
dest="${project.build.directory}"
compression="gzip" />
<untar src="${cbc.dir}.tgz" dest="${project.build.directory}" compression="gzip" />
<!-- Configure coin-cbc -->
<echo message="------------------------------------------------------------------------" />
<echo message="COMPILING COIN_CBC" />
<echo message="------------------------------------------------------------------------" />
<chmod dir="${cbc.dir}" perm="+x" includes="configure,**/install-sh"/>
<exec executable="./configure" dir="${cbc.dir}"
failonerror="true">
<env key="LDFLAGS" value="${compile.ldflags}"/>
<env key="CXXFLAGS" value="${compile.cxxflags}"/>
<chmod dir="${cbc.dir}" perm="+x" includes="configure,**/install-sh" />
<exec executable="./configure" dir="${cbc.dir}" failonerror="true">
<env key="LDFLAGS" value="${compile.ldflags}" />
<env key="CXXFLAGS" value="${compile.cxxflags}" />
<arg value="--disable-shared" />
<arg value="--with-pic" />
<arg value="--target=${compile.target}" />
<arg value="--host=${compile.target}" />
</exec>
<!-- Compile coin-cbc -->
<exec executable="make" dir="${cbc.dir}"
failonerror="true" />
<exec executable="make" dir="${cbc.dir}"
failonerror="true">
<exec executable="make" dir="${cbc.dir}" failonerror="true" />
<exec executable="make" dir="${cbc.dir}" failonerror="true">
<arg value="install" />
</exec>
<!-- Compile cbc4j -->
......@@ -64,15 +58,14 @@
<fileset dir="../src/main/native" />
</copy>
<mkdir dir="${swig.generated.sources}/${swig.package.dir}" />
<exec executable="make" dir="${project.build.directory}/cbc4j"
failonerror="true">
<exec executable="make" dir="${project.build.directory}/cbc4j" failonerror="true">
<env key="SWIG_OUTDIR" path="${swig.generated.sources}/${swig.package.dir}" />
<env key="SWIG_PACKAGE" value="${swig.package.name}" />
<env key="CBCDIR" path="${cbc.dir}"/>
<env key="JAVADIR" path="/usr/lib/jvm/default-java"/>
<env key="TARGET" value="${compile.target}"/>
<env key="LDFLAGS" value="${compile.ldflags}"/>
<env key="LIBCBC4J" value ="${cbc4j.lib.name}" />
<env key="CBCDIR" path="${cbc.dir}" />
<env key="JAVADIR" path="/usr/lib/jvm/default-java" />
<env key="TARGET" value="${compile.target}" />
<env key="LDFLAGS" value="${compile.ldflags}" />
<env key="LIBCBC4J" value="${cbc4j.lib.name}" />
</exec>
<mkdir dir="${cbc4j.generated.resources}/${cbc4j.platform.dir}" />
<copy file="${project.build.directory}/cbc4j/${cbc4j.lib.name}" tofile="${cbc4j.generated.resources}/${cbc4j.platform.dir}/${cbc4j.lib.name}" />
......
<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">
<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>
<parent>
<groupId>com.patrikdufresne.cbc4j</groupId>
<artifactId>cbc4j-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</parent>
<artifactId>cbc4j-win-i686</artifactId>
<properties>
......@@ -32,28 +31,23 @@
<target>
<!-- Get the coin-cbc source -->
<get src="${cbc.url}" dest="${cbc.dir}.tgz" skipexisting="true" />
<untar src="${cbc.dir}.tgz"
dest="${project.build.directory}"
compression="gzip" />
<untar src="${cbc.dir}.tgz" dest="${project.build.directory}" compression="gzip" />
<!-- Configure coin-cbc -->
<echo message="------------------------------------------------------------------------" />
<echo message="COMPILING COIN_CBC" />
<echo message="------------------------------------------------------------------------" />
<chmod dir="${cbc.dir}" perm="+x" includes="configure,**/install-sh"/>
<exec executable="./configure" dir="${cbc.dir}"
failonerror="true">
<env key="LDFLAGS" value="${compile.ldflags}"/>
<env key="CXXFLAGS" value="${compile.cxxflags}"/>
<chmod dir="${cbc.dir}" perm="+x" includes="configure,**/install-sh" />
<exec executable="./configure" dir="${cbc.dir}" failonerror="true">
<env key="LDFLAGS" value="${compile.ldflags}" />
<env key="CXXFLAGS" value="${compile.cxxflags}" />
<arg value="--disable-shared" />
<arg value="--with-pic" />
<arg value="--target=${compile.target}" />
<arg value="--host=${compile.target}" />
</exec>
<!-- Compile coin-cbc -->
<exec executable="make" dir="${cbc.dir}"
failonerror="true" />
<exec executable="make" dir="${cbc.dir}"
failonerror="true">
<exec executable="make" dir="${cbc.dir}" failonerror="true" />
<exec executable="make" dir="${cbc.dir}" failonerror="true">
<arg value="install" />
</exec>
<!-- Compile cbc4j -->
......@@ -64,15 +58,14 @@
<fileset dir="../src/main/native" />
</copy>
<mkdir dir="${swig.generated.sources}/${swig.package.dir}" />
<exec executable="make" dir="${project.build.directory}/cbc4j"
failonerror="true">
<exec executable="make" dir="${project.build.directory}/cbc4j" failonerror="true">
<env key="SWIG_OUTDIR" path="${swig.generated.sources}/${swig.package.dir}" />
<env key="SWIG_PACKAGE" value="${swig.package.name}" />
<env key="CBCDIR" path="${cbc.dir}"/>
<env key="JAVADIR" path="/usr/lib/jvm/default-java"/>
<env key="TARGET" value="${compile.target}"/>
<env key="LDFLAGS" value="${compile.ldflags}"/>
<env key="LIBCBC4J" value ="${cbc4j.lib.name}" />
<env key="CBCDIR" path="${cbc.dir}" />
<env key="JAVADIR" path="/usr/lib/jvm/default-java" />
<env key="TARGET" value="${compile.target}" />
<env key="LDFLAGS" value="${compile.ldflags}" />
<env key="LIBCBC4J" value="${cbc4j.lib.name}" />
</exec>
<mkdir dir="${cbc4j.generated.resources}/${cbc4j.platform.dir}" />
<copy file="${project.build.directory}/cbc4j/${cbc4j.lib.name}" tofile="${cbc4j.generated.resources}/${cbc4j.platform.dir}/${cbc4j.lib.name}" />
......
<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">
<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>
<parent>
<groupId>com.patrikdufresne.cbc4j</groupId>
<artifactId>cbc4j-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</parent>
<artifactId>cbc4j-win-x86_64</artifactId>
<properties>
<compile.target>x86_64-w64-mingw32</compile.target>
<compile.ldflags>-static-libgcc -static-libstdc++</compile.ldflags>
<compile.cxxflags></compile.cxxflags>
<compile.cxxflags />
<cbc4j.lib.name>cbc4j${cbc4j.version}.dll</cbc4j.lib.name>
<cbc4j.platform.dir>win/x86_64</cbc4j.platform.dir>
</properties>
......@@ -32,28 +31,23 @@
<target>
<!-- Get the coin-cbc source -->
<get src="${cbc.url}" dest="${cbc.dir}.tgz" skipexisting="true" />
<untar src="${cbc.dir}.tgz"
dest="${project.build.directory}"
compression="gzip" />
<untar src="${cbc.dir}.tgz" dest="${project.build.directory}" compression="gzip" />
<!-- Configure coin-cbc -->
<echo message="------------------------------------------------------------------------" />
<echo message="COMPILING COIN_CBC" />
<echo message="------------------------------------------------------------------------" />
<chmod dir="${cbc.dir}" perm="+x" includes="configure,**/install-sh"/>
<exec executable="./configure" dir="${cbc.dir}"
failonerror="true">
<env key="LDFLAGS" value="${compile.ldflags}"/>
<env key="CXXFLAGS" value="${compile.cxxflags}"/>
<chmod dir="${cbc.dir}" perm="+x" includes="configure,**/install-sh" />
<exec executable="./configure" dir="${cbc.dir}" failonerror="true">
<env key="LDFLAGS" value="${compile.ldflags}" />
<env key="CXXFLAGS" value="${compile.cxxflags}" />
<arg value="--disable-shared" />
<arg value="--with-pic" />
<arg value="--target=${compile.target}" />
<arg value="--host=${compile.target}" />
</exec>
<!-- Compile coin-cbc -->
<exec executable="make" dir="${cbc.dir}"
failonerror="true" />
<exec executable="make" dir="${cbc.dir}"
failonerror="true">
<exec executable="make" dir="${cbc.dir}" failonerror="true" />
<exec executable="make" dir="${cbc.dir}" failonerror="true">
<arg value="install" />
</exec>
<!-- Compile cbc4j -->
......@@ -64,15 +58,14 @@
<fileset dir="../src/main/native" />
</copy>
<mkdir dir="${swig.generated.sources}/${swig.package.dir}" />
<exec executable="make" dir="${project.build.directory}/cbc4j"
failonerror="true">
<exec executable="make" dir="${project.build.directory}/cbc4j" failonerror="true">
<env key="SWIG_OUTDIR" path="${swig.generated.sources}/${swig.package.dir}" />
<env key="SWIG_PACKAGE" value="${swig.package.name}" />
<env key="CBCDIR" path="${cbc.dir}"/>
<env key="JAVADIR" path="/usr/lib/jvm/default-java"/>
<env key="TARGET" value="${compile.target}"/>
<env key="LDFLAGS" value="${compile.ldflags}"/>
<env key="LIBCBC4J" value ="${cbc4j.lib.name}" />
<env key="CBCDIR" path="${cbc.dir}" />
<env key="JAVADIR" path="/usr/lib/jvm/default-java" />
<env key="TARGET" value="${compile.target}" />
<env key="LDFLAGS" value="${compile.ldflags}" />
<env key="LIBCBC4J" value="${cbc4j.lib.name}" />
</exec>
<mkdir dir="${cbc4j.generated.resources}/${cbc4j.platform.dir}" />
<copy file="${project.build.directory}/cbc4j/${cbc4j.lib.name}" tofile="${cbc4j.generated.resources}/${cbc4j.platform.dir}/${cbc4j.lib.name}" />
......
<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">
<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.patrikdufresne.cbc4j</groupId>
<artifactId>cbc4j-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<packaging>pom</packaging>
<name>cbc4j-root</name>
<!-- Define the SCM used for developpement. This information is used by
release:prepare -->
<scm>
<developerConnection>scm:git:http://git.patrikdufresne.com/cbc4j.git</developerConnection>
<tag>HEAD</tag>
<tag>cbc4j-root-1.0</tag>
</scm>
<!-- Define the repository for deployment -->
<distributionManagement>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment