maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivoru <ivor...@gmail.com>
Subject deploy on Artifactory repository a War not in target(default) directory
Date Thu, 04 Apr 2013 10:39:29 GMT
Hi

I need your help MavenCommunity,

I've a sh that build a war inside a directory...
I want to deploy that one inside my artifcatory repositoy...
But my configuration does not work: 

i paste my deploy configuration:

  <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <executions>
          <execution>
            <phase>deploy</phase>
            <goals>
                <goal>deploy-file</goal>
            </goals>
            <configuration>
                <packaging>war</packaging>
                <generatePom>false</generatePom>
               
<url>http://artifactory.au-sdc.com:8080/artifactory/plugins-snapshots</url>
                <artifactId>prova.prova</artifactId>
                <groupId>prova.prova.ivo</groupId>
                <version>1.0-SNAPSHOT</version>
               
<file>/home/builder/AUTOMATION/mine/WebRatio/deploy/mine.war</file>
            </configuration>
          </execution>
        </executions>


but when i run:

mvn deploy:deploly-file

i've some errors, like:

Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli)
on project UIS-BUILD: The parameters 'file', 'url' for goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file are missing or
invalid -> [Help 1]


Thanks for your help



--
View this message in context: http://maven.40175.n5.nabble.com/deploy-on-Artifactory-repository-a-War-not-in-target-default-directory-tp5752614.html
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


Mime
View raw message