The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.
Tag Class | Total number of occurrences | Tag strings used by tag class |
---|---|---|
@todo | 0 | @todo |
TODO | 1 | TODO |
Each tag is detailed below:
Number of occurrences found in the code: 1
org.whitesource.maven.WhitesourceMojo | Line |
---|---|
uncomment the code below and replace with the above when we need to support maven 3.1.1 (which migrated from Sonatype Aether to Eclipse Aether) RemoteRepository.Builder remoteRepositoryBuilder = new RemoteRepository.Builder(null, null, serviceUrl); RemoteRepository dummyRepo = remoteRepositoryBuilder.build(); RepositorySystemSession repositorySystemSession = session.getRepositorySession(); final Proxy proxy = repositorySystemSession.getProxySelector().getProxy(dummyRepo); if (proxy != null) { String username = null; String password = null; final Authentication auth = proxy.getAuthentication(); if (auth != null) { dummyRepo = remoteRepositoryBuilder.setAuthentication(auth).build(); AuthenticationContext authenticationContext = AuthenticationContext.forRepository( repositorySystemSession, dummyRepo ); try { auth.fill(authenticationContext, null, null); username = authenticationContext.get(AuthenticationContext.USERNAME, String.class); password = authenticationContext.get(AuthenticationContext.PASSWORD, String.class); } finally { AuthenticationContext.close(authenticationContext); } } service.getClient().setProxy(proxy.getHost(), proxy.getPort(), username, password); } | 133 |