ludoch / appengine-maven-plugin

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

Proxy configuration incorrect? Bad argument: Unknown option: --proxy_host #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to provide my http(s) proxy using the configuration element like:

            <plugin>
                <groupId>com.google.appengine</groupId>
                <artifactId>appengine-maven-plugin</artifactId>
                <version>1.8.0</version>
                <configuration>
                    <disableUpdateCheck>true</disableUpdateCheck>
                    <proxyHost>http://somehost:8080</proxyHost>
                    <proxyHttps>http://somehost:8080</proxyHttps>
                </configuration>
            </plugin>

but when updating I get:

[DEBUG] Configuring mojo 
'com.google.appengine:appengine-maven-plugin:1.8.0:update' with basic 
configurator -->
[DEBUG]   (f) oauth2 = true
[DEBUG]   (f) pluginRepos = [central (http://repo.maven.apache.org/maven2, 
releases)]
[DEBUG]   (f) project = MavenProject: com.myproject:0.1-SNAPSHOT @ 
C:\java\workspace\myproject\pom.xml
[DEBUG]   (f) projectRepos = [central (http://repo.maven.apache.org/maven2, 
releases)]
[DEBUG]   (f) proxyHost = http://somehost:8080
[DEBUG]   (f) proxyHttps = http://somehost:8080
[DEBUG]   (f) repoSession = 
org.sonatype.aether.util.DefaultRepositorySystemSession@26c5f44e
[DEBUG] -- end configuration --
[INFO]
[INFO] Google App Engine Java SDK - Updating Application
[INFO]
[INFO] Retrieving Google App Engine Java SDK from Maven
[INFO] Updating Google App Engine Application
Bad argument: Unknown option: --proxy_host
usage: AppCfg [options] <action> [<app-dir>] [<argument>]

Original issue reported on code.google.com by mar...@overdijk.me on 16 May 2013 at 11:28

GoogleCodeExporter commented 9 years ago
Easy fix, thanks for letting us know.  Pushed 1.8.1-SNAPSHOT with the fix.  
Will be in 1.8.1.

Original comment by matts...@google.com on 29 May 2013 at 8:52

GoogleCodeExporter commented 9 years ago
I am getting below error:

[INFO] Updating Google App Engine Application
Bad argument: Unknown option: --proxy

For the configuration:

        <plugin>
          <groupId>com.google.appengine</groupId>
          <artifactId>appengine-maven-plugin</artifactId>
          <version>${appengine.target.version}</version>
          <configuration>
              <proxyHost>http://somehost:8080</proxyHost>
              <jvmFlags>
                <jvmFlag>-Xdebug</jvmFlag>
                <jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag>
                </jvmFlags>
          </configuration>
        </plugin>

Original comment by tamal.n...@gmail.com on 16 Sep 2013 at 8:59

GoogleCodeExporter commented 9 years ago
Yep gettting same error as #2 with appengine-maven-plugin version 1.8.4-maven3.0

Original comment by f.masu...@gmail.com on 30 Sep 2013 at 12:22