I have a base pom that defines properties as shown below:
(https://source.sakaiproject.org/contrib/caret/entitybroker/trunk/pom.xml)

<project>
  <modelVersion>4.0.0</modelVersion>
  <name>Sakai Entity Broker</name>
  <groupId>${eb.groupId}</groupId>
  <artifactId>${eb.id}</artifactId>
  <packaging>pom</packaging>
....
  <properties>
     <eb.id>entitybroker</eb.id>
     <eb.groupId>org.sakaiproject</eb.groupId>
     <eb.version>M2</eb.version>
  </properties>
  <version>${eb.version}</version>
....
  <modules>
     <module>api</module>
     <module>impl</module>
     <module>tool</module>
     <module>pack</module>
  </modules>
....

When I do a "mvn clean install" this builds the project and deploys it
to the local repository correctly. However, when I do "mvn site" I get
a failure. I do not get this failure if I remove the properties and
hardcode all the values in the base pom and the 4 other module poms.
Has anyone else seen this? Does anyone know how to correct it?

[WARNING] Unable to load parent project from repository: Failed to validate POM
for project ${eb.groupId}:${eb.id} at Artifact [${eb.groupId}:${eb.id}:pom:${eb.
version}]
Downloading: http://source.sakaiproject.org/maven2/${eb/groupId}/${eb.id}/${eb.v
ersion}/${eb.id}-${eb.version}-site_en.xml
Downloading: http://source.sakaiproject.org/maven2-ibiblio/${eb/groupId}/${eb.id
}/${eb.version}/${eb.id}-${eb.version}-site_en.xml
Downloading: http://repo1.maven.org/maven2/${eb/groupId}/${eb.id}/${eb.version}/
${eb.id}-${eb.version}-site_en.xml
Downloading: http://myfaces.zones.apache.org/dist/maven-repository/${eb/groupId}
/${eb.id}/${eb.version}/${eb.id}-${eb.version}-site_en.xml
Downloading: http://repo1.maven.org/maven2/${eb/groupId}/${eb.id}/${eb.version}/
${eb.id}-${eb.version}-site_en.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The site descriptor cannot be resolved from the repository: The system ca
nnot find the path specified


Any suggestions would be great.
-AZ


--
Aaron Zeckoski ([EMAIL PROTECTED])
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to