You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lee Fox (JIRA)" <ji...@codehaus.org> on 2010/10/19 00:11:32 UTC

[jira] Created: (SCM-580) Maven SCM plugin configuration ignored if executions are used.

Maven SCM plugin configuration ignored if executions are used.
--------------------------------------------------------------

                 Key: SCM-580
                 URL: http://jira.codehaus.org/browse/SCM-580
             Project: Maven SCM
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Windows
            Reporter: Lee Fox


When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:


		<profile>
            <id>bootstrap-all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-scm-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<skipCheckoutIfExists/>
						</configuration>
						<executions>
							<execution>
								<id>checkout_a</id>
								<configuration>
									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
								</configuration>
								<phase>process-resources</phase>
								<goals>
									<goal>checkout</goal>
								</goals>
							</execution>
						</executions>
					</plugin>		
				</plugins>
			</build>
		</profile>


However, this does work:

		<profile>
            <id>bootstrap-all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-scm-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<skipCheckoutIfExists/>
							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
						</configuration>
					</plugin>		
				</plugins>
			</build>
		</profile>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (SCM-580) Maven SCM plugin configuration ignored if executions are used.

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated SCM-580:
-------------------------------

    Component/s: maven-plugin
    Description: 
When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:
{code:xml}

		<profile>
            <id>bootstrap-all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-scm-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<skipCheckoutIfExists/>
						</configuration>
						<executions>
							<execution>
								<id>checkout_a</id>
								<configuration>
									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
								</configuration>
								<phase>process-resources</phase>
								<goals>
									<goal>checkout</goal>
								</goals>
							</execution>
						</executions>
					</plugin>		
				</plugins>
			</build>
		</profile>
{code}

However, this does work:
{code:xml}
		<profile>
            <id>bootstrap-all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-scm-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<skipCheckoutIfExists/>
							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
						</configuration>
					</plugin>		
				</plugins>
			</build>
		</profile>
{code}

  was:
When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:


		<profile>
            <id>bootstrap-all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-scm-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<skipCheckoutIfExists/>
						</configuration>
						<executions>
							<execution>
								<id>checkout_a</id>
								<configuration>
									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
								</configuration>
								<phase>process-resources</phase>
								<goals>
									<goal>checkout</goal>
								</goals>
							</execution>
						</executions>
					</plugin>		
				</plugins>
			</build>
		</profile>


However, this does work:

		<profile>
            <id>bootstrap-all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-scm-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<skipCheckoutIfExists/>
							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
						</configuration>
					</plugin>		
				</plugins>
			</build>
		</profile>


    
> Maven SCM plugin configuration ignored if executions are used.
> --------------------------------------------------------------
>
>                 Key: SCM-580
>                 URL: https://jira.codehaus.org/browse/SCM-580
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.4
>         Environment: Windows
>            Reporter: Lee Fox
>
> When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:
> {code:xml}
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 						</configuration>
> 						<executions>
> 							<execution>
> 								<id>checkout_a</id>
> 								<configuration>
> 									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
> 								</configuration>
> 								<phase>process-resources</phase>
> 								<goals>
> 									<goal>checkout</goal>
> 								</goals>
> 							</execution>
> 						</executions>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>
> {code}
> However, this does work:
> {code:xml}
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
> 						</configuration>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (SCM-580) Maven SCM plugin configuration ignored if executions are used.

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed SCM-580.
------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte
    
> Maven SCM plugin configuration ignored if executions are used.
> --------------------------------------------------------------
>
>                 Key: SCM-580
>                 URL: https://jira.codehaus.org/browse/SCM-580
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.4
>         Environment: Windows
>            Reporter: Lee Fox
>            Assignee: Robert Scholte
>
> When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:
> {code:xml}
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 						</configuration>
> 						<executions>
> 							<execution>
> 								<id>checkout_a</id>
> 								<configuration>
> 									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
> 								</configuration>
> 								<phase>process-resources</phase>
> 								<goals>
> 									<goal>checkout</goal>
> 								</goals>
> 							</execution>
> 						</executions>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>
> {code}
> However, this does work:
> {code:xml}
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
> 						</configuration>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SCM-580) Maven SCM plugin configuration ignored if executions are used.

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242993#action_242993 ] 

Olivier Lamy commented on SCM-580:
----------------------------------

which maven version are you using ?

> Maven SCM plugin configuration ignored if executions are used.
> --------------------------------------------------------------
>
>                 Key: SCM-580
>                 URL: http://jira.codehaus.org/browse/SCM-580
>             Project: Maven SCM
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows
>            Reporter: Lee Fox
>
> When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 						</configuration>
> 						<executions>
> 							<execution>
> 								<id>checkout_a</id>
> 								<configuration>
> 									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
> 								</configuration>
> 								<phase>process-resources</phase>
> 								<goals>
> 									<goal>checkout</goal>
> 								</goals>
> 							</execution>
> 						</executions>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>
> However, this does work:
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
> 						</configuration>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SCM-580) Maven SCM plugin configuration ignored if executions are used.

Posted by "H.-C. Gürsoy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243507#action_243507 ] 

H.-C. Gürsoy commented on SCM-580:
----------------------------------

Dear Lee,

it's sad but true: it's a maven "feature" ;-)

I've fighted myself with this "feature", see these issues:

http://jira.codehaus.org/browse/MNG-3425 
http://jira.codehaus.org/browse/MNG-3401

and 

http://jira.codehaus.org/browse/MSQL-65 (the last one is exactly the same usecase).

Best regards
Halil




> Maven SCM plugin configuration ignored if executions are used.
> --------------------------------------------------------------
>
>                 Key: SCM-580
>                 URL: http://jira.codehaus.org/browse/SCM-580
>             Project: Maven SCM
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows
>            Reporter: Lee Fox
>
> When utilizing the embedded configuration tag, everything is perfect.  However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag.  Here is the portion of my pom file that doesn't work:
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 						</configuration>
> 						<executions>
> 							<execution>
> 								<id>checkout_a</id>
> 								<configuration>
> 									<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 									<checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory>
> 								</configuration>
> 								<phase>process-resources</phase>
> 								<goals>
> 									<goal>checkout</goal>
> 								</goals>
> 							</execution>
> 						</executions>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>
> However, this does work:
> 		<profile>
>             <id>bootstrap-all</id>
>             <activation>
>                 <activeByDefault>true</activeByDefault>
>             </activation>
> 			<build>
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.maven.plugins</groupId>
> 						<artifactId>maven-scm-plugin</artifactId>
> 						<version>1.4</version>
> 						<configuration>
> 							<skipCheckoutIfExists/>
> 							<connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl>
> 							<checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory>
> 						</configuration>
> 					</plugin>		
> 				</plugins>
> 			</build>
> 		</profile>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira