Also, I forgot to added the commands I'm trying to run via hudson...

mvn -e -cpu -B -P ci,jws,code-drop clean install
mvn -e -B -P ci,jws,code-drop -DpreparationGoals="clean install"
release:prepare
mvn -e -cpu -B -P ci,jws,code-drop release:perform

Thanks


On Tue, Nov 24, 2009 at 10:23 AM, Christopher Styles <styles...@gmail.com>wrote:

> Hi,
>
> I'm trying to build and deploy a maven2 project via hudson, and the build
> works fine, but the deployment is failing... It's trying to deploy to a
> location that's not specified in <distributionManagement> in my parent
> pom.xml... Does anyone know why this is happening...??? If someone could
> please provide insight as to why this is happening and what I need to do to
> fix it I'd really appreciate it...
>
>
> THIS IS WHERE I WANT TO UPLOAD (DEPLOY) MY POM FILE LOCALLY....
>
> <distributionManagement>
>         <repository>
>             <id>archiva.internal</id>
>             <name>Internal Release Repository</name>
>             <url>*file:///home/<companyName>/repository/maven2*/</url>
>         </repository>
>         <snapshotRepository>
>             <id>archiva.snapshots</id>
>             <name>Internal Snapshot Repository</name>
>             <url>*file:///home/<companyName>/repository/maven2*/</url>
>             <uniqueVersion>false</uniqueVersion>
>         </snapshotRepository>
>         <site>
>             <id>arizona.site</id>
>             <url>*file:///home/<companyName>/repository/maven2*/</url>
>         </site>
>     </distributionManagement>
>
>
> THIS IS WHERE IT'S TRYING TO DEPLOY (ERROR)....
>
> WARNING: No credentials available for the 'Repository Archiva Managed
> Internal Repository' authentication realm at <svnRepository> [INFO] Nov 24,
> 2009 9:26:28 AM org.apache.commons.httpclient.HttpMethodBase
> processAuthenticationResponse [INFO] WARNING: No credentials available for
> the 'Repository Archiva Managed Internal Repository' authentication realm at
> <svnRepository> [INFO] Nov 24, 2009 9:26:28 AM
> org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse
> [INFO] WARNING: No credentials available for the 'Repository Archiva Managed
> Internal Repository' authentication realm at <svnRepository> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Error deploying artifact: Failed to transfer file:
> http://<svnRepository>:8080/archiva/repository/internal/com/statcom/pfl/statcom-pfl/1.1.0.5/statcom-pfl-1.1.0.5.pom<http://%3csvnrepository%3e:8080/archiva/repository/internal/com/statcom/pfl/statcom-pfl/1.1.0.5/statcom-pfl-1.1.0.5.pom>.
> Return code is: 401 Unauthorized [INFO] [INFO] [INFO]
>

Reply via email to