[newbe] parameters in sonarqube (7.9.6) rules

i try to made a plugins with embeded rules as xml
like this

		<name>Logiscope error</name>
		<description>XXXXX This rule is not directly linked to a problem in the
			code, but it exists to alert users that an error occurred when
			running Logiscope or reading Logiscope reports.
				<value>alpha > 10</value>

i use standard loader

NewRepository repository = context.createRepository(repositoryKey, languageKey).setName(repositoryName);
		InputStream rulesXml = this.getClass().getResourceAsStream(rulesDefinitionFilePath());
		if (rulesXml != null) {
			RulesDefinitionXmlLoader rulesLoader = new RulesDefinitionXmlLoader();
			rulesLoader.load(repository, rulesXml, StandardCharsets.UTF_8.name());

in my sensor i find rules, but not for them my own parameters

// get active rules
		LOGGER.debug("* RULES (active) --------------------------");
		Collection<ActiveRule> ars = activeRules.findByLanguage(LogiscopeLanguage.KEY);
		for (ActiveRule rule : ars) {
			LOGGER.debug(" - " + rule.ruleKey() + " params = " + rule.params().size());
			Map<String, String> m = rule.params();
			for (String s : m.keySet()) {
				LOGGER.debug(" - " + s);

whats wrong in my code ?


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.6 → 8.9.8 → 9.4 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.