Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge remote-tracking branch 'origin/master' into squash-o-matic-output

Conflicts:
	nexus/nexus-api/pom.xml
	nexus/nexus-api/src/test/java/org/sonatype/nexus/proxy/item/DummyRepositoryItemUidFactory.java
	nexus/nexus-app/pom.xml
	nexus/nexus-configuration/pom.xml
	nexus/nexus-configuration/src/test/java/org/sonatype/nexus/configuration/application/SimpleApplicationConfiguration.java
	nexus/nexus-configuration/src/test/java/org/sonatype/nexus/configuration/application/upgrade/DummyApplicationStatusSource.java
	nexus/nexus-plugin-manager/pom.xml
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/configuration/SimpleApplicationConfiguration.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/configuration/SimpleProxyApplicationConfiguration.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/configuration/SimpleSecureApplicationConfiguration.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/AttributeStoragePerformanceTestSupport.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/DefaultFSAttributeStoragePerformanceIT.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/HashMapAttributeStoragePerformanceIT.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/JacksonJSONFSAttributeStoragePerformanceIT.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/internal/OrderedRunner.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/internal/TMockRepository.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/attributes/perf/internal/TestRepositoryItemUid.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/item/DummyRepositoryItemUidFactory.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/storage/local/fs/perf/DefaultFSLocalRepositoryStoragePerformance2IT.java
	nexus/nexus-proxy/src/test/java/org/sonatype/nexus/proxy/storage/local/fs/perf/DefaultFSLocalRepositoryStoragePerformanceIT.java
	nexus/nexus-utils/pom.xml
	nexus/pom.xml
  • Loading branch information...
commit a830402f45253f64751d5a2ceecccc93808fa848 2 parents cbba95a + 06909c4
Tamas Cservenak authored

Showing 302 changed files with 339 additions and 11,629 deletions. Show diff stats Hide diff stats

  1. 2  header-eplv1.txt → header.txt
  2. 1  nexus-maven-plugins/nexus-maven-plugin/.gitignore
  3. 510  nexus-maven-plugins/nexus-maven-plugin/pom.xml
  4. 493  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/AbstractNexusMojo.java
  5. 677  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/AbstractDeployMojo.java
  6. 251  ...n-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/DeployLifecycleParticipant.java
  7. 181  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/DeployMojo.java
  8. 47  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/DeployStagedMojo.java
  9. 27  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/Zapper.java
  10. 112  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/ZapperImpl.java
  11. 128  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/deploy/ZapperRequest.java
  12. 739  ...ven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/discovery/DefaultNexusDiscovery.java
  13. 65  ...-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/discovery/DefaultTestClientManager.java
  14. 104  ...maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/discovery/NexusConnectionInfo.java
  15. 31  ...n-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/discovery/NexusDiscoveryException.java
  16. 34  ...n-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/discovery/NexusInstanceDiscoverer.java
  17. 22  ...en-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/discovery/NexusTestClientManager.java
  18. 35  ...-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/ClientConfiguration.java
  19. 25  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/ClientFactory.java
  20. 70  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/ClientFactoryImpl.java
  21. 469  ...ugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/DownloadSettingsTemplateMojo.java
  22. 60  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/SettingsMap.java
  23. 25  ...ins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/TemplateInterpolatorCustomizer.java
  24. 23  ...nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/usertoken/MasterPasswordEncryption.java
  25. 74  ...s-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/usertoken/MasterPasswordEncryptionImpl.java
  26. 25  ...-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/usertoken/UserTokenClient.java
  27. 100  ...gins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/usertoken/UserTokenClientImpl.java
  28. 55  ...ven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/settings/usertoken/UserTokenDTO.java
  29. 144  ...gin/src/main/java/org/sonatype/nexus/plugin/settings/usertoken/UserTokenTemplateInterpolatorCustomizer.java
  30. 344  ...s-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/AbstractStagingMojo.java
  31. 42  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/BuildPromotionMojo.java
  32. 282  ...en-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/CloseStageRepositoryMojo.java
  33. 109  ...ven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/DropStageRepositoryMojo.java
  34. 82  ...maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/ListStageProfilesMojo.java
  35. 88  ...n-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/ListStageRepositoriesMojo.java
  36. 279  ...n-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/PromoteToStageProfileMojo.java
  37. 139  ...-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/ReleaseStageRepositoryMojo.java
  38. 104  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/staging/StagingDomUtils.java
  39. 83  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/util/JlinePrompter.java
  40. 51  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/util/PromptUtil.java
  41. 48  nexus-maven-plugins/nexus-maven-plugin/src/main/resources/META-INF/shaded-components.xml
  42. 0  nexus-maven-plugins/nexus-maven-plugin/src/main/resources/connectionTest/default.vocabulary.properties
  43. 1  nexus-maven-plugins/nexus-maven-plugin/src/main/resources/connectionTest/vocabulary.lst
  44. 52  nexus-maven-plugins/nexus-maven-plugin/src/site/apt/index.apt
  45. 88  nexus-maven-plugins/nexus-maven-plugin/src/site/apt/usage-settings.apt
  46. 274  nexus-maven-plugins/nexus-maven-plugin/src/site/apt/usage-staging.apt
  47. 35  nexus-maven-plugins/nexus-maven-plugin/src/site/site.xml
  48. 226  nexus-maven-plugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/ExpectPrompter.java
  49. 253  nexus-maven-plugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/NexusMojoTestSupport.java
  50. 122  nexus-maven-plugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/StringBuilderLog.java
  51. 326  ...ugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/deploy/DeployLifecycleParticipantTest.java
  52. 68  nexus-maven-plugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/deploy/StringBufferLogger.java
  53. 156  ...lugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/discovery/AbstractNexusDiscoveryTest.java
  54. 489  ...exus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/discovery/DefaultNexusDiscovery_DiscoverTest.java
  55. 226  ...exus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/discovery/DefaultNexusDiscovery_FillAuthTest.java
  56. 34  ...gins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/discovery/fixture/ClientManagerFixture.java
  57. 28  ...s/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/discovery/fixture/DefaultDiscoveryFixture.java
  58. 414  ...s/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/settings/DownloadSettingsTemplateMojoTest.java
  59. 117  ...src/test/java/org/sonatype/nexus/plugin/settings/usertoken/UserTokenTemplateInterpolatorCustomizerTest.java
  60. 511  ...lugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/staging/CloseStageRepositoryMojoTest.java
  61. 155  ...plugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/staging/DropStageRepositoryMojoTest.java
  62. 330  ...ugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/staging/ListStageRepositoriesMojoTest.java
  63. 404  ...ugins/nexus-maven-plugin/src/test/java/org/sonatype/nexus/plugin/staging/PromoteToStageProfileMojoTest.java
  64. 6  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/drop/drop-repo-new.xml
  65. 6  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/drop/drop-repo-old.xml
  66. 25  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/drop/profile-list-dropped.xml
  67. 26  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/drop/profile-list.xml
  68. 26  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/drop/profile-repo-list-dropped.xml
  69. 37  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/drop/profile-repo-list.xml
  70. 6  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/finish/finish-repo-new.xml
  71. 6  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/finish/finish-repo-old.xml
  72. 26  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/finish/profile-list-closed.xml
  73. 25  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/finish/profile-list.xml
  74. 37  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/finish/profile-repo-list-closed.xml
  75. 26  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/finish/profile-repo-list.xml
  76. 25  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/list/profile-list-closed.xml
  77. 28  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/list/profile-list.xml
  78. 26  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/list/profile-repo-list-closed.xml
  79. 48  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/list/profile-repo-list.xml
  80. 83  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/promoteToGroup/profile-list-result.xml
  81. 83  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/promoteToGroup/profile-list.xml
  82. 26  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/promoteToGroup/profile-repo-list.xml
  83. 10  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/promoteToGroup/promote-to-group-request.xml
  84. 10  nexus-maven-plugins/nexus-maven-plugin/src/test/resources/settings/settings-template-testToken.xml
  85. 331  nexus-maven-plugins/pom.xml
  86. 4  nexus-plugin-archetype/pom.xml
  87. 2  nexus-plugin-archetype/src/main/resources/archetype-resources/pom.xml
  88. 35  nexus-runtime-platform/pom.xml
  89. 1  nexus/nexus-bootstrap/pom.xml
  90. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/Launcher.java
  91. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/ShutdownHelper.java
  92. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/jsw/JswLauncher.java
  93. 3  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/jsw/JswShutdownDelegate.java
  94. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/jsw/WrapperListenerSupport.java
  95. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/jsw/WrapperLog.java
  96. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/log/LogProxy.java
  97. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/log/Slf4jLogProxy.java
  98. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/log/SystemOutLogProxy.java
  99. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/CommandMonitorTalker.java
  100. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/CommandMonitorThread.java
  101. 3  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/KeepAliveThread.java
  102. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/commands/ExitCommand.java
  103. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/commands/HaltCommand.java
  104. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/commands/PingCommand.java
  105. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/commands/StopApplicationCommand.java
  106. 2  nexus/nexus-bootstrap/src/main/java/org/sonatype/nexus/bootstrap/monitor/commands/StopMonitorCommand.java
  107. 13  nexus/nexus-bootstrap/src/main/resources/org/sonatype/nexus/bootstrap/default.properties
  108. 3  nexus/nexus-bootstrap/src/test/java/org/sonatype/nexus/bootstrap/monitor/KeepAliveThreadTest.java
  109. 1  nexus/nexus-client-core-testsuite/pom.xml
  110. 2  nexus/nexus-client-core-testsuite/src/test/java/org/sonatype/nexus/client/testsuite/ArtifactMavenIT.java
  111. 2  nexus/nexus-client-core-testsuite/src/test/java/org/sonatype/nexus/client/testsuite/ContentIT.java
  112. 2  nexus/nexus-client-core-testsuite/src/test/java/org/sonatype/nexus/client/testsuite/ErrorHandlingIT.java
  113. 2  nexus/nexus-client-core-testsuite/src/test/java/org/sonatype/nexus/client/testsuite/NexusClientITSupport.java
  114. 2  nexus/nexus-client-core-testsuite/src/test/java/org/sonatype/nexus/client/testsuite/RepositoriesIT.java
  115. 2  nexus/nexus-client-core-testsuite/src/test/java/org/sonatype/nexus/client/testsuite/SecurityIT.java
  116. 1  nexus/nexus-client-core/pom.xml
  117. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/Condition.java
  118. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/NexusClient.java
  119. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/NexusStatus.java
  120. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/condition/EditionConditions.java
  121. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/condition/LogicalConditions.java
  122. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/condition/NexusStatusConditions.java
  123. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/condition/VersionConditions.java
  124. 2  ...s-client-core/src/main/java/org/sonatype/nexus/client/core/exception/NexusClientErrorResponseException.java
  125. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/exception/NexusClientException.java
  126. 2  .../nexus-client-core/src/main/java/org/sonatype/nexus/client/core/exception/NexusClientNotFoundException.java
  127. 2  .../nexus-client-core/src/main/java/org/sonatype/nexus/client/core/exception/NexusClientResponseException.java
  128. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/spi/SubsystemFactory.java
  129. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/spi/SubsystemSupport.java
  130. 2  ...us-client-core/src/main/java/org/sonatype/nexus/client/core/spi/subsystem/repository/RepositoryFactory.java
  131. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/Entity.java
  132. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/EntityRepository.java
  133. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/ServerConfiguration.java
  134. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/Utilities.java
  135. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/artifact/ArtifactMaven.java
  136. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/artifact/ResolveRequest.java
  137. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/artifact/ResolveResponse.java
  138. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/config/HttpProxy.java
  139. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/config/OptionalSegment.java
  140. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/config/Segment.java
  141. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/content/Content.java
  142. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/content/Location.java
  143. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/GroupRepository.java
  144. 2  ...s/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/HostedRepository.java
  145. 10  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/ProxyRepository.java
  146. 2  ...us-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/ProxyRepositoryStatus.java
  147. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/Repositories.java
  148. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/Repository.java
  149. 2  ...s/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/RepositoryStatus.java
  150. 2  .../nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/VirtualRepository.java
  151. 2  ...ient-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/maven/MavenGroupRepository.java
  152. 2  ...ent-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/maven/MavenHostedRepository.java
  153. 2  ...-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/maven/MavenM1VirtualRepository.java
  154. 2  ...ient-core/src/main/java/org/sonatype/nexus/client/core/subsystem/repository/maven/MavenProxyRepository.java
  155. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/security/Role.java
  156. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/security/Roles.java
  157. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/security/User.java
  158. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/core/subsystem/security/Users.java
  159. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/msg/ErrorMessage.java
  160. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/msg/ErrorResponse.java
  161. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/AbstractNexusClient.java
  162. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/AbstractNexusClientFactory.java
  163. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/AbstractXStreamNexusClient.java
  164. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/NexusXStreamFactory.java
  165. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/XStreamXmlProvider.java
  166. 2  ...client-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/JerseyArtifactMaven.java
  167. 2  ...nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/JerseyContent.java
  168. 2  ...client-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/JerseyEntitySupport.java
  169. 2  ...-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/JerseyServerConfiguration.java
  170. 2  ...xus-client-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/JerseyUtilities.java
  171. 2  ...ent-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/config/JerseyHttpProxy.java
  172. 2  ...main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/config/JerseyOptionalSegmentSupport.java
  173. 2  ...ore/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/config/JerseySegmentSupport.java
  174. 2  ...rc/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyGroupRepository.java
  175. 2  .../java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyGroupRepositoryFactory.java
  176. 2  ...c/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyHostedRepository.java
  177. 2  ...java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyHostedRepositoryFactory.java
  178. 10  ...rc/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyProxyRepository.java
  179. 2  .../java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyProxyRepositoryFactory.java
  180. 2  ...e/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyRepositories.java
  181. 2  ...ore/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyRepository.java
  182. 2  .../main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyVirtualRepository.java
  183. 2  ...ava/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/JerseyVirtualRepositoryFactory.java
  184. 2  ...ain/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/ProxyRepositoryStatusImpl.java
  185. 2  ...src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/RepositoryStatusImpl.java
  186. 2  ...a/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenGroupRepository.java
  187. 2  ...onatype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenGroupRepositoryFactory.java
  188. 2  .../org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenHostedRepository.java
  189. 2  ...natype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenHostedRepositoryFactory.java
  190. 2  ...g/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenM1VirtualRepository.java
  191. 2  ...ype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenM1VirtualRepositoryFactory.java
  192. 2  ...a/org/sonatype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenProxyRepository.java
  193. 2  ...onatype/nexus/client/internal/rest/jersey/subsystem/repository/maven/JerseyMavenProxyRepositoryFactory.java
  194. 2  ...client-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/security/JerseyRole.java
  195. 2  ...lient-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/security/JerseyRoles.java
  196. 2  ...client-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/security/JerseyUser.java
  197. 2  ...lient-core/src/main/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/security/JerseyUsers.java
  198. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/util/Check.java
  199. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/internal/util/Template.java
  200. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/AuthenticationInfo.java
  201. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/BaseUrl.java
  202. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/ConnectionInfo.java
  203. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/NexusClientFactory.java
  204. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/Protocol.java
  205. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/ProxyInfo.java
  206. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/UsernamePasswordAuthenticationInfo.java
  207. 2  ...-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/ContextAwareUniformInterfaceException.java
  208. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/JerseyNexusClient.java
  209. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/JerseyNexusClientFactory.java
  210. 2  nexus/nexus-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/NexusClientHandlerException.java
  211. 2  ...core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyArtifactMavenSubsystemFactory.java
  212. 2  ...lient-core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyContentSubsystemFactory.java
  213. 2  ...us-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyRepositoriesFactory.java
  214. 2  ...-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyRolesSubsystemFactory.java
  215. 2  ...nt-core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyServerConfigurationFactory.java
  216. 2  ...-client-core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyUsersSubsystemFactory.java
  217. 2  ...ent-core/src/main/java/org/sonatype/nexus/client/rest/jersey/subsystem/JerseyUtilitiesSubsystemFactory.java
  218. 2  nexus/nexus-client-core/src/main/java/org/sonatype/plexus/rest/xstream/LookAheadStreamReader.java
  219. 2  nexus/nexus-client-core/src/main/java/org/sonatype/plexus/rest/xstream/xml/LookAheadXppDriver.java
  220. 2  nexus/nexus-client-core/src/main/java/org/sonatype/plexus/rest/xstream/xml/LookAheadXppReader.java
  221. 2  ...core/src/test/java/org/sonatype/nexus/client/internal/rest/jersey/subsystem/config/JerseyHttpProxyTest.java
  222. 2  nexus/nexus-client-core/src/test/java/org/sonatype/nexus/client/rest/BaseUrlTest.java
  223. 2  nexus/nexus-client-core/src/test/java/org/sonatype/nexus/client/rest/jersey/BasicJerseyNexusClientIT.java
  224. 2  nexus/nexus-client-core/src/test/java/org/sonatype/nexus/client/rest/jersey/JerseyNexusClientFactoryTest.java
  225. 2  nexus/nexus-client-core/src/test/java/org/sonatype/nexus/client/rest/jersey/JerseyNexusClientTestSupport.java
  226. 2  nexus/nexus-clients/nexus-rest-client-java/src/main/java/org/sonatype/nexus/client/NexusClient.java
  227. 2  nexus/nexus-clients/nexus-rest-client-java/src/main/java/org/sonatype/nexus/client/NexusClientException.java
  228. 2  .../nexus-clients/nexus-rest-client-java/src/main/java/org/sonatype/nexus/client/NexusConnectionException.java
  229. 2  nexus/nexus-clients/nexus-rest-client-java/src/main/java/org/sonatype/nexus/client/rest/HttpNxBasicHelper.java
  230. 2  nexus/nexus-clients/nexus-rest-client-java/src/main/java/org/sonatype/nexus/client/rest/NexusRestClient.java
  231. 2  nexus/nexus-clients/nexus-rest-client-java/src/main/java/org/sonatype/nexus/client/rest/RestClientHelper.java
  232. 2  ...exus-restlight-client-common/src/main/java/org/sonatype/nexus/restlight/common/AbstractRESTLightClient.java
  233. 2  ...-clients/nexus-restlight-client-common/src/main/java/org/sonatype/nexus/restlight/common/NxBasicScheme.java
  234. 2  ...ht-clients/nexus-restlight-client-common/src/main/java/org/sonatype/nexus/restlight/common/ProxyConfig.java
  235. 2  ...xus-restlight-client-common/src/main/java/org/sonatype/nexus/restlight/common/RESTLightClientException.java
  236. 2  ...-restlight-client-common/src/test/java/org/sonatype/nexus/restlight/common/AbstractRESTLightClientTest.java
  237. 2  ...lients/nexus-restlight-client-common/src/test/java/org/sonatype/nexus/restlight/common/ProxyConfigTest.java
  238. 2  ...stlight-clients/nexus-restlight-core-client/src/main/java/org/sonatype/nexus/restlight/core/CoreClient.java
  239. 2  ...stlight-clients/nexus-restlight-core-client/src/main/java/org/sonatype/nexus/restlight/core/PlexusRole.java
  240. 2  ...stlight-clients/nexus-restlight-core-client/src/main/java/org/sonatype/nexus/restlight/core/PlexusUser.java
  241. 2  ...xus-restlight-clients/nexus-restlight-core-client/src/main/java/org/sonatype/nexus/restlight/core/Role.java
  242. 2  ...xus-restlight-clients/nexus-restlight-core-client/src/main/java/org/sonatype/nexus/restlight/core/User.java
  243. 2  ...stlight-clients/nexus-restlight-core-client/src/main/java/org/sonatype/nexus/restlight/core/UserToRole.java
  244. 13  ...s/nexus-restlight-clients/nexus-restlight-core-client/src/main/resources/core/default.vocabulary.properties
  245. 2  ...ght-clients/nexus-restlight-core-client/src/test/java/org/sonatype/nexus/restlight/core/CoreClientTest.java
  246. 2  ...us-restlight-m2-settings-client/src/main/java/org/sonatype/nexus/restlight/m2settings/M2SettingsClient.java
  247. 13  ...ight-clients/nexus-restlight-m2-settings-client/src/main/resources/m2settings/default.vocabulary.properties
  248. 2  ...estlight-m2-settings-client/src/test/java/org/sonatype/nexus/restlight/m2settings/M2SettingsClientTest.java
  249. 2  ...ight-clients/nexus-restlight-stage-client/src/main/java/org/sonatype/nexus/restlight/stage/StageClient.java
  250. 2  ...ght-clients/nexus-restlight-stage-client/src/main/java/org/sonatype/nexus/restlight/stage/StageProfile.java
  251. 2  ...-clients/nexus-restlight-stage-client/src/main/java/org/sonatype/nexus/restlight/stage/StageRepository.java
  252. 2  ...t-clients/nexus-restlight-stage-client/src/main/java/org/sonatype/nexus/restlight/stage/VocabularyKeys.java
  253. 13  ...s/nexus-restlight-clients/nexus-restlight-stage-client/src/main/resources/stage/1.3.2.vocabulary.properties
  254. 13  ...s/nexus-restlight-clients/nexus-restlight-stage-client/src/main/resources/stage/1.7.2.vocabulary.properties
  255. 13  ...nexus-restlight-clients/nexus-restlight-stage-client/src/main/resources/stage/default.vocabulary.properties
  256. 2  ...-clients/nexus-restlight-stage-client/src/test/java/org/sonatype/nexus/restlight/stage/StageClientTest.java
  257. 2  ...s/nexus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/AbstractRESTTest.java
  258. 2  ...-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/AbstractRESTTestFixture.java
  259. 2  ...us-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/ConversationalFixture.java
  260. 2  ...ents/nexus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/DELETEFixture.java
  261. 2  ...clients/nexus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/GETFixture.java
  262. 2  ...xus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/NxBasicAuthenticator.java
  263. 2  ...lients/nexus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/POSTFixture.java
  264. 2  ...clients/nexus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/PUTFixture.java
  265. 2  ...ts/nexus-restlight-test-harness/src/main/java/org/sonatype/nexus/restlight/testharness/RESTTestFixture.java
  266. 2  ...ht-clients/nexus-restlight-test-harness/src/test/java/org/sonatype/nexus/restlight/testharness/AppTest.java
  267. 2  .../nexus-restlight-test-harness/src/test/java/org/sonatype/nexus/restlight/testharness/DELETEFixtureTest.java
  268. 2  ...nts/nexus-restlight-test-harness/src/test/java/org/sonatype/nexus/restlight/testharness/GETFixtureTest.java
  269. 2  ...ts/nexus-restlight-test-harness/src/test/java/org/sonatype/nexus/restlight/testharness/POSTFixtureTest.java
  270. 2  ...nts/nexus-restlight-test-harness/src/test/java/org/sonatype/nexus/restlight/testharness/PUTFixtureTest.java
  271. 1  nexus/nexus-clients/pom.xml
  272. 1  nexus/nexus-compat/pom.xml
  273. 2  nexus/nexus-compat/src/main/java/org/sonatype/nexus/compat/EventBusApplicationEventMulticaster.java
  274. 2  nexus/nexus-compat/src/main/java/org/sonatype/plexus/appevents/AbstractApplicationEventListener.java
  275. 2  nexus/nexus-compat/src/main/java/org/sonatype/plexus/appevents/AbstractEvent.java
  276. 2  nexus/nexus-compat/src/main/java/org/sonatype/plexus/appevents/ApplicationEventMulticaster.java
  277. 2  nexus/nexus-compat/src/main/java/org/sonatype/plexus/appevents/Event.java
  278. 2  nexus/nexus-compat/src/main/java/org/sonatype/plexus/appevents/EventListener.java
  279. 2  nexus/nexus-compat/src/main/java/org/sonatype/plexus/appevents/EventMulticaster.java
  280. 2  nexus/nexus-compat/src/main/java/org/sonatype/security/events/AuthorizationConfigurationChangedEvent.java
  281. 2  nexus/nexus-compat/src/main/java/org/sonatype/security/events/SecurityConfigurationChangedEvent.java
  282. 2  nexus/nexus-compat/src/main/java/org/sonatype/security/events/UserPrincipalsExpiredEvent.java
  283. 1  nexus/nexus-configuration-model/pom.xml
  284. 2  nexus/nexus-configuration-model/src/main/java/org/sonatype/nexus/configuration/Configurable.java
  285. 2  nexus/nexus-configuration-model/src/main/java/org/sonatype/nexus/configuration/CoreConfiguration.java
  286. 2  nexus/nexus-configuration-model/src/main/java/org/sonatype/nexus/configuration/ExternalConfiguration.java
  287. 2  nexus/nexus-configuration-model/src/main/java/org/sonatype/nexus/configuration/RevertableConfiguration.java
  288. 13  nexus/nexus-core/pom.xml
  289. 2  nexus/nexus-core/src/main/java/org/apache/commons/httpclient/CustomMultiThreadedHttpConnectionManager.java
  290. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/binders/NexusAnnotatedBeanModule.java
  291. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/binders/NexusTypeBinder.java
  292. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/DetailedNexusType.java
  293. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/MarkedNexusTypes.java
  294. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/NexusType.java
  295. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/NexusTypeCache.java
  296. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/NexusTypeListener.java
  297. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/NexusTypeVisitor.java
  298. 2  nexus/nexus-core/src/main/java/org/sonatype/guice/nexus/scanners/RepositoryTypeImpl.java
  299. 2  nexus/nexus-core/src/main/java/org/sonatype/nexus/AbstractApplicationStatusSource.java
  300. 2  nexus/nexus-core/src/main/java/org/sonatype/nexus/ApplicationStatusSource.java
  301. 2  nexus/nexus-core/src/main/java/org/sonatype/nexus/DefaultNexus.java
2  header-eplv1.txt → header.txt
... ...
@@ -1,5 +1,5 @@
1 1
 Sonatype Nexus (TM) Open Source Version
2  
-Copyright (c) 2007-${year} Sonatype, Inc.
  2
+Copyright (c) 2007-2012 Sonatype, Inc.
3 3
 All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
4 4
 
5 5
 This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
1  nexus-maven-plugins/nexus-maven-plugin/.gitignore
... ...
@@ -1 +0,0 @@
1  
-target
510  nexus-maven-plugins/nexus-maven-plugin/pom.xml
... ...
@@ -1,510 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<!--
3  
-
4  
-    Sonatype Nexus (TM) Open Source Version
5  
-    Copyright (c) 2007-2012 Sonatype, Inc.
6  
-    All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
7  
-
8  
-    This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
9  
-    which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
10  
-
11  
-    Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
12  
-    of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
13  
-    Eclipse Foundation. All other trademarks are the property of their respective owners.
14  
-
15  
--->
16  
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
17  
-  <modelVersion>4.0.0</modelVersion>
18  
-  <parent>
19  
-    <groupId>org.sonatype.nexus</groupId>
20  
-    <artifactId>nexus-maven-plugins-parent</artifactId>
21  
-    <version>2.2-SNAPSHOT</version>
22  
-  </parent>
23  
-
24  
-  <groupId>org.sonatype.plugins</groupId>
25  
-  <artifactId>nexus-maven-plugin</artifactId>
26  
-  <packaging>maven-plugin</packaging>
27  
-  <name>Nexus : Maven Plugins : Nexus</name>
28  
-
29  
-  <description>Maven plugin used to interact with Nexus and Nexus Professional instances.</description>
30  
-
31  
-  <mailingLists>
32  
-    <mailingList>
33  
-      <name>Nexus Users</name>
34  
-      <subscribe>nexus-user-subscribe@sonatype.org</subscribe>
35  
-      <unsubscribe>nexus-user-unsubscribe@sonatype.org</unsubscribe>
36  
-      <post>nexus-user@sonatype.org</post>
37  
-      <archive>http://nexus.sonatype.org/mailing-list-user-archives.html</archive>
38  
-    </mailingList>
39  
-    <mailingList>
40  
-      <name>Nexus Professional Users</name>
41  
-      <subscribe>nexus-pro-users-subscribe@sonatype.org</subscribe>
42  
-      <unsubscribe>nexus-pro-users-unsubscribe@sonatype.org</unsubscribe>
43  
-      <post>nexus-pro-users@sonatype.org</post>
44  
-      <archive>http://nexus.sonatype.org/mailing-list-pro-user-archives.html</archive>
45  
-    </mailingList>
46  
-    <mailingList>
47  
-      <name>Nexus Developers</name>
48  
-      <subscribe>nexus-dev-subscribe@sonatype.org</subscribe>
49  
-      <unsubscribe>nexus-dev-unsubscribe@sonatype.org</unsubscribe>
50  
-      <post>nexus-dev@sonatype.org</post>
51  
-      <archive>http://nexus.sonatype.org/mailing-list-dev-archives.html</archive>
52  
-    </mailingList>
53  
-    <mailingList>
54  
-      <name>Nexus SCM</name>
55  
-      <subscribe>nexus-scm-subscribe@sonatype.org</subscribe>
56  
-      <unsubscribe>nexus-scm-unsubscribe@sonatype.org</unsubscribe>
57  
-    </mailingList>
58  
-    <mailingList>
59  
-      <name>Nexus Issues</name>
60  
-      <subscribe>nexus-issues-subscribe@sonatype.org</subscribe>
61  
-      <unsubscribe>nexus-issues-unsubscribe@sonatype.org</unsubscribe>
62  
-    </mailingList>
63  
-    <mailingList>
64  
-      <name>Nexus CI</name>
65  
-      <subscribe>nexus-ci-subscribe@sonatype.org</subscribe>
66  
-      <unsubscribe>nexus-ci-unsubscribe@sonatype.org</unsubscribe>
67  
-    </mailingList>
68  
-  </mailingLists>
69  
-
70  
-  <dependencies>
71  
-    <!-- NOTE: These MUST BE at the top, or we get NoSuchFieldException in the Xerces bundled with the JDK during testing... -->
72  
-    <dependency>
73  
-      <groupId>org.sonatype.nexus.restlight</groupId>
74  
-      <artifactId>nexus-restlight-test-harness</artifactId>
75  
-      <version>${nexus.version}</version>
76  
-      <scope>test</scope>
77  
-    </dependency>
78  
-    <dependency>
79  
-      <groupId>org.jdom</groupId>
80  
-      <artifactId>jdom</artifactId>
81  
-      <version>1.1</version>
82  
-      <scope>test</scope>
83  
-    </dependency>
84  
-    <dependency>
85  
-      <groupId>com.ibm.icu</groupId>
86  
-      <artifactId>icu4j</artifactId>
87  
-      <version>2.6.1</version>
88  
-    </dependency>
89  
-    <!-- end of required ordering... -->
90  
-
91  
-    <!-- mojo-commons shall be used by this (and any other Sonatype) Maven plugin -->
92  
-    <dependency>
93  
-      <groupId>org.sonatype.maven</groupId>
94  
-      <artifactId>mojo-commons</artifactId>
95  
-      <version>1.0</version>
96  
-    </dependency>
97  
-    
98  
-    <!-- Logging -->
99  
-    <dependency>
100  
-      <groupId>org.slf4j</groupId>
101  
-      <artifactId>slf4j-api</artifactId>
102  
-    </dependency>
103  
-    <dependency>
104  
-      <groupId>org.slf4j</groupId>
105  
-      <artifactId>jcl-over-slf4j</artifactId>
106  
-    </dependency>
107  
-    <dependency>
108  
-      <groupId>ch.qos.logback</groupId>
109  
-      <artifactId>logback-core</artifactId>
110  
-      <scope>compile</scope> <!-- We need it "compile" as we are installing it, it's set as "runtime" in parent -->
111  
-    </dependency>
112  
-    <dependency>
113  
-      <groupId>ch.qos.logback</groupId>
114  
-      <artifactId>logback-classic</artifactId>
115  
-      <scope>compile</scope> <!-- We need it "compile" as we are installing it, it's set as "runtime" in parent -->
116  
-    </dependency>
117  
-
118  
-    <!-- Zapper and it's transport (HC4 + Charger) -->
119  
-    <dependency>
120  
-      <groupId>org.sonatype.spice.zapper</groupId>
121  
-      <artifactId>spice-zapper</artifactId>
122  
-      <version>1.0</version>
123  
-    </dependency>
124  
-    <dependency>
125  
-      <groupId>org.apache.httpcomponents</groupId>
126  
-      <artifactId>httpclient</artifactId>
127  
-      <version>4.1.3</version>
128  
-      <exclusions>
129  
-        <exclusion>
130  
-          <artifactId>commons-logging</artifactId>
131  
-          <groupId>commons-logging</groupId>
132  
-        </exclusion>
133  
-      </exclusions>
134  
-    </dependency>
135  
-    <dependency>
136  
-      <groupId>org.sonatype.sisu</groupId>
137  
-      <artifactId>sisu-charger</artifactId>
138  
-      <version>1.1</version>
139  
-    </dependency>
140  
-
141  
-    <!-- Plexus container -->
142  
-    <dependency>
143  
-      <groupId>org.sonatype.sisu</groupId>
144  
-      <artifactId>sisu-inject-plexus</artifactId>
145  
-      <scope>provided</scope>
146  
-    </dependency>
147  
-    <dependency>
148  
-      <groupId>com.google.guava</groupId>
149  
-      <artifactId>guava</artifactId>
150  
-    </dependency>
151  
-    <dependency>
152  
-      <groupId>org.codehaus.plexus</groupId>
153  
-      <artifactId>plexus-component-annotations</artifactId>
154  
-    </dependency>
155  
-    <dependency>
156  
-      <groupId>org.codehaus.plexus</groupId>
157  
-      <artifactId>plexus-utils</artifactId>
158  
-    </dependency>
159  
-    <dependency>
160  
-      <groupId>org.codehaus.plexus</groupId>
161  
-      <artifactId>plexus-interactivity-api</artifactId>
162  
-      <version>1.0-alpha-6</version>
163  
-      <exclusions>
164  
-        <exclusion>
165  
-          <artifactId>plexus-utils</artifactId>
166  
-          <groupId>plexus</groupId>
167  
-        </exclusion>
168  
-        <exclusion>
169  
-          <artifactId>plexus-container-default</artifactId>
170  
-          <groupId>org.codehaus.plexus</groupId>
171  
-        </exclusion>
172  
-        <exclusion>
173  
-          <artifactId>plexus-component-api</artifactId>
174  
-          <groupId>org.codehaus.plexus</groupId>
175  
-        </exclusion>
176  
-      </exclusions>
177  
-    </dependency>
178  
-    <dependency>
179  
-      <groupId>jline</groupId>
180  
-      <artifactId>jline</artifactId>
181  
-      <version>1.0</version>
182  
-    </dependency>
183  
-    <dependency>
184  
-      <groupId>org.codehaus.plexus</groupId>
185  
-      <artifactId>plexus-interactivity-jline</artifactId>
186  
-      <version>1.0-alpha-6</version>
187  
-      <exclusions>
188  
-        <exclusion>
189  
-          <groupId>jline</groupId>
190  
-          <artifactId>jline</artifactId>
191  
-        </exclusion>
192  
-        <exclusion>
193  
-          <artifactId>plexus-utils</artifactId>
194  
-          <groupId>plexus</groupId>
195  
-        </exclusion>
196  
-        <exclusion>
197  
-          <artifactId>plexus-container-default</artifactId>
198  
-          <groupId>org.codehaus.plexus</groupId>
199  
-        </exclusion>
200  
-        <exclusion>
201  
-          <artifactId>plexus-component-api</artifactId>
202  
-          <groupId>org.codehaus.plexus</groupId>
203  
-        </exclusion>
204  
-        <exclusion>
205  
-          <groupId>org.sonatype.plexus</groupId>
206  
-          <artifactId>plexus-sec-dispatcher</artifactId>
207  
-        </exclusion>
208  
-      </exclusions>
209  
-    </dependency>
210  
-    <dependency>
211  
-      <groupId>org.sonatype.plexus</groupId>
212  
-      <artifactId>plexus-cipher</artifactId>
213  
-      <version>1.4</version>
214  
-    </dependency>
215  
-    <dependency>
216  
-      <groupId>org.sonatype.plexus</groupId>
217  
-      <artifactId>plexus-sec-dispatcher</artifactId>
218  
-      <version>1.4</version>
219  
-    </dependency>
220  
-    <dependency>
221  
-      <groupId>org.codehaus.plexus</groupId>
222  
-      <artifactId>plexus-interpolation</artifactId>
223  
-      <version>1.15</version>
224  
-    </dependency>
225  
-    <dependency>
226  
-      <groupId>org.jsoup</groupId>
227  
-      <artifactId>jsoup</artifactId>
228  
-      <version>1.7.1</version>
229  
-    </dependency>
230  
-    <!-- Maven and Maven plugin related stuff -->
231  
-    <dependency>
232  
-      <groupId>org.apache.maven</groupId>
233  
-      <artifactId>maven-plugin-api</artifactId>
234  
-      <version>${maven.version}</version>
235  
-      <exclusions>
236  
-        <exclusion>
237  
-          <groupId>org.codehaus.plexus</groupId>
238  
-          <artifactId>plexus-container-default</artifactId>
239  
-        </exclusion>
240  
-      </exclusions>
241  
-    </dependency>
242  
-    <dependency>
243  
-      <groupId>org.apache.maven</groupId>
244  
-      <artifactId>maven-core</artifactId>
245  
-      <version>${maven.version}</version>
246  
-      <scope>provided</scope>
247  
-      <exclusions>
248  
-        <exclusion>
249  
-          <groupId>org.apache.maven.wagon</groupId>
250  
-          <artifactId>wagon-http</artifactId>
251  
-        </exclusion>
252  
-        <exclusion>
253  
-          <groupId>org.apache.maven.wagon</groupId>
254  
-          <artifactId>wagon-http-lightweight</artifactId>
255  
-        </exclusion>
256  
-        <exclusion>
257  
-          <groupId>org.apache.maven.wagon</groupId>
258  
-          <artifactId>wagon-webdav-jackrabbit</artifactId>
259  
-        </exclusion>
260  
-        <exclusion>
261  
-          <groupId>org.codehaus.plexus</groupId>
262  
-          <artifactId>plexus-container-default</artifactId>
263  
-        </exclusion>
264  
-        <exclusion>
265  
-          <groupId>org.slf4j</groupId>
266  
-          <artifactId>slf4j-jdk14</artifactId>
267  
-        </exclusion>
268  
-      </exclusions>
269  
-    </dependency>
270  
-    <dependency>
271  
-      <groupId>org.apache.maven</groupId>
272  
-      <artifactId>maven-compat</artifactId>
273  
-      <version>${maven.version}</version>
274  
-      <scope>provided</scope>
275  
-      <exclusions>
276  
-        <exclusion>
277  
-          <groupId>org.codehaus.plexus</groupId>
278  
-          <artifactId>plexus-container-default</artifactId>
279  
-        </exclusion>
280  
-      </exclusions>
281  
-    </dependency>
282  
-    <dependency>
283  
-      <groupId>org.sonatype.aether</groupId>
284  
-      <artifactId>aether-api</artifactId>
285  
-      <version>1.13.1</version>
286  
-      <scope>runtime</scope>
287  
-    </dependency>
288  
-    
289  
-    <!-- Restlight client -->
290  
-    <dependency>
291  
-      <groupId>org.sonatype.nexus.restlight</groupId>
292  
-      <artifactId>nexus-restlight-stage-client</artifactId>
293  
-      <version>${nexus.version}</version>
294  
-    </dependency>
295  
-    <dependency>
296  
-      <groupId>org.sonatype.nexus.restlight</groupId>
297  
-      <artifactId>nexus-restlight-m2-settings-client</artifactId>
298  
-      <version>${nexus.version}</version>
299  
-    </dependency>
300  
-    <dependency>
301  
-      <groupId>org.sonatype.nexus.restlight</groupId>
302  
-      <artifactId>nexus-restlight-client-common</artifactId>
303  
-      <version>${nexus.version}</version>
304  
-    </dependency>
305  
-    
306  
-    <!-- We don't want to use a "nexus only" patched HttpClient 3.1 that is not in Central -->
307  
-    <dependency>
308  
-      <groupId>commons-httpclient</groupId>
309  
-      <artifactId>commons-httpclient</artifactId>
310  
-      <version>3.1</version>
311  
-      <exclusions>
312  
-        <exclusion>
313  
-          <artifactId>commons-logging</artifactId>
314  
-          <groupId>commons-logging</groupId>
315  
-        </exclusion>
316  
-      </exclusions>
317  
-    </dependency>
318  
-    
319  
-    <!-- "Commons" stuff -->
320  
-    <dependency>
321  
-      <groupId>commons-lang</groupId>
322  
-      <artifactId>commons-lang</artifactId>
323  
-      <version>2.3</version>
324  
-      <type>jar</type>
325  
-      <scope>compile</scope>
326  
-    </dependency>
327  
-    <dependency>
328  
-      <groupId>commons-beanutils</groupId>
329  
-      <artifactId>commons-beanutils-core</artifactId>
330  
-      <version>1.7.0</version>
331  
-      <type>jar</type>
332  
-      <scope>compile</scope>
333  
-      <exclusions>
334  
-        <exclusion>
335  
-          <artifactId>commons-logging</artifactId>
336  
-          <groupId>commons-logging</groupId>
337  
-        </exclusion>
338  
-      </exclusions>
339  
-    </dependency>
340  
-    <dependency>
341  
-      <groupId>commons-beanutils</groupId>
342  
-      <artifactId>commons-beanutils-bean-collections</artifactId>
343  
-      <version>1.7.0</version>
344  
-      <type>jar</type>
345  
-      <scope>compile</scope>
346  
-    </dependency>
347  
-
348  
-    <!-- Siesta/Jersey Usertoken -->
349  
-    <dependency>
350  
-      <groupId>org.sonatype.sisu.siesta</groupId>
351  
-      <artifactId>siesta-client</artifactId>
352  
-      <version>1.2</version>
353  
-    </dependency>
354  
-    <dependency>
355  
-      <groupId>org.sonatype.sisu.siesta</groupId>
356  
-      <artifactId>siesta-xstream</artifactId>
357  
-      <version>1.2</version>
358  
-    </dependency>
359  
-
360  
-    <!-- Test -->
361  
-    <dependency>
362  
-      <groupId>org.sonatype.sisu.litmus</groupId>
363  
-      <artifactId>litmus-testsupport</artifactId>
364  
-      <scope>test</scope>
365  
-    </dependency>
366  
-    <dependency>
367  
-      <groupId>org.sonatype.plexus</groupId>
368  
-      <artifactId>plexus-jetty-testsuite</artifactId>
369  
-      <version>2.1</version>
370  
-      <scope>test</scope>
371  
-    </dependency>
372  
-
373  
-  </dependencies>
374  
-  <build>
375  
-    <plugins>
376  
-      <plugin>
377  
-        <groupId>org.codehaus.plexus</groupId>
378  
-        <artifactId>plexus-component-metadata</artifactId>
379  
-        <executions>
380  
-          <execution>
381  
-            <id>generate</id>
382  
-            <goals>
383  
-              <goal>generate-metadata</goal>
384  
-            </goals>
385  
-          </execution>
386  
-          <execution>
387  
-            <id>merge</id>
388  
-            <goals>
389  
-              <goal>merge-metadata</goal>
390  
-            </goals>
391  
-            <configuration>
392  
-              <descriptors>
393  
-                <descriptor>${project.build.directory}/components.xml</descriptor>
394  
-                <descriptor>${basedir}/src/main/resources/META-INF/shaded-components.xml</descriptor>
395  
-              </descriptors>
396  
-            </configuration>
397  
-          </execution>
398  
-        </executions>
399  
-      </plugin>
400  
-      <plugin>
401  
-        <groupId>org.apache.maven.plugins</groupId>
402  
-        <artifactId>maven-shade-plugin</artifactId>
403  
-        <version>1.2.2</version>
404  
-        <executions>
405  
-          <execution>
406  
-            <phase>package</phase>
407  
-            <goals>
408  
-              <goal>shade</goal>
409  
-            </goals>
410  
-            <configuration>
411  
-              <artifactSet>
412  
-                <includes>
413  
-                  <include>org.sonatype.plexus:plexus-sec-dispatcher</include>
414  
-                  <include>org.sonatype.plexus:plexus-cipher</include>
415  
-                </includes>
416  
-              </artifactSet>
417  
-              <relocations>
418  
-                <relocation>
419  
-                  <pattern>org.sonatype.plexus.components.sec.dispatcher</pattern>
420  
-                  <shadedPattern>org.sonatype.plexus.components.sec.dispatcher.shaded</shadedPattern>
421  
-                  <excludes>
422  
-                    <exclude>org.sonatype.plexus.components.sec.dispatcher.SecDispatcher</exclude>
423  
-                  </excludes>
424  
-                </relocation>
425  
-                <relocation>
426  
-                  <pattern>org.sonatype.plexus.components.cipher</pattern>
427  
-                  <shadedPattern>org.sonatype.plexus.components.cipher.shaded</shadedPattern>
428  
-                </relocation>
429  
-              </relocations>
430  
-            </configuration>
431  
-          </execution>
432  
-        </executions>
433  
-      </plugin>
434  
-      <plugin>
435  
-        <groupId>org.apache.maven.plugins</groupId>
436  
-        <artifactId>maven-plugin-plugin</artifactId>
437  
-        <version>2.9</version>
438  
-        <executions>
439  
-          <execution>
440  
-            <id>generate-helpmojo</id>
441  
-            <goals>
442  
-              <goal>helpmojo</goal>
443  
-            </goals>
444  
-          </execution>
445  
-        </executions>
446  
-      </plugin>
447  
-    </plugins>
448  
-    <pluginManagement>
449  
-      <plugins>
450  
-        <plugin>
451  
-          <artifactId>maven-enforcer-plugin</artifactId>
452  
-          <version>1.0</version>
453  
-        </plugin>
454  
-        <plugin>
455  
-          <artifactId>maven-surefire-plugin</artifactId>
456  
-          <configuration>
457  
-            <failIfNoTests>false</failIfNoTests>
458  
-            <excludes>
459  
-              <exclude>**/fixture/*</exclude>
460  
-            </excludes>
461  
-          </configuration>
462  
-        </plugin>
463  
-      </plugins>
464  
-    </pluginManagement>
465  
-  </build>
466  
-  <profiles>
467  
-    <profile>
468  
-      <id>plugin-checks</id>
469  
-      <build>
470  
-        <plugins>
471  
-          <plugin>
472  
-            <groupId>org.apache.maven.plugins</groupId>
473  
-            <artifactId>maven-docck-plugin</artifactId>
474  
-            <version>1.0</version>
475  
-            <executions>
476  
-              <execution>
477  
-                <id>docck-check</id>
478  
-                <phase>verify</phase>
479  
-                <goals>
480  
-                  <goal>check</goal>
481  
-                </goals>
482  
-              </execution>
483  
-            </executions>
484  
-          </plugin>
485  
-          <plugin>
486  
-            <groupId>org.apache.maven.plugins</groupId>
487  
-            <artifactId>maven-plugin-plugin</artifactId>
488  
-            <version>2.9</version>
489  
-            <executions>
490  
-              <execution>
491  
-                <id>generate-helpmojo</id>
492  
-                <goals>
493  
-                  <goal>helpmojo</goal>
494  
-                </goals>
495  
-              </execution>
496  
-            </executions>
497  
-          </plugin>
498  
-        </plugins>
499  
-      </build>
500  
-    </profile>
501  
-  </profiles>
502  
-  <ciManagement>
503  
-    <system>Hudson</system>
504  
-    <url>https://builds.sonatype.org/job/nexus-maven-plugin/</url>
505  
-  </ciManagement>
506  
-  <issueManagement>
507  
-    <system>JIRA</system>
508  
-    <url>https://issues.sonatype.org/browse/NEXUS</url>
509  
-  </issueManagement>
510  
-</project>
493  nexus-maven-plugins/nexus-maven-plugin/src/main/java/org/sonatype/nexus/plugin/AbstractNexusMojo.java
... ...
@@ -1,493 +0,0 @@
1  
-/**
2  
- * Sonatype Nexus (TM) Open Source Version
3  
- * Copyright (c) 2007-2012 Sonatype, Inc.
4  
- * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
5  
- *
6  
- * This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
7  
- * which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
8  
- *
9  
- * Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
10  
- * of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
11  
- * Eclipse Foundation. All other trademarks are the property of their respective owners.
12  
- */
13  
-package org.sonatype.nexus.plugin;
14  
-
15  
-import java.net.MalformedURLException;
16  
-import java.net.URL;
17  
-
18  
-import org.apache.maven.plugin.AbstractMojo;
19  
-import org.apache.maven.plugin.MojoExecutionException;
20  
-import org.apache.maven.project.MavenProject;
21  
-import org.apache.maven.settings.Proxy;
22  
-import org.apache.maven.settings.Server;
23  
-import org.apache.maven.settings.Settings;
24  
-import org.codehaus.plexus.PlexusConstants;
25  
-import org.codehaus.plexus.PlexusContainer;
26  
-import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
27  
-import org.codehaus.plexus.components.interactivity.Prompter;
28  
-import org.codehaus.plexus.context.Context;
29  
-import org.codehaus.plexus.context.ContextException;
30  
-import org.codehaus.plexus.logging.LoggerManager;
31  
-import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;
32  
-import org.slf4j.LoggerFactory;
33  
-import org.sonatype.nexus.plugin.discovery.NexusConnectionInfo;
34  
-import org.sonatype.nexus.plugin.discovery.NexusDiscoveryException;
35  
-import org.sonatype.nexus.plugin.discovery.NexusInstanceDiscoverer;
36  
-import org.sonatype.plexus.components.sec.dispatcher.SecDispatcher;
37  
-import org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException;
38  
-
39  
-import ch.qos.logback.classic.Level;
40  
-import ch.qos.logback.classic.LoggerContext;
41  
-
42  
-public abstract class AbstractNexusMojo
43  
-    extends AbstractMojo
44  
-    implements Contextualizable
45  
-{
46  
-
47  
-    /**
48  
-     * NOT REQUIRED IN ALL CASES. If this is available, the current project will be used in the Nexus discovery process.
49  
-     * 
50  
-     * @parameter default-value="${project}"
51  
-     * @readonly
52  
-     */
53  
-    private MavenProject project;
54  
-
55  
-    /**
56  
-     * If false, the Nexus discovery process will prompt the user to accept any Nexus connection information it finds
57  
-     * before using it. <br/>
58  
-     * <b>NOTE:</b> Batch-mode executions will override this parameter with an effective value of 'true'.
59  
-     * 
60  
-     * @parameter expression="${nexus.automaticDiscovery}" default-value="false"
61  
-     */
62  
-    private boolean automatic;
63  
-
64  
-    /**
65  
-     * The base URL for a Nexus Professional instance that includes the nexus-staging-plugin. If missing, the mojo will
66  
-     * prompt for this value.
67  
-     * 
68  
-     * @parameter expression="${nexus.url}"
69  
-     */
70  
-    private String nexusUrl;
71  
-
72  
-    /**
73  
-     * @component role="org.codehaus.plexus.components.interactivity.Prompter" hint="jline"
74  
-     */
75  
-    private Prompter prompter;
76  
-
77  
-    /**
78  
-     * The username that should be used to log into Nexus.
79  
-     * 
80  
-     * @parameter expression="${nexus.username}" default-value="${user.name}"
81  
-     */
82  
-    private String username;
83  
-
84  
-    /**
85  
-     * If provided, lookup username/password from this server entry in the current Maven settings.
86  
-     * 
87  
-     * @parameter expression="${nexus.serverAuthId}"
88  
-     */
89  
-    private String serverAuthId;
90  
-
91  
-    /**
92  
-     * The password that should be used to log into Nexus. If missing, the mojo will prompt for this value.
93  
-     * 
94  
-     * @parameter expression="${nexus.password}"
95  
-     */
96  
-    private String password;
97  
-
98  
-    /**
99  
-     * @parameter default-value="${settings}"
100  
-     * @readonly
101  
-     */
102  
-    private Settings settings;
103  
-
104  
-    // proxy settings derived only from active Maven settings proxy
105  
-    private String proxyHost;
106  
-
107  
-    private int proxyPort = -1;
108  
-
109  
-    private String proxyUsername;
110  
-
111  
-    private String proxyPassword;
112  
-
113  
-    private NexusInstanceDiscoverer discoverer;
114  
-
115  
-    // ==
116  
-
117  
-    public final void execute()
118  
-        throws MojoExecutionException
119  
-    {
120  
-        fillMissing();
121  
-
122  
-        doExecute();
123  
-    }
124  
-
125  
-    protected abstract void doExecute()
126  
-        throws MojoExecutionException;
127  
-
128  
-    // ==
129  
-
130  
-    @Override
131  
-    public void contextualize( Context context )
132  
-        throws ContextException
133  
-    {
134  
-        PlexusContainer container = (PlexusContainer) context.get( PlexusConstants.PLEXUS_KEY );
135  
-
136  
-        try
137  
-        {
138  
-            Object factory = LoggerFactory.getILoggerFactory();
139  
-            ch.qos.logback.classic.Logger logger = null;
140  
-            if ( factory instanceof LoggerContext )
141  
-            {
142  
-                logger = ( (LoggerContext) factory ).getLogger( ch.qos.logback.classic.Logger.ROOT_LOGGER_NAME );
143  
-            }
144  
-
145  
-            if ( logger != null )
146  
-            {
147  
-                LoggerManager loggerManager = (LoggerManager) container.lookup( LoggerManager.class.getName() );
148  
-
149  
-                final int threshold = loggerManager.getThreshold();
150  
-
151  
-                if ( org.codehaus.plexus.logging.Logger.LEVEL_DEBUG == threshold )
152  
-                {
153  
-                    logger.setLevel( Level.DEBUG );
154  
-                }
155  
-                else
156  
-                {
157  
-                    logger.setLevel( Level.INFO );
158  
-                }
159  
-            }
160  
-
161  
-            discoverer = (NexusInstanceDiscoverer) container.lookup( NexusInstanceDiscoverer.class.getName() );
162  
-        }
163  
-        catch ( ComponentLookupException e )
164  
-        {
165  
-            throw new ContextException( "Cannot lookup discoverer!", e );
166  
-        }
167  
-    }
168  
-
169  
-    // ==
170  
-
171  
-    public String getNexusUrl()
172  
-    {
173  
-        return nexusUrl;
174  
-    }
175  
-
176  
-    public void setNexusUrl( final String nexusUrl )
177  
-    {
178  
-        this.nexusUrl = nexusUrl;
179  
-    }
180  
-
181  
-    public Prompter getPrompter()
182  
-    {
183  
-        return prompter;
184  
-    }
185  
-
186  
-    public void setPrompter( final Prompter prompter )
187  
-    {
188  
-        this.prompter = prompter;
189  
-    }
190  
-
191  
-    public String getUsername()
192  
-    {
193  
-        return username;
194  
-    }
195  
-
196  
-    public void setUsername( final String username )
197  
-    {
198  
-        this.username = username;
199  
-    }
200  
-
201  
-    public String getServerAuthId()
202  
-    {
203  
-        return serverAuthId;
204  
-    }
205  
-
206  
-    public void setServerAuthId( final String serverAuthId )
207  
-    {
208  
-        this.serverAuthId = serverAuthId;
209  
-    }
210  
-
211  
-    public String getPassword()
212  
-    {
213  
-        return password;
214  
-    }
215  
-
216  
-    public void setPassword( final String password )
217  
-    {
218  
-        this.password = password;
219  
-    }
220  
-
221  
-    public Settings getSettings()
222  
-    {
223  
-        return settings;
224  
-    }
225  
-
226  
-    public void setSettings( final Settings settings )
227  
-    {
228  
-        this.settings = settings;
229  
-    }
230  
-
231  
-    protected void setProxyHost( String proxyHost )
232  
-    {
233  
-        this.proxyHost = proxyHost;
234  
-    }
235  
-
236  
-    protected void setProxyPort( int proxyPort )
237  
-    {
238  
-        this.proxyPort = proxyPort;
239  
-    }
240  
-
241  
-    public String getProxyHost()
242  
-    {
243  
-        return proxyHost;
244  
-    }
245  
-
246  
-    public int getProxyPort()
247  
-    {
248  
-        return proxyPort;
249  
-    }
250  
-
251  
-    public String getProxyPassword()
252  
-    {
253  
-        return proxyPassword;
254  
-    }
255  
-
256  
-    protected void setProxyPassword( String proxyPassword )
257  
-    {
258  
-        this.proxyPassword = proxyPassword;
259  
-    }
260  
-
261  
-    public String getProxyUsername()
262  
-    {
263  
-        return proxyUsername;
264  
-    }
265  
-
266  
-    protected void setProxyUsername( String proxyUsername )
267  
-    {
268  
-        this.proxyUsername = proxyUsername;
269  
-    }
270  
-
271  
-    protected String formatUrl( final String url )
272  
-    {
273  
-        if ( url == null )
274  
-        {
275  
-            return null;
276  
-        }
277  
-
278  
-        if ( url.length() < 1 )
279  
-        {
280  
-            return url;
281  
-        }
282  
-
283  
-        return url.endsWith( "/" ) ? url.substring( 0, url.length() - 1 ) : url;
284  
-    }
285  
-
286  
-    protected void fillMissing()
287  
-        throws MojoExecutionException
288  
-    {
289  
-        if ( getNexusUrl() != null )
290  
-        {
291  
-            boolean authFound = false;
292  
-            if ( getServerAuthId() != null )
293  
-            {
294  
-                Server server = getSettings() == null ? null : getSettings().getServer( getServerAuthId() );
295  
-                if ( server != null )
296  
-                {
297  
-                    getLog().info( "Using authentication information for server: '" + getServerAuthId() + "'." );
298  
-
299  
-                    try
300  
-                    {
301  
-                        setUsername( server.getUsername() );
302  
-                        setPassword( discoverer.getSecDispatcher().decrypt( server.getPassword() ) );
303  
-                        authFound = true;
304  
-                    }
305  
-                    catch ( SecDispatcherException e )
306  
-                    {
307  
-                        throw new MojoExecutionException( "Failed to decrypt Nexus password: " + e.getMessage(), e );
308  
-                    }
309  
-                }
310  
-                else
311  
-                {
312  
-                    getLog().warn( "Server authentication entry not found for: '" + getServerAuthId() + "'." );
313  
-                }
314  
-            }
315  
-
316  
-            if ( !authFound && getPassword() == null )
317  
-            {
318  
-                try
319  
-                {
320  
-                    NexusConnectionInfo info =
321  
-                        discoverer.fillAuth( getNexusUrl(), getSettings(), getProject(), getUsername(), isAutomatic() );
322  
-
323  
-                    if ( info == null )
324  
-                    {
325  
-                        throw new MojoExecutionException( "Cannot determine login credentials for Nexus instance: "
326  
-                            + getNexusUrl() );
327  
-                    }
328  
-
329  
-                    setUsername( info.getUser() );
330  
-                    setPassword( discoverer.getSecDispatcher().decrypt( info.getPassword() ) );
331  
-
332  
-                }
333  
-                catch ( NexusDiscoveryException e )
334  
-                {
335  
-                    throw new MojoExecutionException( "Failed to determine authentication information for Nexus at: "
336  
-                        + getNexusUrl(), e );
337  
-                }
338  
-                catch ( SecDispatcherException e )
339  
-                {
340  
-                    throw new MojoExecutionException( "Failed to decrypt Nexus password: " + e.getMessage(), e );
341  
-                }
342  
-            }
343  
-        }
344  
-        else