many many thanks

Andy
On Jun 17, 2014, at 11:28 AM, Robert Scholte <[email protected]> wrote:

> Hi Andy,
> 
> First of all: welcome in the world of Apache Maven!
> I won't go into detail too much right now, I'd suggest to do some 
> getting-started tutorials[2] to understand the basics.
> 
> Let's start with:
> With Maven you can call 2 things: a phase of a lifecycle[1] or a goal from a 
> specific plugin.
> if you're running 'mvn deploy:deploy-file' you're only executing 1 goal.
> And 'mvn deploy' means you're executing all phases up to deploy, representing 
> a chain of goals.
> 
> Since you're using an execution-block I assume you just want to call 'mvn 
> deploy'.
> 
> thanks,
> Robert
> 
> [1] 
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> [2] http://maven.apache.org/guides/index.html
> 
> Op Tue, 17 Jun 2014 00:51:21 +0200 schreef Andrew Davidson 
> <[email protected]>:
> 
>> Hi
>> 
>> I recently joined an existing project that uses the maven ant plug into to 
>> build artifacts that we need to distribute. I am trying to add  support for 
>> deploy-file
>> 
>> $ mvn  deploy:deploy-file -DskipTests 2>&1 | tee mvn.deploy-file.out
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-deploy-plugin:2.8:deploy-file (default-cli) 
>> on project mary-aide-dist: The parameters 'file' for goal 
>> org.apache.maven.plugins:maven-deploy-plugin:2.8:deploy-file are missing or 
>> invalid -> [Help 1]
>> [ERROR]
>> 
>> I have tried using -X and -e how ever I can still can not figure out what 
>> the problem is.
>> 
>> any idea what I am doing wrong?                              
>> 
>> thanks
>> 
>> Andy
>> 
>> 
>> <distributionManagement> … </>
>> 
>> <properties>
>>      
>> <mary-aide-proxy.tar>mary-aide-proxy-${project.version}</mary-aide-proxy.tar>
>> 
>>      <release.repositoryId>libs-release</release.repositoryId>
>>      
>> <release.url>http://maryx01-c.bogco.com:8081/artifactory/libs-release-local/
>>      </release.url>
>> 
>>      <snapshot.repositoryId>libs-snapshot</snapshot.repositoryId>
>>      
>> <snapshot.url>http://maryx01-c.bigco.com:8081/artifactory/libs-snapshot-local/
>>      </snapshot.url>
>> 
>> </properties>
>> 
>> <plugin>
>>      <groupId>org.apache.maven.plugins</groupId>
>>      <artifactId>maven-deploy-plugin</artifactId>
>>      <executions>
>> 
>>              <execution>
>>                      <id>mary-aide-proxy</id>
>>                      <phase>deploy</phase>
>>                      <goals>
>>                              <goal>deploy-file</goal>
>>                      </goals>
>>                      <configuration>
>>                              
>> <file>target/${mary-aide-proxy.tar}.tar.gz</file>
>>                              
>> <repositoryId>${release.repositoryId}</repositoryId>
>>                              <url>${release.url}</url>
>>                              <groupId>${project.parent.groupId}</groupId>
>>                              
>> <artifactId>${project.parent.artifactId}</artifactId>
>>                              <version>${project.parent.version}</version>
>>                              <generatePom>false</generatePom>
>>                              <packaging>tar.gz</packaging>
>>                      </configuration>
>>              </execution>
>>      </executions>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to