[ 
https://issues.apache.org/jira/browse/MDEPLOY-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965760#comment-17965760
 ] 

Olivier Lamy commented on MDEPLOY-218:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-deploy-plugin#482|https://github.com/apache/maven-deploy-plugin/issues/482].
 

> deploy-file is inconsistent with install-file behavior.
> -------------------------------------------------------
>
>                 Key: MDEPLOY-218
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-218
>             Project: Maven Deploy Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: deploy:deploy-file
>    Affects Versions: 2.8.2
>            Reporter: YuJue Li
>            Assignee: Robert Scholte
>            Priority: Major
>              Labels: build
>
> The following configuration, install-file will take effect, but deploy-file 
> will not take effect.
> {code:xml}
> <build>
>       <plugins>
>               <plugin>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-install-plugin</artifactId>
>                       <version>2.5.2</version>
>                       <inherited>false</inherited>
>                       <configuration>
>                               <skip>true</skip>
>                       </configuration>
>               </plugin>
>               <plugin>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-install-plugin</artifactId>
>                       <version>2.5.2</version>
>                       <inherited>false</inherited>
>                       <executions>
>                               <execution>
>                                       <id>core-install</id>
>                                       <phase>install</phase>
>                                       <goals>
>                                               <goal>install-file</goal>
>                                       </goals>
>                                       <configuration>
>                                               
> <file>${basedir}/pom-deployment.xml</file>
>                                               
> <groupId>com.platform-dev.projects</groupId>
>                                               <artifactId>core</artifactId>
>                                               <version>${c.version}</version>
>                                               <packaging>pom</packaging>
>                                       </configuration>
>                               </execution>
>                       </executions>
>               </plugin>
>               <plugin>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-deploy-plugin</artifactId>
>                       <inherited>false</inherited>
>                       <version>2.8.2</version>
>                       <configuration>
>                               <skip>true</skip>
>                       </configuration>
>               </plugin>                                       
>               <plugin>
>                       <groupId>org.apache.maven.plugins</groupId>
>                       <artifactId>maven-deploy-plugin</artifactId>
>                       <version>2.8.2</version>
>                       <inherited>false</inherited>
>                       <executions>
>                               <execution>
>                                       <id>core-deploy</id>
>                                       <phase>deploy</phase>
>                                       <goals>
>                                               <goal>deploy-file</goal>
>                                       </goals>
>                                       <configuration>
>                                               
> <file>${basedir}/pom-deployment.xml</file>
>                                               
> <groupId>com.platform-dev.projects</groupId>
>                                               <artifactId>core</artifactId>
>                                               <version>${c.version}</version>
>                                               <packaging>pom</packaging>
>                                               
> <url>http://192.168.2.241:7001/nexus/content/repositories/releases</url>
>                                               
> <repositoryId>platform-release</repositoryId>
>                                       </configuration>
>                               </execution>
>                       </executions>
>               </plugin>                                        
>       </plugins>
> </build>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to