Pre processor file not found since Wro4j 1.7.0

29 views
Skip to first unread message

richard...@gmail.com

unread,
Jun 18, 2013, 4:23:12 AM6/18/13
to wr...@googlegroups.com
Hi,

Using this configuration (pre-processor only):

<plugin>
   
<groupId>ro.isdc.wro4j</groupId>
   
<artifactId>wro4j-maven-plugin</artifactId>
   
<version>${wro4j.version}</version>
   
<executions>
       
<execution>
           
<id>validate-js</id>
           
<phase>compile</phase>
           
<goals>
               
<goal>jshint</goal>
           
</goals>
           
<configuration>
               
<targetGroups>js</targetGroups>
           
</configuration>
       
</execution>
   
</executions>
   
<configuration>
        ...
   
</configuration>
</plugin>

And moving to 1.7.0, Maven complains about FileNotFoundException on jshint-2.1.3.jar (webjars group). The file is present on the file system.
I understand that since 1.7.0, processors are used/upgraded in a different way. Is there any configuration to add?

Adding org.webjars:jshint manually (as a plugin or project dependency) doesn't solve the problem.

Thanks in advance and for the great work!


Alex Objelean

unread,
Jun 18, 2013, 4:41:46 AM6/18/13
to wr...@googlegroups.com, richard...@gmail.com
Hi Richard,

I assume you are using windows and the path to your maven repo contains spaces. Is it true?
If yes, this is a known issue which should have been fixed in latest webjars-locator-0.5 release. 
Please update the webjars-locator dependency version in your project and see if that fixes the problem. If it doesn't, please let me know.

Thanks,
Alex

richard...@gmail.com

unread,
Jun 18, 2013, 8:49:52 AM6/18/13
to wr...@googlegroups.com, richard...@gmail.com
Hi Alex,

I am, and you're absolutely right.
Updating to webjars-locator 0.5 solves the problem, I suppose dependency will be updated in Wro4j next release.

Thanks for the blazingly fast support!
Reply all
Reply to author
Forward
0 new messages