Creation Actor filter : impl not found in repository

Hello,

I’m creating an Actor Filter following bonita example (ex:user-manager filter), and successfully importing it into Bonita Studio, I can apply it to my process with all parameters, but I have this error when running the process:

user-by-group-impl (0.0.1) not found in repository
org.bonitasoft.studio.actors.configuration.ActorFilterBarResourceProvider.addResourcesForConfiguration(ActorFilterBarResourceProvider.java:82)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:117)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:91)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:165)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.deployProcess(DeployProcessOperation.java:187)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.deploy(DeployProcessOperation.java:168)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.run(DeployProcessOperation.java:121)
org.bonitasoft.studio.engine.operation.RunProcessOperation.run(RunProcessOperation.java:80)
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

When in the Configure>Process dependancies menu, there is an unexpected .jar in the dependancy tree!

Here is my .impl:

<?xml version="1.0" encoding="UTF-8"?>
<definitionId>user-by-group</definitionId>
<definitionVersion>0.0.1</definitionVersion>
<implementationClassname>org.path.to.my.javaclass.UsersByGroupFilter</implementationClassname>
<implementationId>user-by-group-impl</implementationId>
<implementationVersion>0.0.1</implementationVersion>

<jarDependencies>
	<jarDependency>ActorFilterImplementation-0.0.1-SNAPSHOT.jar</jarDependency>
</jarDependencies>

</implementation:connectorImplementation>

And here is my .def:

<?xml version="1.0" encoding="UTF-8"?>
<definition:ConnectorDefinition xmlns:definition=“http://www.bonitasoft.org/ns/connector/definition/6.1” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
user-by-group
0.0.1

	<category id="organization" icon="actors_mapping.png" />

	<input name="listGroupsNames" type="java.lang.List" mandatory="true" />

	<page id="config">
		<widget id="listGroupsNames" inputName="listGroupsNames" xsi:type="definition:List" />
	</page>
</definition:ConnectorDefinition>

The java class probably isn’t useful.

If i try with one of standard actor filter, the process runs fine.
Does anyone have an idea about what is wrong with my implementation?

Thank you in advance!

OK, the issue seems to be that the .jar must be named something like “bonita-userfilter-XXX-impl”. I changed the name in my pom, so the .jar is correctly named and everything worked fine.