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>

Reply via email to