AnsweredAssumed Answered

alfresco-wqs-clientapi with Maven

Question asked by leonardo.celati on Apr 26, 2014
Latest reply on Apr 29, 2014 by leonardo.celati
I have started a spring surf using maven archetype, in order to build a wcmqs webapp.

I am using this repository as suggested by wiki page.

    <repository>
      <id>Alfresco-Artifacts</id>
      <name>Alfresco Artifacts Releases</name>
      <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
    </repository>

All the necessary jars seem to be downloaded, however I get an error from Maven at install time, complaining that it cannot find the classes held in alfresco-wqs-clientapi artifact, the one related to Asset, CollectionFactory… and so on, which instead I see available in the repository.

<a href="https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/alfresco-wqs-clientapi/3.4.a/">alfresco-wqs-clientapi/3.4.a</a>
I have tried with this with no success:

    <dependency>
       <groupId>org.alfresco</groupId>
       <artifactId>alfresco-wqs-clientapi</artifactId>
       <version>3.4.a</version>
    </dependency>


Am I missing something in my configuration?

Outcomes