Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-218

deploy-file is inconsistent with install-file behavior.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.8.2
    • None
    • deploy:deploy-file

    Description

      The following configuration, install-file will take effect, but deploy-file will not take effect.

      <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>
      

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            liyuj YuJue Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: