Task assignment email GitHub example



I’ve recently tried to run the task assignment email example on GitHub (https://github.com/camunda/camunda-bpm-examples/tree/master/usertask/task-assignment-email), unfortunately I encountered some problems with maven install (I’m using maven 3). Below is the pom.xml file as provided in the example:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <name>Task Assignment Email</name>







    <!-- redirect slf4j logging to jdk logging -->


The error I’m getting is this:

Failed to execute goal on project camunda-quickstart-task-assignment-email: Could not resolve dependencies for project org.camunda.bpm.quickstart:camunda-quickstart-task-assignment-email:war:0.0.1-SNAPSHOT: Failed to collect dependencies at junit:junit:jar:4.8.2: Failed to read artifact descriptor for junit:junit:jar:4.8.2: Could not transfer artifact junit:junit:pom:4.8.2 from/to camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public): Unexpected response code for CONNECT: 403 -> [Help 1]

Is there a problem with using Maven 3 with this repository? Should I try using a repository manager instead? Or is there a different issue which I’m not aware of?

Thank you!


Hi @tiberiu,

I do not think that this a problem of maven 3. Could you please try it again?




are you able to access https://app.camunda.com/nexus/content/groups/public via the browser?
If not then you have maybe problems with a firewall.

Best regards,



Thank you for answering. Yes, it’s working in the browser.



Instead of opening a new topic, I post here.
I use the Github example to send emails when a task is assigned. That works fine.
But in the email body we send the link to the Task item:

email.setMsg(“Please complete: http://localhost:8080/camunda/app/tasklist/default/#/task/” + taskId);

taskId seems correct but the link doesn’t take me to the specific item but just opens the Tasklist and redirect to
in which I cannot get where the filter comes from.

Any idea?




Just to clarify, you resolved the junit dependency?


Personally I didn’t have any junit dependency issue.


Hi again,

Any idea how to get the correct link to the specific task (see my post above)?



I tries this one
email.setMsg(“Please complete: http://localhost:8080/camunda/app/tasklist/default/#/?task=” + taskId);

and seems to work.