Hi all,
I try to setup maven 2.0.2 for my team.
I have a webserver (apache) which I want to use as our internal
repository release/snapshot.
In my parent pom.xml I added the following entries:
<distributionManagement>
<repository>
<id>inhouse</id>
<name>Inhouse Internal Release Repository</name>
<url>http://myserver/maven/inhouse</url>
</repository>
<snapshotRepository>
<id>inhouse_snapshot</id>
<name>Inhouse Internal Snapshot
Repository</name>
<url>http://myserver/maven/inhouse_snapshot</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
</distributionManagement>
But when I run 'mvn deploy' I get the following error:
C:\dev>mvn deploy
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Unnamed - com.progress.chat:dev:pom:1.0
[INFO] Unnamed - com.progress.chat.dev:esb:pom:1.0
[INFO] Unnamed - com.progress.chat.dev.esb:services:pom:1.0
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Unnamed - com.progress.chat:dev:pom:1.0
[INFO] task-segment: [deploy]
[INFO]
------------------------------------------------------------------------
----
[INFO] Skipping missing optional mojo:
org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] [install:install]
[INFO] Installing C:\dev\pom.xml to
C:\dev\var\local-repository\com\progress\chat\dev\1.0\dev-1.0.po
m
[INFO] [deploy:deploy]
Uploading:
http://myserver/maven/inhouse/com/progress/chat/dev/1.0/dev-1.0.pom
1K uploaded
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] Error deploying artifact: Unable to transfer file.
HttpURLConnection returned the response co
de: 405
[INFO]
------------------------------------------------------------------------
----
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: 1 second
[INFO] Finished at: Tue Jan 24 14:58:48 CET 2006
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------
----
C:\dev>
Do I need any special apache settings to be able to upload files with
maven/wagon?
Regards
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]