[openstack-dev] [Documentation] Docbuild error

David Cramer david.cramer at RACKSPACE.COM
Tue Sep 4 00:01:55 UTC 2012


Hi Gary,
I can build openstack-network-connectivity-admin with no settings.xml file at all. Did you have a settings.xml already with some other stuff in it? Sometimes a user's local settings.xml can override the profiles set up in the pom and that can cause problems (and in that case adding our profile info might be necessary), but all the doc poms should just work with no settings.xml file at all. 

Thanks,
David
________________________________________
From: Gary Kotton [gkotton at redhat.com]
Sent: Monday, September 03, 2012 4:32 PM
To: Anne Gentle
Cc: OpenStack Development Mailing List; David Cramer
Subject: Re: [openstack-dev] [Documentation] Docbuild error

Brilliant. This solves the problems
Thanks
Gary

----- Original Message -----
From: "Anne Gentle" <anne at openstack.org>
To: gkotton at redhat.com
Cc: "OpenStack Development Mailing List" <openstack-dev at lists.openstack.org>, "David Cramer" <david.cramer at rackspace.com>
Sent: Monday, September 3, 2012 8:00:04 PM
Subject: Re: [openstack-dev] [Documentation] Docbuild error

Hi again Gary -
Thanks for the paste. I can get BUILD SUCCESSFUL on the
openstack-network-admin pom.xml in my local environment, so let's see
what's different in yours. I've got Maven 3.0.3 and you have 3.0.4 but
I dont' think that's it.
Here's my settings.xml, probably you have to add the same entries and
try again, since it seems like maven's not finding the repository.

<settings>
    <activeProfiles>
        <activeProfile>Rackspace Cloud Research</activeProfile>
    </activeProfiles>
    <profiles>
        <profile>
            <id>Rackspace Cloud Research</id>
            <repositories>
                <repository>
                    <id>repos.rackspace.cloud.snapshots</id>

<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <id>repos.rackspace.cloud.snapshots</id>

<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>
</settings>

Let me know how it goes.

Lots of people working on docs this (U.S) three-day weekend. :)
Anne

On Mon, Sep 3, 2012 at 11:18 AM, Gary Kotton <gkotton at redhat.com> wrote:
> On 09/03/2012 06:49 PM, Anne Gentle wrote:
>>
>> mvn clean generate-sources
>
> Can you please look at http://paste.openstack.org/show/20620/.
> I ran mvn -X
>
> Thanks
> Gary



More information about the OpenStack-dev mailing list