When asset or page are saved it creates a new version with incremental value as 1.0, 1.1, 1.2 and so on. Which is in 1.x. Does version ever change from 1.x to 2.x or it there a way to change the version in this format.
ReplicationOptions options = new ReplicationOptions();
// Do not create new versions as this adds to overhead
// Avoid sling job overhead by forcing synchronous. Note this will result in serial activation.
// Do NOT suppress status update of resource (set replication properties accordingly)
log.info("**** ABOUT TO REPLICATE" ) ;
//Rep the content replicate(Session session, ReplicationActionType type, String path)