local dependencies to be added to the local maven repository

The following need to be manually installed into the local maven repository. Some are third party and covered by their copyright:

  • org.osid
    • okiOSID-2.0.jar
  • org.osid.types.mit
    • MITAuthenticationTypes.jar
    • MITRepositoryTypes.jar
    • MITSearchTypes.jar
  • comet.osidimpl
    • CometOsid2Impl.jar (deprecated, to be removed shortly)
    • id.jar
  • edu.mit.visualizingcultures
    • VisualizingCultures.jar

edu.mit.osidimpl.repository.rvc

  • rvcOsid-1.0.jar

javax.transaction

  • jta.jar

The mysql connector should be available from the central maven repositories, but the latest version available there is not working with these libraries, and the earlier versions there are broken.

The jar files are here.

mvn install:install-file -Dfile=okiOSID-2.0.jar  -DgroupId=org.osid \
  -DartifactId=okiOSID \
  -Dversion=2.0  -Dpackaging=jar
mvn install:install-file -Dfile=MITAuthenticationTypes.jar \
  -DgroupId=org.osid.types.mit \
  -DartifactId=MITAuthenticationTypes \
  -Dversion=1.0  -Dpackaging=jar
mvn install:install-file -Dfile=MITRepositoryTypes.jar \
  -DgroupId=org.osid.types.mit \
  -DartifactId=MITRepositoryTypes \
  -Dversion=1.0  -Dpackaging=jar
mvn install:install-file -Dfile=MITSearchTypes.jar \
  -DgroupId=org.osid.types.mit \
  -DartifactId=MITSearchTypes \
  -Dversion=1.0  -Dpackaging=jar

mvn install:install-file -Dfile=CometOsid2Impl.jar \
  -DgroupId=comit.osidimpl \
  -DartifactId=CometOsid2Impl \
  -Dversion=1.0  -Dpackaging=jar
mvn install:install-file -Dfile=id.jar \
  -DgroupId=comit.osidimpl \
  -DartifactId=id \
  -Dversion=1.0  -Dpackaging=jar

mvn install:install-file -Dfile=VisualizingCultures.jar \
  -DgroupId=edu.mit.visualizingcultures \
  -DartifactId=VisualizingCultures \
  -Dversion=1.0  -Dpackaging=jar
mvn install:install-file -Dfile=rvcOsid-1.0.jar \
  -DgroupId=edu.mit.osidimpl.repository.rvc \
  -DartifactId=rvcOsid \
  -Dversion=1.0  -Dpackaging=jar


mvn install:install-file -Dfile=mysql-connector-java-3.0.15-ga-bin.jar \
  -DgroupId=mysql \
  -DartifactId=mysql-connector-java \
  -Dversion=3.0.15-ga-bin  -Dpackaging=jar

mvn install:install-file -DgroupId=javax.transaction \
  -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=jta.jar

pom files are needed to keep maven from trying to download the jars again and again, before finding them in the local repository. This may be a flaw in our procedure, or a missing feature in maven.

There are pom files in the directory with the jars, install them if needed:

cp okiOSID-2.0.pom $M2_REPO/org/osid/okiOSID/2.0
cp MITAuthenticationTypes-1.0.pom $M2_REPO/org/osid/types/mit/MITAuthenticationTypes/1.0
cp MITRepositoryTypes-1.0.pom $M2_REPO/org/osid/types/mit/MITRepositoryTypes/1.0
cp MITSearchTypes-1.0.pom $M2_REPO/org/osid/types/mit/MITSearchTypes/1.0
cp VisualizingCultures-1.0.pom $M2_REPO/edu/mit/visualizingcultures/VisualizingCultures/1.0
cp rvcOsid-1.0.pom $M2_REPO/edu/mit/osidimpl/repository/rvc/rvcOsid/1.0
cp mysql-connector-java-3.0.15-ga-bin.pom $M2_REPO/mysql/mysql-connector-java/3.0.15-ga-bin
cp CometOsid2Impl-1.0.pom $M2_REPO/comit/osidimpl/CometOsid2Impl/1.0
cp id-1.0.pom $M2_REPO/comit/osidimpl/id/1.0
cp ojdbc-1.4.pom $M2_REPO/com/oracle/ojdbc/1.4