Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run behind proxy #12

Open
gdima1 opened this issue Dec 2, 2013 · 4 comments
Open

Failed to run behind proxy #12

gdima1 opened this issue Dec 2, 2013 · 4 comments
Assignees
Labels

Comments

@gdima1
Copy link

gdima1 commented Dec 2, 2013

When running behind proxy I get an error building sample project with command:
mvn clean package -Djsse.enableSNIExtension=false

[INFO]
+=========================+
|VICTIMS-ENFORCER SETTINGS|
+=========================+
fingerprint = fatal
updates = auto
metadata = warning

[INFO] Last update was on Thu Jan 01 00:00:00 CST 1970. Checking for new vulnera
bilities at http://www.victi.ms/
[WARNING] Rule 0: com.redhat.victims.VictimsRule failed with message:
Failed to sync database

Maven settings are set to recognize proxy and work fine otherwise,

@gcmurphy
Copy link
Contributor

gcmurphy commented Dec 2, 2013

This came up in issue #8. Try:

-Djava.net.useSystemProxies=true

I'll make sure this flag is set by default in future releases.

@gdima1
Copy link
Author

gdima1 commented Dec 2, 2013

.mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}

Great.

Would be great to be able to specify such parameters to the plugin definition in the pom.

 

Thanks

On December 2, 2013 at 4:12 PM Grant Murphy [email protected] wrote:
This came up in issue #8. Try:
-Djava.net.useSystemProxies=true
I'll make sure this flag is set by default in future releases.
—Reply to this email directly or view it on GitHub.

 

@abn
Copy link
Member

abn commented Dec 3, 2013

@gdima1 another option if you want to do this in the pom file itself might be to use the Properties Maven Plugin

For example you can add the following into your build plugins section:

        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>properties-maven-plugin</artifactId>
          <executions>
            <execution>
              <goals>
                <goal>set-system-properties</goal>
              </goals>
              <configuration>
                <properties>
                  <property>
                    <name>java.net.useSystemProxies</name>
                    <value>true</value>
                  </property>
                </properties>
              </configuration>
            </execution>
          </executions>
        </plugin>

@abn
Copy link
Member

abn commented Dec 3, 2013

@gcmurphy Do you think we should do something similar to systemPropertyVariables configuration provided by Maven Surefire Plugin? Rather than defaulting to java.net.useSystemProxies=true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants