Commit 00893789 authored by Patrik Dufresne's avatar Patrik Dufresne

Define maven-source-plugin version.

Update gitignore.
parent 90f11304
/target
target/
*~
/bin
.project
......
<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>
<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>
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>
<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>
</scm>
<!-- Define the repository for deployment -->
<distributionManagement>
<repository>
<id>patrikdufresne</id>
<name>Internal Releases</name>
<url>http://nexus.patrikdufresne.com/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>patrikdufresne</id>
<name>Internal Releases</name>
<url>http://nexus.patrikdufresne.com/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javacbc.version>10</javacbc.version>
<!-- Define the version of cbc dependency -->
<cbc.version>2.8.3</cbc.version>
<!-- Define location of the source -->
<cbc.url>http://www.coin-or.org/download/source/Cbc/Cbc-${cbc.version}.tgz</cbc.url>
<cbc.dir>${project.build.directory}/Cbc-${cbc.version}</cbc.dir>
<!-- Define the package for generated source -->
<swig.package.name>com.patrikdufresne.cbc4j</swig.package.name>
<swig.package.dir>com/patrikdufresne/cbc4j</swig.package.dir>
<!-- Define destination of generated source -->
<swig.generated.sources>${project.build.directory}/generated-sources/swig</swig.generated.sources>
<!-- Define destination of generated javacbc lib -->
<javacbc.generated.resources>${project.build.directory}/generated-resources/javacbc</javacbc.generated.resources>
</properties>
<build>
<plugins>
<!-- javac version to 1.6 for all sub-project -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!-- generate source package for all sub-project -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>cbc4j-linux-x86_64</module>
<module>cbc4j-win-i686</module>
<module>cbc4j-win-x86_64</module>
</modules>
<!-- Define the repository for deployment -->
<distributionManagement>
<repository>
<id>patrikdufresne</id>
<name>Internal Releases</name>
<url>http://nexus.patrikdufresne.com/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>patrikdufresne</id>
<name>Internal Releases</name>
<url>http://nexus.patrikdufresne.com/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javacbc.version>10</javacbc.version>
<!-- Define the version of cbc dependency -->
<cbc.version>2.8.3</cbc.version>
<!-- Define location of the source -->
<cbc.url>http://www.coin-or.org/download/source/Cbc/Cbc-${cbc.version}.tgz</cbc.url>
<cbc.dir>${project.build.directory}/Cbc-${cbc.version}</cbc.dir>
<!-- Define the package for generated source -->
<swig.package.name>com.patrikdufresne.cbc4j</swig.package.name>
<swig.package.dir>com/patrikdufresne/cbc4j</swig.package.dir>
<!-- Define destination of generated source -->
<swig.generated.sources>${project.build.directory}/generated-sources/swig</swig.generated.sources>
<!-- Define destination of generated javacbc lib -->
<javacbc.generated.resources>${project.build.directory}/generated-resources/javacbc</javacbc.generated.resources>
</properties>
<build>
<plugins>
<!-- javac version to 1.6 for all sub-project -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!-- generate source package for all sub-project -->
<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</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>cbc4j-linux-x86_64</module>
<module>cbc4j-win-i686</module>
<module>cbc4j-win-x86_64</module>
</modules>
</project>
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