xerial-sqlite-jdbc / pom.xml

<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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.xerial</groupId>
  <artifactId>sqlite-jdbc</artifactId>
  <version>3.7.12</version>
  <name>SQLite JDBC</name>
  <description>SQLite JDBC library</description>

  <parent>
    <groupId>org.xerial</groupId>
    <artifactId>xerial-project</artifactId>
    <version>2.0.2</version>
  </parent>

  <build>
    <resources>
      <resource>
        <directory>../../bin/native</directory>
        <targetPath>org/sqlite/native</targetPath>
        <includes>
          <include>**/*.dll</include>
          <include>**/*.so</include>
        </includes>
      </resource>
      <resource>
        <directory>src/main/java</directory>
      </resource>
      <resource>
        <directory>${basedir}</directory>
        <targetPath>META-INF/maven/${project.groupId}/${project.artifactId}</targetPath>
        <includes>
          <include>VERSION</include>
          <include>LICENSE*</include>
        </includes>
      </resource>
    </resources>
    
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <compilerArgument>
            -Xbootclasspath/p:${basedir}/lib/jdbc-api-1.4.jar
          </compilerArgument>
          <source>1.5</source>
          <target>1.5</target>
          <excludes>
            <exclude>**/NestedDB.java</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <!--  do not run site-deploy goal, included in the default settings  -->
          <goals>deploy</goals>
          <connectionUrl>scm:hg:https://sqlite.xerial.googlecode.com/hg/</connectionUrl>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <scm>
    <connection>scm:hg:https://sqlite-jdbc.googlecode.com/hg/</connection>
    <developerConnection>scm:hg:default</developerConnection>
    <url>scm:hg:https://sqlite-jdbc.googlecode.com/hg/</url>
  </scm>


  <dependencies>
    <dependency>
      <groupId>org.xerial.thirdparty</groupId>
      <artifactId>jdbc-api</artifactId>
      <version>1.4</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <profiles>
    <profile>
      <id>pure-java</id>
      <activation>
        <property>
          <name>pure.java</name>
        </property>
      </activation>
      <build>
        <resources>
          <resource>
            <directory>src/main/resources</directory>
            <includes>
              <include>org/**</include>
            </includes>
          </resource>
        </resources>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.0.2</version>
            <configuration>
              <compilerArgument>
                -Xbootclasspath/p:${basedir}/lib/jdbc-api-1.4.jar
              </compilerArgument>
              <source>1.5</source>
              <target>1.5</target>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>2.2</version>
            <executions>
              <execution>
                <id>unpack-dependency</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>unpack</goal>
                </goals>
                <configuration>
                  <excludes>META-INF,META-INF/**</excludes>
                  <artifactItems>
                    <artifactItem>
                    <groupId>org.xerial.thirdparty</groupId>
                    <artifactId>nestedvm</artifactId>
                    <version>1.0</version>
                    <type>jar</type>
                    </artifactItem>
                  </artifactItems>
                  <overWrite>true</overWrite>
                  <outputDirectory>src/main/resources</outputDirectory>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.xerial.thirdparty</groupId>
          <artifactId>nestedvm</artifactId>
          <version>1.0</version>
          <scope>provided</scope>
        </dependency>
      </dependencies>
    </profile>
  </profiles>
</project>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.