alexo / wro4j

New project location is:https://github.com/wro4j/wro4j
442 stars 110 forks source link

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

Open collinpeters opened 9 years ago

collinpeters commented 9 years ago

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 commented 9 years ago

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

jackyshuoyang commented 8 years ago

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

mrcage commented 8 years ago

Same for me. Any solution?

codegeekslab commented 7 years ago

Solution-Add this in your properties. `

UTF-8 UTF-8 1.8 1.8.0 1.4.9 3.3.7-1 2.2.4 2.0.0 `