12-02-2019 06:05 AM
Hi All,
I'm trying to add Records Management support to an Alfresco project created from the SDK 3.0.0 all-in-one archetype,
with reference to https://hub.alfresco.com/t5/ecm-archive/records-management-plugin/m-p/86265
added below profiles in my parent pom
<profiles> <!-- RM profile, manually activated, automatically adds support for RM development (dependencies) and install the RM amps in the WARs --> <profile> <id>rm</id> <properties> <alfresco.rm.version>2.3</alfresco.rm.version> <app.rm.amps.location>${project.build.directory}/rm-amps</app.rm.amps.location> <app.rm.war.location>${project.build.directory}/${project.build.finalName}.war</app.rm.war.location> <app.rm.artifact>org.alfresco:${alfresco.rm.artifactId}:${alfresco.rm.version}:amp</app.rm.artifact> </properties> </profile> </profiles>
and activated the profile using
$mvn clean install -Prm
i see some issue like
Exception in thread "Thread-5" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
at org.apache.tomcat.maven.plugin.tomcat7.run.RunMojo$1.run(RunMojo.java:140)
Do i need to manually point <app.rm.amps.location> to a location placing rm amps in that location or will this be downloading rm related files or mvn clean install -Prun ?
12-02-2019 08:20 AM
Are you using Alfresco Community or Enterprise?
12-02-2019 11:24 AM
Using community version
Explore our Alfresco products with the links below. Use labels to filter content by product module.