cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco-wqs-clientapi with Maven

leonardo_celati
Champ in-the-making
Champ in-the-making
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?
1 REPLY 1

leonardo_celati
Champ in-the-making
Champ in-the-making
The pom type was missing This is the proper configuration:


    <dependency>
       <groupId>org.alfresco</groupId>
       <artifactId>alfresco-wqs-clientapi</artifactId>
       <version>3.4.a</version>
       <!– type pom was missing –>
       <type>pom</type>
    </dependency>