You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Nine <to...@gmail.com> on 2006/08/19 18:16:17 UTC

Help with custom build of maven-site-release

Hi all,
  Everyone at my company develops on Windows, and as a result, the
site:deploy target version 2.0-beta 5 does not work correctly.  I have
downloaded the 2.0-beta5 tag and fixed the error with not using the
sshExcecutable and the sshExecutable on deploy.  This works great for
me once I do a release:prepare and release:perform and push the custom
plugin to our plugin repository.  Here's where things get buggy, I
have all my metadata in our plugin registry.  I have

javadoc
sources
jar
pom

and all the coresponding signartures.  However, whenever anyone else
goes to download the plugin, the jar is downloaded from the plugin
repository defined in settings.xml

    <pluginRepositories>
                <pluginRepository>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <id>ata-plugin-repository</id>
                    <name>ATA Plugin snapshot</name>
                    <url>
                        http://sun10.ata.com:9200/Maven2/plugins/repository
                    </url>
                    <layout>default</layout>
                </pluginRepository>
    <pluginResoitories>

and maven 2 never tries to download the pom from the plugin repsitory,
it always tries to download it from my mirrors.  Here is the output of
my log when trying to run "mvn clean site" and attempting to download
and install the custom plugin.

INFO] [clean:clean]
[INFO] Deleting directory C:\development\ata\utilities\encryption\target
[INFO] Deleting directory C:\development\ata\utilities\encryption\target\classes
[INFO] Deleting directory
C:\development\ata\utilities\encryption\target\test-classes
[INFO] [cobertura:clean {execution: default}]
Downloading: http://ibiblio.lsu.edu/main/pub/packages/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6-atacustom/maven-site-plugin-2.0-beta-6.pom

Obviously lsu won't have this pom, so I get ClassNotFound exceptions
when the site plugin tries to run.  Can anyone explain to me why the
pom isn't downloaded from our plugin repository?

Thanks,
Todd

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org