You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rowland (JIRA)" <ji...@apache.org> on 2016/08/04 07:27:20 UTC

[jira] [Updated] (MDEP-535) Property Replacement does not work with

     [ https://issues.apache.org/jira/browse/MDEP-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rowland updated MDEP-535:
-------------------------
    Description: 
Property Replacement Seems to fail when you use it in artifactIem configuration Seems to be consistent in all of 2.* versions
Property test.tibjms.version exists

Maven Snipit
 <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.8</version>
                <executions>
                    <execution>
                        <id>download-ems-module-jars</id>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                                <outputDirectory>src/main/resources/wildfly.conf/modules/com/tibco/tibjms/main</outputDirectory>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>com.tibco</groupId>
                                    <artifactId>tibjms</artifactId>
                                    <version>${test.tibjms.version}</version>
                                    <type>jar</type>
                                    <destFileName>tibjms.jar</destFileName>
                                </artifactItem>



Build Snipit

[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy (download-ems-module-jars) @ server ---
[INFO] Configured Artifact: com.tibco:tibjms:?:jar






  was:
Property Replacement Seems to fail when you use it in artifactIem configuration Seems to be consistent in all of 2.* versions
Maven Snipit
 <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.8</version>
                <executions>
                    <execution>
                        <id>download-ems-module-jars</id>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                                <outputDirectory>src/main/resources/wildfly.conf/modules/com/tibco/tibjms/main</outputDirectory>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>com.tibco</groupId>
                                    <artifactId>tibjms</artifactId>
                                    <version>${test.tibjms.version}</version>
                                    <type>jar</type>
                                    <destFileName>tibjms.jar</destFileName>
                                </artifactItem>



Build Snipit

[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy (download-ems-module-jars) @ server ---
[INFO] Configured Artifact: com.tibco:tibjms:?:jar







> Property Replacement does not work with 
> ----------------------------------------
>
>                 Key: MDEP-535
>                 URL: https://issues.apache.org/jira/browse/MDEP-535
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.8, 2.10
>            Reporter: Rowland
>
> Property Replacement Seems to fail when you use it in artifactIem configuration Seems to be consistent in all of 2.* versions
> Property test.tibjms.version exists
> Maven Snipit
>  <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-dependency-plugin</artifactId>
>                 <version>2.8</version>
>                 <executions>
>                     <execution>
>                         <id>download-ems-module-jars</id>
>                         <goals>
>                             <goal>copy</goal>
>                         </goals>
>                         <configuration>
>                                 <outputDirectory>src/main/resources/wildfly.conf/modules/com/tibco/tibjms/main</outputDirectory>
>                             <artifactItems>
>                                 <artifactItem>
>                                     <groupId>com.tibco</groupId>
>                                     <artifactId>tibjms</artifactId>
>                                     <version>${test.tibjms.version}</version>
>                                     <type>jar</type>
>                                     <destFileName>tibjms.jar</destFileName>
>                                 </artifactItem>
> Build Snipit
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.8:copy (download-ems-module-jars) @ server ---
> [INFO] Configured Artifact: com.tibco:tibjms:?:jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)