You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jitesh Vassa (JIRA)" <ji...@apache.org> on 2015/06/10 14:37:02 UTC

[jira] [Created] (MRRESOURCES-96) Overriding "resourcesDirectory" doesn't appear to work

Jitesh Vassa created MRRESOURCES-96:
---------------------------------------

             Summary: Overriding "resourcesDirectory" doesn't appear to work
                 Key: MRRESOURCES-96
                 URL: https://issues.apache.org/jira/browse/MRRESOURCES-96
             Project: Maven Remote Resources Plugin
          Issue Type: Bug
    Affects Versions: 1.5
            Reporter: Jitesh Vassa
            Priority: Critical


I'm not sure if I'm using the plugin correctly, but when I specify the "resourcesDirectory" in configuration, the plugin doesn't appear to process those resources.

First mentioned on [StackOverflow|http://stackoverflow.com/questions/30669013/using-the-maven-remote-resources-plugin-and-specifying-the-resourcesdirectory]

Here's the pom I'm using:

{code:xml}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd">

	<modelVersion>4.0.0</modelVersion>
	<groupId>my.resource.library</groupId>
	<artifactId>resource-library</artifactId>
	<version>1.0</version>
	<name>ResourceLibrary</name>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-remote-resources-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<goals>
							<goal>bundle</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<resourcesDirectory>${project.basedir}/common</resourcesDirectory>
					<includes>
						<include>**/*</include>
					</includes>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>
{code}



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