04-28-2019 02:50 AM
I am trying to make the LoginListener Following the Hook points part of this documentation https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/#_login_logoutlistener
I added these 2 dependencies to my pom.xml :
<!-- https://mvnrepository.com/artifact/org.activiti/activiti-app-logic -->
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-app-logic</artifactId>
<version>6.0.0.Beta4</version>
</dependency>
and
<!-- https://mvnrepository.com/artifact/org.activiti/activiti-app-model -->
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-app-model</artifactId>
<version>6.0.0.Beta4</version>
</dependency>
But I always get this kind of errors in pom.xml :
Failure to transfer com.activiti:activiti-app-logic:jar:1.5.1 from https://artifacts.alfresco.com/nexus/content/groups/private was cached in the local repository, resolution will not be reattempted until the update interval of alfresco-private-repository has elapsed or updates are forced. Original error: Could not transfer artifact com.activiti:activiti-app-logic:jar:1.5.1 from/to alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private): Access denied to https://artifacts.alfresco.com/nexus/content/groups/private/com/activiti/activiti-app-logic/1.5.1/activiti-app-logic-1.5.1.jar. Error code 401, Unauthorized
Failed to read artifact descriptor for com.activiti:activiti-app-logic:jar:1.5.1
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.activiti:activiti-app-logic:jar:1.5.1
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:282) ...
and hundred of other errors.
Any ideas ?
Explore our Alfresco products with the links below. Use labels to filter content by product module.