How Can I solve this Error on Maven Compilation

I have been trying to solve this problem that is generated when I run command mvn install. I show you the console errors and my file pom. I hope You can help me please.

C:\workspace\workflows>mvn install
[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------
[INFO] Building workflows
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20111010-174335 at timestamp: 1318284815250
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Verifying parent modules...
[INFO] Verifying resources...
[INFO] Verifying sources...
[INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
[INFO] eclipseVersion:1.0.0.-SNAPSHOT
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 2 source files to C:\workspace\workflows\target\c
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] \workspace\workflows\src\main\java\ve\com\ema\Document[5,31] package org.nuxeo.ecm.core.event does not exist

[ERROR] \workspace\workflows\src\main\java\ve\com\ema\Document[6,31] package org.nuxeo.ecm.core.event does not exist

Pom file:

 <project xmlns="" xmlns:xsi="" xsi:schemaLocation="">


  <name>Nuxeo User Manager - Core</name>
    Nuxeo Enterprise Platform: User Manager - Core.




I have been doing this tutorial: link

0 votes

2 answers



My maven is rusty but don't you need the event dependency?


Got it from Sonatype:;quick~org.nuxeo.ecm.core

Here's another useful link:

4 votes

Thanks, I gave you a +1 . I forgot to include this dependency.


You should first make sure to follow recommendations about Nuxeo maven usage.

1 votes