On 2010-07-26 15:53, David J. Biesack wrote:
>> Date: Sat, 24 Jul 2010 23:15:16 +0200
>> From: Dennis Lundberg <[email protected]>
>>
>> This error usually shows up when there is a problem accessing the
>> central repository, or a corporate repository proxy.
> 
> Right; we periodically get timeouts from Central; that's why
> I wanted to set a fixed version for the skin.
>  
>> Inheritance of site.xml from a parent is automatic, as long as the
>> parent pom has its site.xml attached to it when you deploy it to your
>> repository.
> 
> Thanks. Is this documented somewhere? I searched a lot of places and could not
> determine how sites and parent poms worked. It was not at all obvious
> to me that I could run site-deploy on a parent pom project or that this
> would do something useful.

I'm not sure if/where it is documented, but I'll make sure to add a note
about this in the Site Plugin documentation.

> And where exactly is the default skin and version specified - i.e.
> it not resolved locally when I added maven-default-skin 1.0 to
> our Artifactory repo - I assume because some default somewhere specifies
> a different version?

The default value can be found in Maven Doxia :: Doxia Decoration Model.
The default value is

  groupId = org.apache.maven.skins
  artifactId = maven-default-skin

Unfortunately no version is specified, which might just be the reason
for your (and others) problems. We should really specify a version for
the default value. I'll open a JIRA issue for that.

> 
>> On 2010-07-23 17:34, David J. Biesack wrote:
>>> I'm seeing maven2 build failures because of the timeouts at central 
>>>
>>>     Caused by: org.apache.maven.doxia.tools.SiteToolException: 
>>> ArtifactNotFoundException: The skin does not exist: Unable to determine the 
>>> release version
>>> [...]
>>
>> -- 
>> Dennis Lundberg
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to