Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9005 manish.sha 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
 * Licensed to the Apache Software Foundation (ASF) under one
4
 * or more contributor license agreements.  See the NOTICE file
5
 * distributed with this work for additional information
6
 * regarding copyright ownership.  The ASF licenses this file
7
 * to you under the Apache License, Version 2.0 (the
8
 * "License"); you may not use this file except in compliance
9
 * with the License.  You may obtain a copy of the License at
10
 *
11
 *   http://www.apache.org/licenses/LICENSE-2.0
12
 *
13
 * Unless required by applicable law or agreed to in writing,
14
 * software distributed under the License is distributed on an
15
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
 * KIND, either express or implied.  See the License for the
17
 * specific language governing permissions and limitations
18
 * under the License.
19
-->
20
<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">
21
 
22
  <modelVersion>4.0.0</modelVersion>
23
 
24
  <groupId>com.google.api-ads.examples</groupId>
25
  <artifactId>adwords-axis-examples</artifactId>
26
  <version>1.20.0</version>
27
 
28
  <packaging>jar</packaging>
29
 
30
  <name>AdWords Examples using Axis</name>
31
  <description>
32
    This project contains examples of using the Ads APIs Java client library
33
    with AdWords and the Apache Axis framework. Please see the README file for
34
    more information about how to use the library.
35
  </description>
36
 
37
  <properties>
38
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39
    <smokeMainClass>adwords.axis.v201309.basicoperations.GetCampaigns</smokeMainClass>
40
  </properties>
41
 
42
  <build>
43
    <plugins>
44
     <plugin>
45
        <groupId>org.codehaus.mojo</groupId>
46
        <artifactId>versions-maven-plugin</artifactId>
47
        <version>1.3.1</version>
48
        <configuration>
49
          <generateBackupPoms>false</generateBackupPoms>
50
          <includes>
51
            <include>com.google.http-client:*</include>
52
          </includes>
53
        </configuration>
54
      </plugin>
55
      <plugin>
56
        <groupId>org.apache.maven.plugins</groupId>
57
        <artifactId>maven-compiler-plugin</artifactId>
58
        <version>2.3.2</version>
59
        <configuration>
60
          <source>1.6</source>
61
          <target>1.6</target>
62
        </configuration>
63
      </plugin>
64
      <plugin>
65
        <groupId>org.codehaus.mojo</groupId>
66
        <artifactId>exec-maven-plugin</artifactId>
67
        <version>1.2.1</version>
68
        <executions>
69
          <execution>
70
            <goals>
71
              <goal>java</goal>
72
            </goals>
73
          </execution>
74
        </executions>
75
      </plugin>
76
      <plugin>
77
        <artifactId>maven-assembly-plugin</artifactId>
78
        <version>2.3</version>
79
        <configuration>
80
          <descriptors>
81
            <descriptor>src/main/assembly/dependencies.xml</descriptor>
82
          </descriptors>
83
        </configuration>
84
      </plugin>
85
      <plugin>
86
        <groupId>org.apache.maven.plugins</groupId>
87
        <artifactId>maven-shade-plugin</artifactId>
88
        <version>2.0</version>
89
        <executions>
90
          <execution>
91
            <phase>package</phase>
92
            <goals>
93
              <goal>shade</goal>
94
            </goals>
95
          </execution>
96
        </executions>
97
        <configuration>
98
          <finalName>singlejar</finalName>
99
          <outputDirectory>${jarOutputDirectory}</outputDirectory>
100
          <transformers>
101
            <transformer
102
                implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
103
              <mainClass>${smokeMainClass}</mainClass>
104
            </transformer>
105
          </transformers>
106
        </configuration>
107
      </plugin>
108
    </plugins>
109
  </build>
110
 
111
  <dependencies>
112
    <!-- Ads client library dependencies -->
113
    <dependency>
114
      <groupId>com.google.api-ads</groupId>
115
      <artifactId>ads-lib</artifactId>
116
      <version>1.20.0</version>
117
    </dependency>
118
    <dependency>
119
      <groupId>com.google.api-ads</groupId>
120
      <artifactId>adwords-axis</artifactId>
121
      <version>1.20.0</version>
122
    </dependency>
123
 
124
    <!-- Third party dependencies -->
125
    <dependency>
126
      <groupId>com.google.http-client</groupId>
127
      <artifactId>google-http-client-jackson2</artifactId>
128
      <version>1.17.0-rc</version>
129
    </dependency>
130
 
131
    <!-- Configuration to use log4j for logging -->
132
    <dependency>
133
      <groupId>log4j</groupId>
134
      <artifactId>log4j</artifactId>
135
      <version>1.2.16</version>
136
    </dependency>
137
    <dependency>
138
      <groupId>org.slf4j</groupId>
139
      <artifactId>slf4j-log4j12</artifactId>
140
      <version>1.6.2</version>
141
    </dependency>
142
 
143
    <dependency>
144
    	<groupId>javax.inject</groupId>
145
    	<artifactId>javax.inject</artifactId>
146
    	<version>1</version>
147
    </dependency>
148
  </dependencies>
149
 
150
 
151
  <profiles>
152
    <profile>
153
      <id>smoketest</id>
154
      <properties>
155
        <exec.mainClass>${smokeMainClass}</exec.mainClass>
156
      </properties>
157
    </profile>
158
  </profiles>
159
</project>