@Override
    protected void modifyPom(final Model projectModel, final Object... parameters) throws Exception {
        if (isEmpty(limit)) {
            throw new Exception("La limite des numéros est nul !!");
        }
        if (parameters == null || parameters.length == 0) {
            return;
        }
        final String oldVersion;
        if (!isEmpty(projectModel.getVersion())) {
            oldVersion = projectModel.getVersion();
        } else if (projectModel.getParent() != null && !isEmpty(projectModel.getParent().getVersion())) {
            oldVersion = projectModel.getParent().getVersion();
        } else {
            oldVersion = "";
        }
        final Version newVersion = factory.createAlgorithme(command).compute(new Version(oldVersion));
        this.getLog().info("Changement de version " + oldVersion + " => " + newVersion);
        if (!isEmpty(projectModel.getVersion())) {
            projectModel.setVersion(newVersion.toString());
        }
        if (projectModel.getParent() != null) {
            projectModel.getParent().setVersion(newVersion.toString());
        }
    }