I'm having problems building the DD4T project to build with Maven in Eclipse (Java EE).
When I try to build the dd4t-api project using Run as > Maven build the build fails with a message in console telling me that it cannot find "com.tridion.contentdelivery:cd_model:jar:2013SP1" or "com.tridion.contentdelivery:cd_core:jar:2013SP1".
I have added the 2013SP1 cd_core and cd_model jars to the buildpath of the project, the Source tab of the maven build settings in turn and I've just tried adding a local repo to the POM file but am still seeing this error.
My experience with Maven is limited so I imagine I'm doing something wrong. A paste of the build output is below.
[INFO] Building Dynamic Delivery for Tridion API 1.31
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.tridion.contentdelivery:cd_model:jar:2013SP1 is missing, no dependency information available
[WARNING] The POM for com.tridion.contentdelivery:cd_core:jar:2013SP1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.715 s
[INFO] Finished at: 2015-06-17T08:44:31+00:00
[INFO] Final Memory: 5M/115M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dd4t-api: Could not resolve dependencies for project org.dynamicdelivery:dd4t-api:jar:1.31: The following artifacts could not be resolved: com.tridion.contentdelivery:cd_model:jar:2013SP1, com.tridion.contentdelivery:cd_core:jar:2013SP1: Failure to find com.tridion.contentdelivery:cd_model:jar:2013SP1 in file://C:\Development\dynamic-delivery-4-tridion-master\dependencies\Tridion jarfiles was cached in the local repository, resolution will not be reattempted until the update interval of my-local-repo has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Edit 1: I've noticed a couple of things that might be relevant
- There is no com.tridion.contentdelivery namespace in either the cd_model.jar or cd_core.jar
- The tridion.version var in the pom.xml is set to 2013SP1, the JAR's manifest files don't contain a mention of this at all.