ivoru wrote: > 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]
You execute a goal directly and not as part of Maven's lifecylce. Therefore you the configuration is not present, you have to set the properties also on command line. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
