license-maven-plugin tries downloading license files even in offline mode
-------------------------------------------------------------------------

                 Key: MOJO-1674
                 URL: http://jira.codehaus.org/browse/MOJO-1674
             Project: Mojo
          Issue Type: Bug
          Components: license
            Reporter: Jaikiran


While building JBoss AS (which uses the license-maven-plugin), I disconnected 
my network and triggered maven in offline mode:

mvn -o clean install

The license-maven-plugin still went ahead trying to download the license and 
kept timing out (and subsequently trying to download it again for a next 
artifact). This resulted in the build taking over an hour (since it kept trying 
to download the license file for each of artifacts in the dependency).

The plugin shouldn't download the files in a offline mode. Probably, just log a 
message saying that it's skipping the download process.


 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to