PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/dist-assembly.xml

http://datanucleus-appengine.googlecode.com/
XML | 86 lines | 80 code | 2 blank | 4 comment | 0 complexity | 8dd290fc1718a12e12c15c98d67c7990 MD5 | raw file
 1<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
 2          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 3          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
 4    <id>dist</id>
 5    <formats>
 6        <format>zip</format>
 7    </formats>    
 8    <baseDirectory>/</baseDirectory>
 9    <dependencySets>
10        <dependencySet>
11            <outputDirectory>lib/opt/tools/datanucleus/v2</outputDirectory>
12            <useProjectArtifact>true</useProjectArtifact>
13            <unpack>false</unpack>
14            <scope>compile</scope>
15            <excludes>
16                <exclude>log4j:log4j</exclude>
17                <exclude>com.google.appengine:appengine-api-1.0-sdk</exclude>
18                <exclude>com.google.appengine.orm:datanucleus-appengine</exclude>
19            </excludes>
20        </dependencySet>
21        <dependencySet>
22            <outputDirectory>lib/opt/user/datanucleus/v2</outputDirectory>
23            <useProjectArtifact>true</useProjectArtifact>
24            <unpack>false</unpack>
25            <scope>runtime</scope>
26            <excludes>
27                <exclude>log4j:log4j</exclude>
28                <exclude>com.google.appengine:appengine-api-1.0-sdk</exclude>
29                <exclude>org.datanucleus:datanucleus-enhancer</exclude>
30                <exclude>asm:asm</exclude>
31            </excludes>
32        </dependencySet>
33    </dependencySets>
34    <fileSets>
35        <fileSet>
36            <directory>dist</directory>
37            <outputDirectory>/</outputDirectory>
38            <includes>
39                <include>README.ORM</include>
40                <include>RELEASE_NOTES.ORM</include>
41            </includes>
42        </fileSet>
43
44        <!-- Source jar for the plugin -->
45        <fileSet>
46            <directory>${project.build.directory}/sources</directory>
47            <outputDirectory>src/opt/user/datanucleus/v2</outputDirectory>
48        </fileSet>
49        <!-- Source jars for jdo, jpa, and datanucleus -->
50        <fileSet>
51            <directory>${project.build.directory}/dependency</directory>
52            <outputDirectory>src/opt/user/datanucleus/v2</outputDirectory>
53            <includes>
54                <include>jdo-api-*-sources.jar</include>
55                <include>datanucleus-*-sources.jar</include>
56                <include>geronimo-jpa*-sources.jar</include>
57            </includes>
58        </fileSet>
59
60        <!--Demo apps-->
61        <fileSet>
62            <directory>demos/helloorm2</directory>
63            <outputDirectory>demos/helloorm2</outputDirectory>
64            <includes>
65                <include>build.xml</include>
66                <include>COPYING</include>
67            </includes>
68        </fileSet>
69        <fileSet>
70            <directory>demos/helloorm2/src</directory>
71            <outputDirectory>demos/helloorm2/src</outputDirectory>
72            <includes>
73                <!-- Avoids grabbing WEB-INF and META-INF -->
74                <include>com/**</include>
75            </includes>
76        </fileSet>
77        <fileSet>
78            <directory>demos/helloorm2/src/WEB-INF</directory>
79            <outputDirectory>demos/helloorm2/war/WEB-INF</outputDirectory>
80        </fileSet>
81        <fileSet>
82            <directory>demos/helloorm2/src/META-INF</directory>
83            <outputDirectory>demos/helloorm2/war/WEB-INF/classes/META-INF</outputDirectory>
84        </fileSet>
85    </fileSets>
86</assembly>