make work with jakewins/brew maven plugin #4

Open
eeroan opened this Issue Jun 17, 2012 · 0 comments

Projects

None yet

1 participant

@eeroan
eeroan commented Jun 17, 2012

Currently having this error, when running mvn brew:optimize:

js: Error: Error evaluating module "undefined" at location "undefined":
Error in file: /.../requirejs.plugins/tpl-0.24.0.js. Conditional comment: //>>excludeStart('excludeTpl', pragmas.excludeTpl)
failed with this error: TypeError: Cannot read property "excludeTpl" from null
fileName:undefined
lineNumber: undefined
http://requirejs.org/docs/errors.html#defineerror (/var/folders/kd/nhdzps716w78sf3nhsgn3mw80000gn/T/build6149642382638994696js#7606)

pom.xml settings looks like this:

        <plugin>
            <groupId>com.voltvoodoo</groupId>
            <artifactId>brew</artifactId>
            <version>0.2.10</version>
            <executions>
                <execution>
                    <goals>
                        <goal>compile</goal>
                        <goal>optimize</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <optimizeSourceDir>${basedir}/src/main/webapp</optimizeSourceDir>
                <optimizeBuildDir>${basedir}/src/main/webapp</optimizeBuildDir>
                <optimizeOutputDir>${basedir}/src/main/webapp</optimizeOutputDir>
                    <!-- Set this to do auto-compilation when a file is changed <watch>true</watch> -->
        </configuration>
        </plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment