Closed GoogleCodeExporter closed 8 years ago
This is actually a bug in Alfresco distribution itself, which declares a
dependency to an artifact which is not built. (It is due to the current
situation of building Alfresco with both Ant and Maven, but you don't want to
know...)
It is registered on Alfresco side as
https://issues.alfresco.com/jira/browse/MNT-10118
Your workaround works, but it is not a recommended practice: anyone else trying
to build your code will have the same problem; and even you will, if you use a
different machine or delete your local Maven repository.
The recommended way is to exclude the unnecessary transitive dependency from
your pom, so that it is perennial:
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-web-client</artifactId>
<exclusions>
<exclusion>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-web-framework-commons</artifactId>
</exclusion>
</exclusions>
</dependency>
Hope this helps!
Original comment by samuel.l...@alfresco.com
on 3 Jan 2014 at 3:25
Original issue reported on code.google.com by
dcourtin...@gmail.com
on 26 Dec 2013 at 11:19