![]() ![]() m2 repository and add the ojdbc manually ) (Note: if any error with this command that ojdbc 11.2.0.2 is missing or etc, check your. Alternatively if you don’t want to quit the roo shell, you can also execute: perform command -mavenCommand bundle:bundle This command will generate the OSGI version of the driver under the target directory. Quit the Roo shell and launch the maven goal mvn bundle:bundle. ![]() Make sure the parameters match with the ones used to install the driver in your local maven repository (step 2).Īddon create wrapper -topLevelPackage -groupId groupid -artifactId artifactId -version version -vendorName Oracle -licenseUrl Īddon create wrapper -topLevelPackage -groupId com.oracle -artifactId ojdbc5 -version 11.2.0.2 -vendorName Oracle -licenseUrl Ħ. The addon wrapper command will create a maven project (pom.xml) that will be used to transform your normal driver into an OSGI driver. I use “C:\eclipse_workspaces\roo\osgi\” below.ĥ. Mvn install:install-file -Dfile=ojdbc5-11.2.0.2.jar -DgroupId=com.oracle -DartifactId=ojdbc5 -Dversion=11.2.0.2 -Dpackaging=jarģ. Mvn install:install-file -Dfile= filename.jar -DgroupId= groupid -DartifactId= artifactId-Dversion= version -Dpackaging=jar Install the driver in your local maven repository. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |