You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Tomasoni, Didier" <di...@hp.com> on 2006/12/18 12:00:36 UTC

Deploy-file problem

Hello,

Can somebody help me, please?

I try to deploy on a local repository (under proximity) a jar with the
following command:
mvn deploy:deploy-file -Durl=file://C:\Documents and
Settings\test\proximity\ext-free.snapshot\storage 
-DrepositoryId=extFree.snapshot
-Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar 
-DgroupId=org.apache.maven.plugins 
-DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT

And I have the following error:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task 'and': you must specify a valid lifecycle phase, or
a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Dec 18 11:44:06 CET 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

When I use the following one:
mvn deploy:deploy-file
-Durl=http://localhost:8999/px-webapp/repository/extFree.snapshot 
-DrepositoryId=extFree.snapshot
-Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
-DgroupId=org.apache.maven.plugins 
-DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=jar

I have the error:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Unnamed -
org.apache.maven.plugins:maven-ejb3-plugin:pom:2.1-SNAPSHOT
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]
------------------------------------------------------------------------
----
[INFO] [deploy:deploy-file]
[INFO] Retrieving previous build number from extFree.snapshot
Uploading:
http://localhost:8999/px-webapp/repository/extFree.snapshot/org/apache/m
aven/plugins/maven-ejb3-plugin/2.1-SNAPSHOT/maven-ejb3-plugin-2.1-200612
18.105519-1.jar
5K uploaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Unable to transfer file.
HttpURLConnection returned the response code: 500

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Dec 18 11:55:19 CET 2006
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------

Thanks for advance.

Didier.

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


Re: Deploy-file problem

Posted by dti <di...@hp.com>.
Hello Tom,

It solves my problem for the first case, thanks.

For the second case I think it is a problem of configuration.

didier.


Tom Huybrechts wrote:
> 
> On 12/18/06, Tamás Cservenák <t....@gmail.com> wrote:
>> Errr,
>>
>> even with quoting the path, Proximity's WebDAV front end is not M2
>> wagon friendly -- you are not able to deploy onto current Proximity
>> via M2 webdav implementation
>>
>> This is true, even if various WebDAV client uses happily proximity as
>> dav repo with R/W access (like GNOME Nautilus WebDAV client).
>>
>> You have to deploy onto proximity "indirectly" while this webdav issue
>> is not fixed. Deploy onto filesystem where the proximity repo resides,
>> for example.
>>
> 
> That's what I meant - in the first case he was deploying to the file
> system, but not quoting the repo path.
> 
>> ~t~
>>
>> On 12/18/06, Tom Huybrechts <to...@gmail.com> wrote:
>> > quote the path
>> >
>> > tom
>> >
>> >
>> > On 12/18/06, Tomasoni, Didier <di...@hp.com> wrote:
>> > > Hello,
>> > >
>> > > Can somebody help me, please?
>> > >
>> > > I try to deploy on a local repository (under proximity) a jar with
>> the
>> > > following command:
>> > > mvn deploy:deploy-file -Durl=file://C:\Documents and
>> > > Settings\test\proximity\ext-free.snapshot\storage
>> > > -DrepositoryId=extFree.snapshot
>> > > -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
>> > > -DgroupId=org.apache.maven.plugins
>> > > -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT
>> > >
>> > > And I have the following error:
>> > > [INFO] Scanning for projects...
>> > > [INFO] Searching repository for plugin with prefix: 'deploy'.
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [ERROR] BUILD FAILURE
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Invalid task 'and': you must specify a valid lifecycle phase,
>> or
>> > > a goal in the format plugin:goal or
>> > > pluginGroupId:pluginArtifactId:pluginVersion:goal
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] For more information, run Maven with the -e switch
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Total time: < 1 second
>> > > [INFO] Finished at: Mon Dec 18 11:44:06 CET 2006
>> > > [INFO] Final Memory: 1M/3M
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > >
>> > > When I use the following one:
>> > > mvn deploy:deploy-file
>> > > -Durl=http://localhost:8999/px-webapp/repository/extFree.snapshot
>> > > -DrepositoryId=extFree.snapshot
>> > > -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
>> > > -DgroupId=org.apache.maven.plugins
>> > > -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=jar
>> > >
>> > > I have the error:
>> > > [INFO] Scanning for projects...
>> > > [INFO] Searching repository for plugin with prefix: 'deploy'.
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > ----
>> > > [INFO] Building Unnamed -
>> > > org.apache.maven.plugins:maven-ejb3-plugin:pom:2.1-SNAPSHOT
>> > > [INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > ----
>> > > [INFO] [deploy:deploy-file]
>> > > [INFO] Retrieving previous build number from extFree.snapshot
>> > > Uploading:
>> > >
>> http://localhost:8999/px-webapp/repository/extFree.snapshot/org/apache/m
>> > >
>> aven/plugins/maven-ejb3-plugin/2.1-SNAPSHOT/maven-ejb3-plugin-2.1-200612
>> > > 18.105519-1.jar
>> > > 5K uploaded
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [ERROR] BUILD ERROR
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Error deploying artifact: Unable to transfer file.
>> > > HttpURLConnection returned the response code: 500
>> > >
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] For more information, run Maven with the -e switch
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Total time: 1 second
>> > > [INFO] Finished at: Mon Dec 18 11:55:19 CET 2006
>> > > [INFO] Final Memory: 2M/4M
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > >
>> > > Thanks for advance.
>> > >
>> > > Didier.
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > > For additional commands, e-mail: users-help@maven.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
-- 
View this message in context: http://www.nabble.com/Deploy-file-problem-tf2839171s177.html#a7947342
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Deploy-file problem

Posted by Tom Huybrechts <to...@gmail.com>.
On 12/18/06, Tamás Cservenák <t....@gmail.com> wrote:
> Errr,
>
> even with quoting the path, Proximity's WebDAV front end is not M2
> wagon friendly -- you are not able to deploy onto current Proximity
> via M2 webdav implementation
>
> This is true, even if various WebDAV client uses happily proximity as
> dav repo with R/W access (like GNOME Nautilus WebDAV client).
>
> You have to deploy onto proximity "indirectly" while this webdav issue
> is not fixed. Deploy onto filesystem where the proximity repo resides,
> for example.
>

That's what I meant - in the first case he was deploying to the file
system, but not quoting the repo path.

> ~t~
>
> On 12/18/06, Tom Huybrechts <to...@gmail.com> wrote:
> > quote the path
> >
> > tom
> >
> >
> > On 12/18/06, Tomasoni, Didier <di...@hp.com> wrote:
> > > Hello,
> > >
> > > Can somebody help me, please?
> > >
> > > I try to deploy on a local repository (under proximity) a jar with the
> > > following command:
> > > mvn deploy:deploy-file -Durl=file://C:\Documents and
> > > Settings\test\proximity\ext-free.snapshot\storage
> > > -DrepositoryId=extFree.snapshot
> > > -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
> > > -DgroupId=org.apache.maven.plugins
> > > -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT
> > >
> > > And I have the following error:
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'deploy'.
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD FAILURE
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or
> > > a goal in the format plugin:goal or
> > > pluginGroupId:pluginArtifactId:pluginVersion:goal
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second
> > > [INFO] Finished at: Mon Dec 18 11:44:06 CET 2006
> > > [INFO] Final Memory: 1M/3M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > >
> > > When I use the following one:
> > > mvn deploy:deploy-file
> > > -Durl=http://localhost:8999/px-webapp/repository/extFree.snapshot
> > > -DrepositoryId=extFree.snapshot
> > > -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
> > > -DgroupId=org.apache.maven.plugins
> > > -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=jar
> > >
> > > I have the error:
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'deploy'.
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > ----
> > > [INFO] Building Unnamed -
> > > org.apache.maven.plugins:maven-ejb3-plugin:pom:2.1-SNAPSHOT
> > > [INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > ----
> > > [INFO] [deploy:deploy-file]
> > > [INFO] Retrieving previous build number from extFree.snapshot
> > > Uploading:
> > > http://localhost:8999/px-webapp/repository/extFree.snapshot/org/apache/m
> > > aven/plugins/maven-ejb3-plugin/2.1-SNAPSHOT/maven-ejb3-plugin-2.1-200612
> > > 18.105519-1.jar
> > > 5K uploaded
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Error deploying artifact: Unable to transfer file.
> > > HttpURLConnection returned the response code: 500
> > >
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 1 second
> > > [INFO] Finished at: Mon Dec 18 11:55:19 CET 2006
> > > [INFO] Final Memory: 2M/4M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > >
> > > Thanks for advance.
> > >
> > > Didier.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: Deploy-file problem

Posted by Tamás Cservenák <t....@gmail.com>.
Errr,

even with quoting the path, Proximity's WebDAV front end is not M2
wagon friendly -- you are not able to deploy onto current Proximity
via M2 webdav implementation

This is true, even if various WebDAV client uses happily proximity as
dav repo with R/W access (like GNOME Nautilus WebDAV client).

You have to deploy onto proximity "indirectly" while this webdav issue
is not fixed. Deploy onto filesystem where the proximity repo resides,
for example.

~t~

On 12/18/06, Tom Huybrechts <to...@gmail.com> wrote:
> quote the path
>
> tom
>
>
> On 12/18/06, Tomasoni, Didier <di...@hp.com> wrote:
> > Hello,
> >
> > Can somebody help me, please?
> >
> > I try to deploy on a local repository (under proximity) a jar with the
> > following command:
> > mvn deploy:deploy-file -Durl=file://C:\Documents and
> > Settings\test\proximity\ext-free.snapshot\storage
> > -DrepositoryId=extFree.snapshot
> > -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
> > -DgroupId=org.apache.maven.plugins
> > -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT
> >
> > And I have the following error:
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'deploy'.
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or
> > a goal in the format plugin:goal or
> > pluginGroupId:pluginArtifactId:pluginVersion:goal
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Mon Dec 18 11:44:06 CET 2006
> > [INFO] Final Memory: 1M/3M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > When I use the following one:
> > mvn deploy:deploy-file
> > -Durl=http://localhost:8999/px-webapp/repository/extFree.snapshot
> > -DrepositoryId=extFree.snapshot
> > -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
> > -DgroupId=org.apache.maven.plugins
> > -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=jar
> >
> > I have the error:
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'deploy'.
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> > [INFO] Building Unnamed -
> > org.apache.maven.plugins:maven-ejb3-plugin:pom:2.1-SNAPSHOT
> > [INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
> > [INFO]
> > ------------------------------------------------------------------------
> > ----
> > [INFO] [deploy:deploy-file]
> > [INFO] Retrieving previous build number from extFree.snapshot
> > Uploading:
> > http://localhost:8999/px-webapp/repository/extFree.snapshot/org/apache/m
> > aven/plugins/maven-ejb3-plugin/2.1-SNAPSHOT/maven-ejb3-plugin-2.1-200612
> > 18.105519-1.jar
> > 5K uploaded
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error deploying artifact: Unable to transfer file.
> > HttpURLConnection returned the response code: 500
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Mon Dec 18 11:55:19 CET 2006
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > Thanks for advance.
> >
> > Didier.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: Deploy-file problem

Posted by Tom Huybrechts <to...@gmail.com>.
quote the path

tom


On 12/18/06, Tomasoni, Didier <di...@hp.com> wrote:
> Hello,
>
> Can somebody help me, please?
>
> I try to deploy on a local repository (under proximity) a jar with the
> following command:
> mvn deploy:deploy-file -Durl=file://C:\Documents and
> Settings\test\proximity\ext-free.snapshot\storage
> -DrepositoryId=extFree.snapshot
> -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
> -DgroupId=org.apache.maven.plugins
> -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT
>
> And I have the following error:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or
> a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Mon Dec 18 11:44:06 CET 2006
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
>
> When I use the following one:
> mvn deploy:deploy-file
> -Durl=http://localhost:8999/px-webapp/repository/extFree.snapshot
> -DrepositoryId=extFree.snapshot
> -Dfile=maven-ejb3-plugin-2.1-SNAPSHOT.jar
> -DgroupId=org.apache.maven.plugins
> -DartifactId=maven-ejb3-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=jar
>
> I have the error:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Unnamed -
> org.apache.maven.plugins:maven-ejb3-plugin:pom:2.1-SNAPSHOT
> [INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [deploy:deploy-file]
> [INFO] Retrieving previous build number from extFree.snapshot
> Uploading:
> http://localhost:8999/px-webapp/repository/extFree.snapshot/org/apache/m
> aven/plugins/maven-ejb3-plugin/2.1-SNAPSHOT/maven-ejb3-plugin-2.1-200612
> 18.105519-1.jar
> 5K uploaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unable to transfer file.
> HttpURLConnection returned the response code: 500
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Dec 18 11:55:19 CET 2006
> [INFO] Final Memory: 2M/4M
> [INFO]
> ------------------------------------------------------------------------
>
> Thanks for advance.
>
> Didier.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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