• New Feature
  • Status: Resolved
  • 4 Trivial
  • Resolution:
  • Kit & Installation
  • prodmgmt
  • Reporter: ekulesho
  • August 25, 2007
  • 0
  • Watchers: 0
  • October 10, 2012

Description

We need to add scripts to install required jars to the local Maven repository into the kit

For the core jars it may look something like that, but we also need to install all config modules distributed with the kit. Though the latter ones can be simple copied from the /modules directory into the Maven local repository.

set tc=C:\dev\terr\tc-trunk\code\base\build\dist\terracotta-trunk\lib

call mvn install:install-file -DgeneratePom=true -DgroupId=org.terracotta -DartifactId=terracotta -Dversion=2.4 -Dpackaging=jar -Dfile=%tc%\tc.jar call mvn install:install-file -DgeneratePom=true -DgroupId=org.terracotta -DartifactId=tcconfig -Dversion=2.4 -Dpackaging=jar -Dfile=%tc%\tcconfig-xmlbeans-generated.jar call mvn install:install-file -DgeneratePom=true -DgroupId=org.terracotta -DartifactId=tcconfig1 -Dversion=1.0 -Dpackaging=jar -Dfile=%tc%\tcconfigV1.jar call mvn install:install-file -DgeneratePom=true -DgroupId=org.terracotta -DartifactId=tcconfig2 -Dversion=2.0 -Dpackaging=jar -Dfile=%tc%\tcconfigV2.jar

Comments

Fiona OShea 2007-10-05

Is this obsolete now?

Eugene Kuleshov 2007-10-05

I am not sure. Technically those jars can be downloaded from our Maven repository, but it could be useful to someone who can’t access our repository but have kit handy (maybe got it on CD or something).

Fiona OShea 2007-10-09

So is the Use Case to allow a maven user to publish to a local repository without connecting to an outside source?

Eugene Kuleshov 2007-11-26

Now I am not sure is this is actually needed. PM seem to came with its own ideas how bundles will be installed.