|
From: D. M. S. <ms...@co...> - 2009-12-01 15:16:44
|
Following the developer's guide, I can get the trunk of LogicalDOC to
build. However, I cannot get Maven to build the source of either 4.5.2
or 4.6.1.
Here is what I think are the relevant errors (from the 4.5.2 build):
Maven version: 2.0.9
Java version: 1.5.0_19
OS name: "linux" version: "2.6.27-15-generic" arch: "amd64" Family: "unix"
...
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM:
com.logicaldoc:logicaldoc-parent-pom::7 of project:
com.logicaldoc:logicaldoc:pom:4.5.2 in relative path: ../pom.xml
[DEBUG] Parent-POM: com.logicaldoc:logicaldoc-parent-pom::7 not found in
relative path: ../pom.xml
[DEBUG] Retrieving parent-POM: com.logicaldoc:logicaldoc-parent-pom::7
for project: com.logicaldoc:logicaldoc:pom:4.5.2 from the repository.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: com.logicaldoc:logicaldoc:pom:4.5.2
Reason: Cannot find parent: com.logicaldoc:logicaldoc-parent-pom for
project: com.logicaldoc:logicaldoc:pom:4.5.2 for project
com.logicaldoc:logicaldoc:pom:4.5.2
I am not familiar with Maven myself (I've always worked with Ant), but
after reading for a bit I think the problem may be this "version 7" of
the parent pom is not in the LogicalDOC repository? I changed the "7" to
a "15" (the version in the pom.xml of the trunk) and it gets further; it
seems to find the parent pom in the repository but then fails with this
error:
Validation Messages:
[0] 'dependencies.dependency.version' is missing for quartz:quartz
I'm assuming that's related to differences in the 4.5.2 and trunk
versions of the codebase (maybe Quartz was added in a later version?).
So, the big question is: If I download a .zip of the LogicalDOC source
from SourceForge, how do I get it to build? Is there something that
needs to be added to your Maven repository (those parent version
numbers?), or am I doing something wrong?
|