Versioning the Repository includes when you wants to manage the your repository items through BCC (Merchandising).
Follow the series of steps to register your repository in BCC.
Step 1: Place the RDF(Repository Defination File) in BCC Module.
Step 2: Place the Component file in BCC Module with following Contents in it.
Path: /my/Library.properties
$class=atg.adapter.gsa.GSARepositoryatg.adapter.version.VersionRepository
$scope=global
repositoryName=Library
# database access- for Publishing Schema, use JTDataSource
dataSource=/atg/dynamo/service/jdbc/SwitchingDataSourceJTDataSource
transactionManager=/atg/dynamo/transaction/TransactionManager
#...