~ubuntu-core-dev/eucalyptus/ubuntu-karmic

« back to all changes in this revision

Viewing changes to clc/modules/www/pom.xml

  • Committer: Dmitrii Zagorodnov
  • Date: 2009-01-27 21:53:41 UTC
  • mfrom: (25.1.112 eucalyptus-main)
  • Revision ID: dmitrii@cs.ucsb.edu-20090127215341-i0f0v6cmbpljmg02
merged with current main

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<project>
 
2
    <parent>
 
3
        <groupId>eucalyptus</groupId>
 
4
        <artifactId>cloud</artifactId>
 
5
        <version>1</version>
 
6
        <relativePath>../../pom.xml</relativePath>
 
7
    </parent>
 
8
    <modelVersion>4.0.0</modelVersion>
 
9
    <groupId>eucalyptus</groupId>
 
10
    <artifactId>www</artifactId>
 
11
    <version>${euca.version}</version>
 
12
    <name>Eucalyptus Web Site</name>
 
13
    <properties>
 
14
        <gwt.module.name>edu.ucsb.eucalyptus.admin.EucalyptusWebInterface</gwt.module.name>
 
15
    </properties>
 
16
    <build>
 
17
        <plugins>
 
18
            <plugin>
 
19
                <groupId>com.totsp.gwt</groupId>
 
20
                <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
 
21
                <version>2.0-beta26</version>
 
22
                <configuration>
 
23
                    <logLevel>INFO</logLevel>
 
24
                    <compileTargets>
 
25
                        <value>${gwt.module.name}</value>
 
26
                    </compileTargets>
 
27
                    <runTarget>/EucalyptusWebInterface.html</runTarget>
 
28
                    <noServer>true</noServer>
 
29
                    <output>${pom.basedir}/www-build</output>
 
30
                    <extraJvmArgs>-Xmx512m</extraJvmArgs>
 
31
                    <gwtVersion>${gwt.version}</gwtVersion>
 
32
                    <webXmlServletPathAsIs>true</webXmlServletPathAsIs>
 
33
                </configuration>
 
34
                <executions>
 
35
                    <execution>
 
36
                        <goals>
 
37
                            <goal>compile</goal>
 
38
                        </goals>
 
39
                    </execution>
 
40
                </executions>
 
41
            </plugin>
 
42
            <plugin>
 
43
                <groupId>org.apache.maven.plugins</groupId>
 
44
                <artifactId>maven-jar-plugin</artifactId>
 
45
                <configuration>
 
46
                    <classesDirectory>${pom.basedir}/build</classesDirectory>
 
47
                    <outputDirectory>../../target</outputDirectory>
 
48
                    <finalName>${project.groupId}-${project.artifactId}-${project.version}</finalName>
 
49
                </configuration>
 
50
                <executions>
 
51
                    <execution>
 
52
                        <phase>package</phase>
 
53
                        <goals>
 
54
                            <goal>jar</goal>
 
55
                        </goals>
 
56
                    </execution>
 
57
                </executions>
 
58
            </plugin>
 
59
            <plugin>
 
60
                <groupId>org.apache.maven.plugins</groupId>
 
61
                <artifactId>maven-war-plugin</artifactId>
 
62
                <configuration>
 
63
                    <outputDirectory>${pom.basedir}/webapps</outputDirectory>
 
64
                    <warName>root</warName>
 
65
                    <warSourceDirectory>${pom.basedir}/www-build/${gwt.module.name}/</warSourceDirectory>
 
66
                    <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
 
67
                    <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
 
68
                    <webXml>${pom.basedir}/conf/gwt-web.xml</webXml>
 
69
                </configuration>
 
70
                <executions>
 
71
                    <execution>
 
72
                        <phase>package</phase>
 
73
                        <goals>
 
74
                            <goal>war</goal>
 
75
                        </goals>
 
76
                    </execution>
 
77
                </executions>
 
78
            </plugin>
 
79
            <plugin>
 
80
                <groupId>org.apache.maven.plugins</groupId>
 
81
                <artifactId>maven-dependency-plugin</artifactId>
 
82
                <executions>
 
83
                    <execution>
 
84
                        <id>unpack</id>
 
85
                        <phase>compile</phase>
 
86
                        <goals>
 
87
                            <goal>unpack</goal>
 
88
                        </goals>
 
89
                        <configuration>
 
90
                            <artifactItems>
 
91
                                <artifactItem>
 
92
                                    <groupId>com.google.gwt</groupId>
 
93
                                    <artifactId>gwt-dev</artifactId>
 
94
                                    <version>${gwt.version}</version>
 
95
                                    <classifier>${platform}-libs</classifier>
 
96
                                    <type>zip</type>
 
97
                                    <overWrite>false</overWrite>
 
98
                                    <outputDirectory>${settings.localRepository}/com/google/gwt/gwt-dev/${gwtVersion}</outputDirectory>
 
99
                                </artifactItem>
 
100
                            </artifactItems>
 
101
                        </configuration>
 
102
                    </execution>
 
103
                </executions>
 
104
            </plugin>
 
105
        <plugin>
 
106
          <groupId>org.apache.maven.plugins</groupId>
 
107
          <artifactId>maven-clean-plugin</artifactId>
 
108
          <configuration>
 
109
            <filesets>
 
110
              <fileset>
 
111
                <directory>./</directory>
 
112
                <includes>
 
113
                  <include>webapps/**</include>
 
114
                </includes>
 
115
              </fileset>
 
116
            </filesets>
 
117
          </configuration>
 
118
        </plugin>
 
119
 
 
120
        </plugins>
 
121
    </build>
 
122
    <dependencies>
 
123
        <dependency>
 
124
            <groupId>org.mortbay.jetty</groupId>
 
125
            <artifactId>jetty-sslengine</artifactId>            
 
126
        </dependency>
 
127
        <dependency>
 
128
            <groupId>eucalyptus</groupId>
 
129
            <artifactId>msgs</artifactId>
 
130
            <version>${euca.version}</version>
 
131
        </dependency>
 
132
        <dependency>
 
133
            <groupId>eucalyptus</groupId>
 
134
            <artifactId>core</artifactId>
 
135
            <version>${euca.version}</version>
 
136
        </dependency>
 
137
        <dependency>
 
138
            <groupId>eucalyptus</groupId>
 
139
            <artifactId>cluster-manager</artifactId>
 
140
            <version>${euca.version}</version>
 
141
        </dependency>
 
142
        <dependency>
 
143
            <groupId>com.google.gwt</groupId>
 
144
            <artifactId>gwt-servlet</artifactId>
 
145
            <scope>runtime</scope>
 
146
        </dependency>
 
147
        <dependency>
 
148
            <groupId>com.google.gwt</groupId>
 
149
            <artifactId>gwt-user</artifactId>
 
150
            <scope>provided</scope>
 
151
        </dependency>
 
152
        <dependency>
 
153
            <groupId>com.google.gwt</groupId>
 
154
            <artifactId>gwt-dev</artifactId>
 
155
            <classifier>${platform}-libs</classifier>
 
156
            <type>zip</type>
 
157
            <scope>provided</scope>
 
158
        </dependency>
 
159
        <dependency>
 
160
            <groupId>org.apache.geronimo.javamail</groupId>
 
161
            <artifactId>geronimo-javamail_1.4_provider</artifactId>
 
162
        </dependency>
 
163
        <dependency>
 
164
            <groupId>com.google.gwt</groupId>
 
165
            <artifactId>gwt-dev</artifactId>
 
166
            <classifier>${platform}</classifier>
 
167
            <scope>provided</scope>
 
168
        </dependency>
 
169
    </dependencies>
 
170
</project>