Maven Repository - POM file for JDBC org.everit.osgi.bundles.javax.sql 4.0.0 4.0.0

Summary

JDBC 4.0 API.

OSGi bundle that contains the JDBC API coming from OpenJDK 1.6. In case of OSGi, it is better to exclude javax.sql.*, com.sun.rowset.* and javax.transaction.* packages from the boot classpath and use them from bundles. Very often javax.transaction.* packages are used from a custom bundle. As ....

Declaration

Here is the list of declaration for org.everit.osgi.bundles.javax.sql. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.everit.osgi.bundles</groupId>
   <artifactId>org.everit.osgi.bundles.javax.sql</artifactId>
   <version>4.0.0</version>
</dependency>

If you think this Maven repository POM file listing for org.everit.osgi.bundles.javax.sql is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





License

Name:GNU General Public License, version 2, with the Classpath Exception
URL: http://openjdk.java.net/legal/gplv2+ce.html.

Plugin

The following plugins are used in the org.everit.osgi.bundles.javax.sql-4.0.0.jar

  1. maven-bundle-plugin
  2. maven-compiler-plugin

POM File Source

Here is the content of the POM file.

<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">
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.everit.osgi.bundles</groupId>
  <artifactId>org.everit.osgi.bundles.javax.sql</artifactId>
  <version>4.0.0</version>
  <packaging>bundle</packaging>

  <name>JDBC 4.0 API</name>
  <description>OSGi bundle that contains the JDBC API coming from OpenJDK 1.6. In case of OSGi, it is better to exclude
   javax.sql.*, com.sun.rowset.* and javax.transaction.* packages from the boot classpath and use them from bundles.
   Very often javax.transaction.* packages are used from a custom bundle. As javax.sql.XADataSource wires to that
   package, it is logical to have that in a custom bundle as well so there will be no package wiring issues. 
  </description>

  <url>http://www.oracle.com/technetwork/java/javase/jdbc/index.html</url>

  <scm>
    <connection>scm:hg:http://hg.openjdk.java.net/jdk6/jdk6/jdk</connection>
    <developerConnection>scm:hg:http://hg.openjdk.java.net/jdk6/jdk6/jdk</developerConnection>
    <url>http://hg.openjdk.java.net/jdk6/jdk6/jdk/</url>
  </scm>

  <licenses>
    <license>
      <name>GNU General Public License, version 2, with the Classpath Exception</name>
      <url>http://openjdk.java.net/legal/gplv2+ce.html</url>
    </license>
  </licenses>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
            <Import-Package>
              *;resolution:=optional
            </Import-Package>
            <Export-Package>
              javax.sql;version="4.0.0",
              javax.sql.rowset;version="1.0.1",
              javax.sql.rowset.serial;version="1.0.1",
              javax.sql.rowset.spi;version="1.0.1",
              com.sun.rowset;version="1.0.1",
              com.sun.rowset.internal;version="1.0.1",
              com.sun.rowset.providers;version="1.0.1"
            </Export-Package>
            <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>