10-10-2011 08:27 PM
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
lasses
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \workspace\workflows\src\main\java\ve\com\ema\Document
CreationListener.java:[5,31] package org.nuxeo.ecm.core.event does not exist
[ERROR] \workspace\workflows\src\main\java\ve\com\ema\Document
CreationListener.java:[6,31] package org.nuxeo.ecm.core.event does not exist
Pom file:
<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/maven-v4_0_0.xsd">;
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.nuxeo.ecm.platform</groupId>
<artifactId>nuxeo-services-parent</artifactId>
<version>5.4.1</version>
</parent>
<artifactId>nuxeo-platform-usermanager-core</artifactId>
<name>Nuxeo User Manager - Core</name>
<description>
Nuxeo Enterprise Platform: User Manager - Core.
</description>
<dependencies>
<dependency>
<groupId>org.nuxeo.ecm.platform</groupId>
<artifactId>nuxeo-platform-usermanager-api</artifactId>
</dependency>
<dependency>
<groupId>org.nuxeo.ecm.core</groupId>
<artifactId>nuxeo-core-api</artifactId>
</dependency>
</dependencies>
</project>
I have been doing this tutorial: link
10-11-2011 01:12 AM
My maven is rusty but don't you need the event dependency?
<dependency>
<groupId>org.nuxeo.ecm.core</groupId>
<artifactId>nuxeo-core-event</artifactId>
</dependency>
Got it from Sonatype: https://maven.nuxeo.org/nexus/index.html#nexus-search;quick~org.nuxeo.ecm.core
Here's another useful link: http://doc.nuxeo.com/display/NXDOC/How-to+create+an+empty+bundle
10-10-2011 09:00 PM
Hi,
You should first make sure to follow recommendations about Nuxeo maven usage.
10-11-2011 01:12 AM
My maven is rusty but don't you need the event dependency?
<dependency>
<groupId>org.nuxeo.ecm.core</groupId>
<artifactId>nuxeo-core-event</artifactId>
</dependency>
Got it from Sonatype: https://maven.nuxeo.org/nexus/index.html#nexus-search;quick~org.nuxeo.ecm.core
Here's another useful link: http://doc.nuxeo.com/display/NXDOC/How-to+create+an+empty+bundle
10-11-2011 12:00 PM
Thanks, I gave you a +1 . I forgot to include this dependency.
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.