Hi All,

Using maven-dependency-plugin to download some dependencies to indicated target 
folder. Which works fine under serial build. Under parallel build,  
copy-dependency-to-test works as expected but did not see 
copy-byteman-dependency gets executed. Is there any restriction of using 
maven-dependency-plugin: copy-dependencies under parallel build?

Thank you~

Regards,

~ Vivi

<dependencies>
    <dependency>
        <groupId>org.jboss.byteman</groupId>
        <artifactId>byteman</artifactId>
        <version>${byteman.version}</version>
    </dependency>

    <dependency>
        <groupId>org.jboss.byteman</groupId>
        <artifactId>byteman-submit</artifactId>
        <version>${byteman.version}</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
                <execution>
                    <id>copy-byteman-dependency</id>
                    <phase>install</phase>
                    <goals>
                        <goal>copy-dependencies</goal>
                    </goals>
                    <configuration>
                        <stripVersion>true</stripVersion>
                        
<outputDirectory>${project.basedir/byteman/lib</outputDirectory>
                    </configuration>
                </execution>
                <execution>
                    <id>copy-dependency-to-test</id>
                    <phase>install</phase>
                    <goals>
                        <goal>copy-dependencies</goal>
                    </goals>
                    <configuration>
                        <stripVersion>true</stripVersion>
                        
<outputDirectory>${project.basedir/test/lib/java</outputDirectory>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Reply via email to