Alfresco is running without Share Services (Problem in my extension project)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:12 PM
Hi,
I created a Repository AMP project and a Share AMP project to put my Alfresco extensions.
But when I run this projects I have the following problem:
I know that in order to solve this in my local installation I have to install alfresco-share-services.amp in the Repository, but I don't know how to solve this in my Repository AMP project.
I already tried to put alfresco-share-services-5.2.e.jar in the folder pucp-repo1/target/amp/lib but it didn't work.
Thanks in advance!
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 01:59 AM
Hello,
You can use below link(Point #19)
Installing Alfresco on Windows using the Share Installer | Alfresco Documentation
Steps are(Copied from above link)
- Navigate to the alfresco-one-share/amps directory, and locate the alfresco-share-services.amp file.
- Copy the alfresco-share-services.amp file to your Alfresco instance (alfresco-one-platform/amps), on the machine that hosts your Alfresco Platform repository.
- Use the guidance in Installing an Alfresco Module Package to apply the AMP to your repository.
- Restart the Alfresco instance where you have installed the Share Services AMP to see that the changes have been applied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 09:01 AM
Hi,
My repository AMP project has the following structure:
I don't have an amps folder and I can't use bin/apply_amps because this is a extension project.
I also tried:
- Using "mvn clean install -Pamp-to-war" but it didn't work.
- Adding this dependency to my pom.xml:
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-share-services</artifactId>
<version>5.2.e</version>
</dependency>
But I get this error:
[ERROR] Failed to execute goal on project pucp-repo1: Could not resolve dependencies for project pe.pucpucp-repo1:amp:1.0-SNAPSHOT: Failure to find org.alfresco:alfresco-share-services:jar:5.2.e in https://artifacts.alfresco.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of alfresco-public has elapsed or updates are forced -> [Help 1]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 03:09 AM
Try adding below dependency
(Source : https://github.com/binduwavell/generator-alfresco/issues/127)
<dependency> <groupId>org.alfresco</groupId> <artifactId>alfresco-share-services</artifactId> <version>5.2.e</version> <type>amp</type> </dependency>