[8c5326]: pom-boost-1440.xml Maximize Restore History

Download this file

pom-boost-1440.xml    169 lines (164 with data), 5.7 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<profiles>
<profile>
<id>win32</id>
<activation>
<os>
<family>windows</family>
<arch>x86</arch>
</os>
</activation>
<properties>
<boost.toolset>msvc</boost.toolset>
<my.family>win32</my.family>
<target>ntx86</target>
<jambuild>build_dist.bat</jambuild>
</properties>
</profile>
<profile>
<id>linux</id>
<activation>
<os>
<name>Linux</name>
<family>unix</family>
</os>
</activation>
<properties>
<boost.toolset>gcc</boost.toolset>
<my.family>linux</my.family>
<target>linuxx86*</target>
<jambuild>build_dist.sh</jambuild>
</properties>
</profile>
<profile>
<id>macosx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<boost.toolset>darwin</boost.toolset>
<my.family>mac</my.family>
<target>macosxx86</target>
<jambuild>build_dist.sh</jambuild>
</properties>
</profile>
<profile>
<id>solaris</id>
<activation>
<os>
<name>Solaris</name>
<family>unix</family>
</os>
</activation>
<properties>
<my.family>solaris</my.family>
<target>solaris</target>
<jambuild>build_dist.sh</jambuild>
</properties>
</profile>
</profiles>
<!--
<parent>
<artifactId>JHive</artifactId>
<groupId>org.esb.jhive</groupId>
<version>0.1.0</version>
</parent>-->
<groupId>org.esb.boost</groupId>
<artifactId>boost</artifactId>
<version>1.44.0</version>
<name>boost</name>
<url>http://maven.apache.org</url>
<distributionManagement>
<repository>
<id>ftp-repository</id>
<url>ftp://codergrid.de</url>
</repository>
</distributionManagement>
<build>
<extensions>
<!-- Enabling the use of FTP -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<mkdir dir="source"/>
<mkdir dir="source/build"/>
<get src="http://dfn.dl.sourceforge.net/project/boost/boost/1.44.0/boost_1_44_0.zip"
dest="source/boost_1_44_0.zip"
verbose="true" usetimestamp="true"/>
<unzip src="source/boost_1_44_0.zip" dest="source"/>
<!-- the untar task does not preserve the file attributes like execution flags-->
<!--<untar src="source/boost_1_36_0.tar" dest="source" overwrite="false"/>-->
<!--<exec executable="tar" dir="source">
<arg line="-xf boost_1_44_0.tar"/>
</exec>-->
<!--<patch patchfile="src/patch/boost_1_36_0_c++0x.patch" dir="source" strip="0"/>
-->
<chmod file="${project.basedir}/source/boost_1_44_0/tools/jam/${jambuild}" perm="ugo+rx"/>
<exec executable="${project.basedir}/source/boost_1_44_0/tools/jam/${jambuild}" dir="source/boost_1_44_0/tools/jam" failonerror="no">
</exec>
<path id="bjam.path">
<fileset dir="${project.basedir}/source/boost_1_44_0/tools/jam/stage/" includes="bin.*/bjam*"/>
</path>
<fileset dir="${project.basedir}/source/boost_1_44_0/tools/jam/stage/" id="libs" >
<include name="**/bjam*"/>
</fileset>
<property name="bjam" refid="bjam.path"/>
<exec executable="${bjam}" dir="source/boost_1_44_0" failonerror="no">
<arg line="--prefix=${project.basedir}/source/build/boost --toolset=${boost.toolset} --without-python --without-wave --without-graph --without-mpi --without-math variant=${build_type} link=static threading=multi install"/>
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>build-release</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
<configuration>
<descriptors>
<descriptor>assembly/release-boost.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<boost.version>1.36.0</boost.version>
</properties>
</project>