1*e67b5c11SXin Li<?xml version="1.0" encoding="UTF-8"?> 2*e67b5c11SXin Li<!-- 3*e67b5c11SXin Li ~ Copyright 2012 AndroidPlot.com 4*e67b5c11SXin Li ~ 5*e67b5c11SXin Li ~ Licensed under the Apache License, Version 2.0 (the "License"); 6*e67b5c11SXin Li ~ you may not use this file except in compliance with the License. 7*e67b5c11SXin Li ~ You may obtain a copy of the License at 8*e67b5c11SXin Li ~ 9*e67b5c11SXin Li ~ http://www.apache.org/licenses/LICENSE-2.0 10*e67b5c11SXin Li ~ 11*e67b5c11SXin Li ~ Unless required by applicable law or agreed to in writing, software 12*e67b5c11SXin Li ~ distributed under the License is distributed on an "AS IS" BASIS, 13*e67b5c11SXin Li ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*e67b5c11SXin Li ~ See the License for the specific language governing permissions and 15*e67b5c11SXin Li ~ limitations under the License. 16*e67b5c11SXin Li --> 17*e67b5c11SXin Li 18*e67b5c11SXin Li<project xmlns="http://maven.apache.org/POM/4.0.0" 19*e67b5c11SXin Li xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 20*e67b5c11SXin Li xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 21*e67b5c11SXin Li <parent> 22*e67b5c11SXin Li <artifactId>androidplot</artifactId> 23*e67b5c11SXin Li <groupId>com.androidplot</groupId> 24*e67b5c11SXin Li <version>0.6.0-SNAPSHOT</version> 25*e67b5c11SXin Li </parent> 26*e67b5c11SXin Li <modelVersion>4.0.0</modelVersion> 27*e67b5c11SXin Li 28*e67b5c11SXin Li <artifactId>androidplot-examples</artifactId> 29*e67b5c11SXin Li <name>AndroidPlot-Examples</name> 30*e67b5c11SXin Li <packaging>pom</packaging> 31*e67b5c11SXin Li 32*e67b5c11SXin Li <dependencies> 33*e67b5c11SXin Li <dependency> 34*e67b5c11SXin Li <groupId>com.google.android</groupId> 35*e67b5c11SXin Li <artifactId>android</artifactId> 36*e67b5c11SXin Li </dependency> 37*e67b5c11SXin Li <!--<dependency> 38*e67b5c11SXin Li <groupId>com.google.android</groupId> 39*e67b5c11SXin Li <artifactId>android</artifactId> 40*e67b5c11SXin Li <version>2.1_r1</version> 41*e67b5c11SXin Li <scope>provided</scope> 42*e67b5c11SXin Li </dependency>--> 43*e67b5c11SXin Li <!-- TODO: figure out how to use this dependency without breaking the clean target; 44*e67b5c11SXin Li used as-is, the clean target can fail because the dependency is erased by maven. 45*e67b5c11SXin Li <dependency> 46*e67b5c11SXin Li <groupId>com.androidplot</groupId> 47*e67b5c11SXin Li <artifactId>androidplot-core</artifactId> 48*e67b5c11SXin Li <version>${applicationVersion}</version> 49*e67b5c11SXin Li </dependency> 50*e67b5c11SXin Li --> 51*e67b5c11SXin Li </dependencies> 52*e67b5c11SXin Li 53*e67b5c11SXin Li <build> 54*e67b5c11SXin Li <plugins> 55*e67b5c11SXin Li <plugin> 56*e67b5c11SXin Li <artifactId>maven-antrun-plugin</artifactId> 57*e67b5c11SXin Li <version>1.6</version> 58*e67b5c11SXin Li <executions> 59*e67b5c11SXin Li <execution> 60*e67b5c11SXin Li <id>compile</id> 61*e67b5c11SXin Li <phase>compile</phase> 62*e67b5c11SXin Li <goals> 63*e67b5c11SXin Li <goal>run</goal> 64*e67b5c11SXin Li </goals> 65*e67b5c11SXin Li 66*e67b5c11SXin Li <configuration> 67*e67b5c11SXin Li <target name="build-examples"> 68*e67b5c11SXin Li <!-- 69*e67b5c11SXin Li <property name="key.store" value="test"/> 70*e67b5c11SXin Li <property name="key.alias" value="test"/> 71*e67b5c11SXin Li --> 72*e67b5c11SXin Li <!--<property name="sdk.dir" value="C:/android-sdk"/>--> 73*e67b5c11SXin Li <property environment="env"/> 74*e67b5c11SXin Li <property name="sdk.dir" value="${env.ANDROID_HOME}"/> 75*e67b5c11SXin Li <!-- todo: include only the release jar, not everything inside 76*e67b5c11SXin Li the artifacts dir.--> 77*e67b5c11SXin Li <!--<property name="jar.libs.dir" value="../../AndroidPlot-Core/target/obfuscated/"/>--> 78*e67b5c11SXin Li <property name="build.compiler" value="extJavac"/> 79*e67b5c11SXin Li <property environment="env"/> 80*e67b5c11SXin Li <property name="sdk.dir" value="${env.ANDROID_HOME}"/> 81*e67b5c11SXin Li <!--<property name="apkeystore" value="${env.AP_KEYSTORE}"/>--> 82*e67b5c11SXin Li 83*e67b5c11SXin Li <!-- DemoApp--> 84*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="DemoApp"/> 85*e67b5c11SXin Li 86*e67b5c11SXin Li <!-- DynamicXYPlotExample--> 87*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="DynamicXYPlotExample"/> 88*e67b5c11SXin Li 89*e67b5c11SXin Li <!-- HelperExample--> 90*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="HelperExample"/> 91*e67b5c11SXin Li 92*e67b5c11SXin Li <!-- OrientationSensorExample--> 93*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="OrientationSensorExample"/> 94*e67b5c11SXin Li 95*e67b5c11SXin Li <!-- SimpleXYPlotExample--> 96*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="SimpleXYPlotExample"/> 97*e67b5c11SXin Li 98*e67b5c11SXin Li <!-- StepChartExample--> 99*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="StepChartExample"/> 100*e67b5c11SXin Li 101*e67b5c11SXin Li <!-- TimedXYPlotExample 102*e67b5c11SXin Li <ant antfile="build.xml" target="debug" dir="TimedXYPlotExample"/> 103*e67b5c11SXin Li --> 104*e67b5c11SXin Li </target> 105*e67b5c11SXin Li 106*e67b5c11SXin Li </configuration> 107*e67b5c11SXin Li 108*e67b5c11SXin Li </execution> 109*e67b5c11SXin Li <execution> 110*e67b5c11SXin Li <id>clean</id> 111*e67b5c11SXin Li <phase>clean</phase> 112*e67b5c11SXin Li <goals> 113*e67b5c11SXin Li <goal>run</goal> 114*e67b5c11SXin Li </goals> 115*e67b5c11SXin Li <configuration> 116*e67b5c11SXin Li <tasks> 117*e67b5c11SXin Li <property environment="env"/> 118*e67b5c11SXin Li <property name="sdk.dir" value="${env.ANDROID_HOME}"/> 119*e67b5c11SXin Li 120*e67b5c11SXin Li <!-- DemoApp--> 121*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="DemoApp"/> 122*e67b5c11SXin Li 123*e67b5c11SXin Li <!-- DynamicXYPlotExample--> 124*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="DynamicXYPlotExample"/> 125*e67b5c11SXin Li 126*e67b5c11SXin Li <!-- HelperExample--> 127*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="HelperExample"/> 128*e67b5c11SXin Li 129*e67b5c11SXin Li <!-- OrientationSensorExample--> 130*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="OrientationSensorExample"/> 131*e67b5c11SXin Li 132*e67b5c11SXin Li <!-- SimpleXYPlotExample--> 133*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="SimpleXYPlotExample"/> 134*e67b5c11SXin Li 135*e67b5c11SXin Li <!-- StepChartExample--> 136*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="StepChartExample"/> 137*e67b5c11SXin Li 138*e67b5c11SXin Li <!-- TimedXYPlotExample 139*e67b5c11SXin Li <ant antfile="build.xml" target="clean" dir="TimedXYPlotExample"/> 140*e67b5c11SXin Li--> 141*e67b5c11SXin Li </tasks> 142*e67b5c11SXin Li </configuration> 143*e67b5c11SXin Li </execution> 144*e67b5c11SXin Li </executions> 145*e67b5c11SXin Li </plugin> 146*e67b5c11SXin Li </plugins> 147*e67b5c11SXin Li </build> 148*e67b5c11SXin Li 149*e67b5c11SXin Li 150*e67b5c11SXin Li</project>