Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse error: Could not get the value for parameter contextFolder for plugin execution default #218

Open
collinpeters opened this issue Jun 23, 2015 · 4 comments

Comments

@collinpeters
Copy link

Eclipse is showing me the following error: Could not get the value for parameter contextFolder for plugin execution default (ro.isdc.wro4j:wro4j-maven-plugin:1.7.6:run:default:generate-resources)

My pom.xml contains

            <plugin>
                <groupId>ro.isdc.wro4j</groupId>
                <artifactId>wro4j-maven-plugin</artifactId>
                <version>${wro4j.version}</version>
                <executions>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
                    <cssDestinationFolder>${project.build.directory}/generated-resources/static/css</cssDestinationFolder>
                    <jsDestinationFolder>${project.build.directory}/generated-resources/static/js</jsDestinationFolder>
                    <wroFile>${project.build.directory}/wro/wro.xml</wroFile>
                    <extraConfigFile>${basedir}/src/main/wro/wro.properties</extraConfigFile>
                    <contextFolder>${basedir}/src/main/wro</contextFolder>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.webjars</groupId>
                        <artifactId>jquery</artifactId>
                        <version>2.1.1</version>
                    </dependency>
                    <dependency>
                        <groupId>org.webjars</groupId>
                        <artifactId>bootstrap</artifactId>
                        <version>3.2.0</version>
                    </dependency>
                </dependencies>
            </plugin>

Using version 1.7.8. This code was actually taken from an online tutorial by a Spring lead (Dave Syer) on making an app with Spring Security & Angular (https://spring.io/guides/tutorials/spring-security-and-angular-js/).

I should note that this error doesn't seem to be causing any ill effect either. Everything runs fine.

@alexo
Copy link
Owner

alexo commented Jun 24, 2015

@collinpeters Could you move this issue to https://github.com/wro4j/wro4j repository which is the new home of the project.

@jackyshuoyang
Copy link

@collinpeters I am getting the same problem and it bothers me two days, is the problem solved mate?

@mrcage
Copy link

mrcage commented Oct 27, 2016

Same for me. Any solution?

@codegeekslab
Copy link

codegeekslab commented May 14, 2017

Solution-Add this in your properties.
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <wro4j.version>1.8.0</wro4j.version> <angularjs.version>1.4.9</angularjs.version> <bootstrap.version>3.3.7-1</bootstrap.version> <jquery.version>2.2.4</jquery.version> <jasmine.version>2.0.0</jasmine.version> </properties>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants