Hi all,

first, sorry about the empty email I send before.. me and my outlook :(


im trying to include (and export) the appropriate classes from a signed
jar (mssql sqljdbc 1.1) in a bundle. The maven osgi plugin just used to
include the signed jar and everything was fine.

Using the bundle plugin however, the resulting bundle is a little
strange as it does contain the jdbc classes (exploded from the jar) but
also the original (from the driver) manifest file in the meta-inf twice
(Manifest.mf / manifest.mf) as well as some other resources
(zigbert.rsa/zigbert.sf) but no OSGi compliant manifest to be found
anywhere.

As this sqljdb jar is signed should I handle it in another way?


regards,
Bram


ps. Below the bundle plugin configuration I'm currently using.

    <dependencies>
        <dependency>
            <groupId>com.microsoft</groupId>
            <artifactId>sqljdbc</artifactId>
            <version>1.1</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                    <version>1.1.0-SNAPSHOT</version>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-Name>DBCPProvider MS-SQL JDBC Driver
version - 1.1</Bundle-Name>
                        <Bundle-Activator>
 
nl.gx.webmanager.services.dbcpprovider.sqljdbc.ProviderActivator
                        </Bundle-Activator>
                        <Private-Package>
                                    *
                        </Private-Package>
                        <Export-Package>
                                    com.microsoft.sqlserver.jdbc
                        </Export-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to