ludoch / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

jarSplittingExcludes Option Not Working #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the enableJarSplitting & jarSplittingExcludes configuartion settings in 
the pom file
2. Call mvn appengine:update

What is the expected output? What do you see instead?

I expect the build to exclude the specified files, however I get this error 
message instead:

    [INFO] Updating Google App Engine Application
    Bad argument: Unknown option: --jar_splitting_excludes
    usage: AppCfg [options] <action> [<app-dir>] [<argument>]
    ...
    options:
    ....
     --enable_jar_splitting
                        Split large jar files (> 10M) into smaller fragments.
     --jar_splitting_excludes=SUFFIXES
                        When --enable-jar-splitting is set, files that match
                        the list of comma separated SUFFIXES will be excluded
                        from all jars.

What version of the product are you using? On what operating system?

Maven v3.2.1
AppEngineMavenPlugin v1.9.6
Ubuntu 12.04
Java 1.7

Please provide any additional information below.

Here is the relevant snippet from the pom file:

      <plugin>
        <groupId>com.google.appengine</groupId>
        <artifactId>appengine-maven-plugin</artifactId>
        <version>${appengine.target.version}</version>
        <configuration>
            <enableJarSplitting>true</enableJarSplitting>
            <jarSplittingExcludes>englishRNN.ser.gz</jarSplittingExcludes>
        </configuration>
      </plugin>

Original issue reported on code.google.com by Dusan...@gmail.com on 4 Jun 2014 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by l...@google.com on 14 Jun 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Fixed. Will be in 1.9.7
Meanwhile you can do
$ git clone https://code.google.com/p/appengine-maven-plugin/
$ cd appengine-maven-plugin
$ mvn install
and change in you pom the plugin version to 1.9.7-SNAPSHOT  (keep the other 
artifacts the same, change only for the plugin)

Original comment by l...@google.com on 14 Jun 2014 at 4:53