This page is out of date: content has moved there.
Before moving to GitHub - http://github.com/hibernate/hibernate-search - Hibernate Search was hosted in a SVN repository - http://anonsvn.jboss.org/repos/hibernate/search/trunk/.
This page contains build related information related to the legacy SVN repository.
Branching
When creating a branch from trunk or a tag you need to make sure that the <scm> configuration in the master pom is correct. Otherwise it will create issues with the release plugin - see HSEARCH-567. The <scm> should look like this (with the correct branch name of course):
<scm>
<connection>scm:svn:http://anonsvn.jboss.org/repos/hibernate/search/branches/Branch_3_2</connection>
<developerConnection>scm:svn:https://svn.jboss.org/repos/hibernate/search/branches/Branch_3_2</developerConnection>
<url>http://fisheye.jboss.com/browse/Hibernate/search/branches/Branch_3_2</url>
</scm>
One way to achieve this is to checkout the trunk or the tag from which to branch of and run:
mvn release:branch -DbranchName=<branchName> -DupdateBranchVersions=true
This will create the branch with the updated poms. If you manually copy trunk/tag to a branch you will have to manually update the pom version and scm configuration.
Comments