Christoph, Have you resolved this problem yet?
I think you may find that maven deployed your artifact into a local directory. Look for a directory in the root of your local filesystem with the same name as the remote host. I say this because your file url doesn't appear to be correct for a remote location. I think it should be " file://host/some/path", or if the remote location is a windows share the url should be " file://host/share/some/path". HTH, Doug On 8/23/06, "Amshoff Christoph, Köln" < [EMAIL PROTECTED]> wrote:
Hi, I'm new to Maven2 and trying to deploy my first JAR... alas without success up to now. We are running an internal repository using Maven-Proxy (using it as a proxy to "central" and for hosting our own artifacts). This is working well, and now I would like to put my JARs (snapshot version) onto this server using the deploy goal with file system configuration. In my POM, I configured the settings like this: <snapshotRepository> <id>central</id> <name>xxx</name> <url>file:///[a_server]/maven2-server/target/repo-local</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> The output seems to be ok, it says "551 K uploaded", but the file has NOT been copied. Even with enabled debug information (see below) I don't see any problems... or is this "not adding permissions to wagon connection" telling me anything? And yes, I have full access to the specified folder on the remote computer. Is file system deploy only working locally? What else should I use to deploy to Maven-Repo? Any help is appreciated... Thanks in advance, Christoph. --- snip --- [INFO] [deploy:deploy] [INFO] Retrieving previous build number from central [DEBUG] repository metadata for: 'snapshot sss:foundation:4.3.2-SNAPSHOT' could not be found on repository: central [DEBUG] not adding permissions to wagon connection Uploading: file:///[a_server]/maven2-server/target/repo-local/xxx/yyy/4.3.2-SNAPSHOT/yy y-4.3.2-SNAPSHOT.jar <file:///[a_server]/maven2-server/target/repo-local/xxx/yyy/4.3.2-SNAPSHOT/y yy-4.3.2-SNAPSHOT.jar > 551K uploaded [INFO] Retrieving previous metadata from central [DEBUG] repository metadata for: 'artifact sss:foundation' could not be found on repository: central [INFO] Uploading repository metadata for: 'artifact sss:foundation' [DEBUG] not adding permissions to wagon connection [INFO] Retrieving previous metadata from central [DEBUG] repository metadata for: 'snapshot sss:foundation:4.3.2-SNAPSHOT' could not be found on repository: central [INFO] Uploading repository metadata for: 'snapshot sss:foundation:4.3.2-SNAPSHOT' [DEBUG] not adding permissions to wagon connection [INFO] Retrieving previous metadata from central [DEBUG] project information for foundation 4.3.2-SNAPSHOT could not be found on repository: central [INFO] Uploading project information for foundation 4.3.2-SNAPSHOT [DEBUG] not adding permissions to wagon connection --- snap --- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]