Hi Freeman,

It's just a postgresql fragment bundle that uses the spring-jdbc bundle as
the host. It's just badly named. The customer bundle with the camel router
is separate, and includes spring-jdbc as a dependency. It builds fine but
still can't find org.postgresql.Driver.

Here's the fragment bundle:

<?xml version="1.0" encoding="UTF-8" ?> 
<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> 
  
  <dependencies>
    <dependency>
      <groupId>postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>8.2-504.jdbc3</version>
    </dependency>
  </dependencies>
  <groupId>camel-blueprint-jdbc</groupId> 
  <artifactId>postgresql-bundle-frag</artifactId> 
  <version>0.9.10</version> 
  <packaging>jar</packaging> 
  <name>Camel Blueprint Postgresql Fragment Bundle</name> 
  <description>fragment bundle.</description> 
    <build>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId> 
          <artifactId>maven-jar-plugin</artifactId> 
          <configuration>
            <archive>
              <index>true</index> 
              <manifest>
                <addClasspath>false</addClasspath> 
              </manifest>
              <manifestEntries>
                <Bundle-Version>0.9.11</Bundle-Version> 
               
<Bundle-Description>${project.description}</Bundle-Description> 
                <Bundle-Name>${project.name}</Bundle-Name> 
                <Bundle-DocURL>http://www.apache.org/</Bundle-DocURL> 
                <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
                <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor> 
                <Fragment-Host>org.springframework.jdbc</Fragment-Host> 
               
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> 
                <Export-Package>
                  org.postgresql,
                  org.postgresql.core,
                  org.postgresql.core.types,
                  org.postgresql.core.v2,
                  org.postgresql.core.v3,
                  org.postgresql.ds,
                  org.postgresql.ds.common,
                  org.postgresql.ds.jdbc23,
                  org.postgresql.fastpath,
                  org.postgresql.geometric,
                  org.postgresql.jdbc2,
                  org.postgresql.jdbc2.optional,
                  org.postgresql.jdbc3,
                  org.postgresql.largeobject,
                  org.postgresql.ssl,
                  org.postgresql.translation,
                  org.postgresql.util,
                  org.postgresql.xa
                </Export-Package> 
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
      </plugins>
    </build>
</project>

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Blueprint-postgresql-camel-jdbc-newbie-question-tp4994862p5038849.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to