samples/livedb/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 12 Nov 2019 08:55:35 +0100
changeset 414 0e707eef1e4a
permissions -rw-r--r--
Rewriting the Live DB example to Maven
     1 <?xml version="1.0"?>
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4     <modelVersion>4.0.0</modelVersion>
     5 
     6     <groupId>org.apidesign.samples</groupId>
     7     <artifactId>livedb</artifactId>
     8     <version>1.0-SNAPSHOT</version>
     9     <packaging>jar</packaging>
    10 
    11     <name>LiveDB</name>
    12     <organization>
    13         <name>API Design</name>
    14         <url>http://apidesign.org</url>
    15     </organization>
    16     <properties>
    17         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    18         <maven.compiler.source>1.8</maven.compiler.source>
    19         <maven.compiler.target>1.8</maven.compiler.target>
    20         <netbeans.compile.on.save>none</netbeans.compile.on.save>
    21     </properties>
    22 
    23     <build>
    24         <plugins>
    25             <plugin>
    26                 <artifactId>maven-antrun-plugin</artifactId>
    27                 <version>1.8</version>
    28                 <executions>
    29                     <execution>
    30                         <phase>validate</phase>
    31                         <configuration>
    32                             <target>
    33                                 <property name="cp" refid="maven.runtime.classpath"/>
    34                                 <ant antfile="livedb.xml" target="create-db">
    35                                     <property name="cp" value="${cp}"/>
    36                                 </ant>
    37                             </target>
    38                         </configuration>
    39                         <goals>
    40                             <goal>run</goal>
    41                         </goals>
    42                     </execution>
    43                 </executions>
    44             </plugin>
    45         </plugins>
    46     </build>
    47 
    48     <dependencies>
    49         <dependency>
    50             <groupId>org.netbeans.api</groupId>
    51             <artifactId>org-openide-util-lookup</artifactId>
    52             <version>RELEASE112</version>
    53             <type>jar</type>
    54             <scope>provided</scope>
    55         </dependency>
    56         <dependency>
    57             <groupId>org.apache.derby</groupId>
    58             <artifactId>derby</artifactId>
    59             <version>10.15.1.3</version>
    60             <type>jar</type>
    61         </dependency>
    62         <dependency>
    63             <groupId>org.apache.derby</groupId>
    64             <artifactId>derbyclient</artifactId>
    65             <version>10.15.1.3</version>
    66             <type>jar</type>
    67         </dependency>
    68         <dependency>
    69             <groupId>org.apache.derby</groupId>
    70             <artifactId>derbyshared</artifactId>
    71             <version>10.15.1.3</version>
    72             <type>jar</type>
    73         </dependency>
    74         <dependency>
    75             <groupId>junit</groupId>
    76             <artifactId>junit</artifactId>
    77             <version>4.12</version>
    78             <scope>test</scope>
    79             <type>jar</type>
    80         </dependency>
    81     </dependencies>
    82 </project>