github / maven-plugins

Official GitHub Maven Plugins
MIT License
587 stars 197 forks source link

[github-site-plugin] directories not correctly uploaded with windows #1

Closed dadoonet closed 12 years ago

dadoonet commented 12 years ago

Hi,

I'm testing your plugin and it seems that site upload does not work properly with windows. For example css/site.css is uploaded to "css\site.css" filename instead of a css directory with site.css file in it.

My pom.xml is defining the plugin as this :

        <plugin>
            <groupId>com.github.github</groupId>
            <artifactId>site-maven-plugin</artifactId>
            <version>0.1-SNAPSHOT</version>
            <configuration>
                <description>Creating site</description>
                <override>true</override>
                <includeAttached>true</includeAttached>
                <message>Building ${project.version} maven site</message>
                <path>version/${project.version}/</path>
                <merge>true</merge>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>site</goal>
                    </goals>
                    <phase>site</phase>
                </execution>
            </executions>
        </plugin>
kevinsawicki commented 12 years ago

Thanks for reporting this issue, I deployed a new snapshot with a fix, can you try it out and see if it works for you?

dadoonet commented 12 years ago

I tried it and it works now. Thanks for the quick fix. Cheers