Browse Source

- verified copyright headers

- optimized imports
- ran code formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@467926 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-0.9-alpha-1
Edwin L. Punzalan 17 years ago
parent
commit
2b1e907f10
100 changed files with 1009 additions and 405 deletions
  1. 2
    1
      archiva-applet/pom.xml
  2. 19
    2
      archiva-configuration/pom.xml
  3. 2
    1
      archiva-configuration/src/test/conf/corrupt.xml
  4. 2
    3
      archiva-configuration/src/test/conf/repository-manager.xml
  5. 7
    7
      archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ConfigurationStoreTest.java
  6. 103
    103
      archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoaderTest.java
  7. 2
    1
      archiva-configuration/src/test/resources/org/apache/maven/archiva/configuration/ConfigurationStoreTest.xml
  8. 1
    0
      archiva-converter/pom.xml
  9. 1
    0
      archiva-converter/src/test/resources/org/apache/maven/archiva/converter/RepositoryConverterTest.xml
  10. 1
    0
      archiva-converter/src/test/source-modern-repository/test/incorrectArtifactMetadata/maven-metadata.xml
  11. 1
    0
      archiva-converter/src/test/source-modern-repository/test/incorrectSnapshotMetadata/1.0.0-SNAPSHOT/maven-metadata.xml
  12. 1
    0
      archiva-converter/src/test/source-modern-repository/test/incorrectSnapshotMetadata/maven-metadata.xml
  13. 17
    0
      archiva-converter/src/test/target-repository/test/newversion-artifact/maven-metadata.xml
  14. 19
    2
      archiva-core/pom.xml
  15. 16
    0
      archiva-core/src/main/java/org/apache/maven/archiva/DefaultRepositoryManager.java
  16. 16
    0
      archiva-core/src/main/java/org/apache/maven/archiva/RepositoryManager.java
  17. 3
    3
      archiva-core/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyManager.java
  18. 1
    1
      archiva-core/src/main/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutor.java
  19. 17
    1
      archiva-core/src/main/resources/META-INF/plexus/components.xml
  20. 16
    0
      archiva-core/src/test/java/org/apache/maven/archiva/RepositoryManagerTest.java
  21. 1
    0
      archiva-discoverer/pom.xml
  22. 0
    1
      archiva-discoverer/src/main/java/org/apache/maven/archiva/discoverer/AbstractDiscoverer.java
  23. 2
    2
      archiva-discoverer/src/main/java/org/apache/maven/archiva/discoverer/Discoverer.java
  24. 17
    0
      archiva-discoverer/src/site/apt/design.apt
  25. 1
    0
      archiva-discoverer/src/test/repository/javax/maven-metadata.xml
  26. 1
    0
      archiva-discoverer/src/test/repository/javax/sql/jdbc/2.0/maven-metadata-repository.xml
  27. 1
    0
      archiva-discoverer/src/test/repository/javax/sql/jdbc/maven-metadata-repository.xml
  28. 1
    0
      archiva-discoverer/src/test/repository/javax/sql/maven-metadata-repository.xml
  29. 17
    0
      archiva-discoverer/src/test/repository/org/apache/maven/maven-metadata.xml
  30. 17
    0
      archiva-discoverer/src/test/repository/org/apache/maven/update/test-not-updated/maven-metadata.xml
  31. 17
    0
      archiva-discoverer/src/test/repository/org/apache/maven/update/test-updated/maven-metadata.xml
  32. 17
    0
      archiva-discoverer/src/test/repository/org/apache/testgroup/discovery/1.0/maven-metadata.xml
  33. 17
    0
      archiva-discoverer/src/test/repository/org/apache/testgroup/discovery/maven-metadata.xml
  34. 2
    1
      archiva-indexer/pom.xml
  35. 3
    3
      archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/MinimalArtifactIndexRecord.java
  36. 4
    4
      archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecord.java
  37. 17
    0
      archiva-indexer/src/site/apt/design.apt
  38. 17
    0
      archiva-indexer/src/test/repository/org/apache/maven/maven-artifact/2.0.1/maven-metadata.xml
  39. 17
    0
      archiva-indexer/src/test/repository/org/apache/maven/maven-artifact/maven-metadata.xml
  40. 17
    0
      archiva-indexer/src/test/repository/org/apache/maven/maven-metadata.xml
  41. 17
    0
      archiva-indexer/src/test/repository/test/maven-metadata.xml
  42. 19
    1
      archiva-plexus-application/pom.xml
  43. 17
    0
      archiva-plexus-application/src/conf/application.xml
  44. 17
    0
      archiva-plexus-application/src/conf/plexus.xml
  45. 17
    0
      archiva-plexus-runtime/pom.xml
  46. 16
    1
      archiva-plexus-runtime/src/conf/plexus.xml
  47. 17
    0
      archiva-plexus-runtime/src/main/assembly/bin.xml
  48. 1
    0
      archiva-proxy/pom.xml
  49. 17
    0
      archiva-proxy/src/site/apt/how-to.apt
  50. 1
    0
      archiva-reports-standard/pom.xml
  51. 7
    7
      archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java
  52. 1
    0
      archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml
  53. 3
    1
      archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml
  54. 1
    0
      archiva-reports-standard/src/test/repository/maven-metadata.xml
  55. 17
    0
      archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.xml
  56. 1
    0
      archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml
  57. 1
    0
      archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml
  58. 3
    3
      archiva-repository-layer/pom.xml
  59. 1
    0
      archiva-repository-layer/src/test/repository/groupId/artifactId/maven-metadata.xml
  60. 19
    1
      archiva-security/pom.xml
  61. 1
    1
      archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java
  62. 1
    1
      archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java
  63. 17
    0
      archiva-security/src/main/resources/META-INF/plexus/components.xml
  64. 1
    0
      archiva-utils/pom.xml
  65. 19
    13
      archiva-webapp/pom.xml
  66. 16
    1
      archiva-webapp/src/jetty-env.xml
  67. 2
    4
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ProxyAction.java
  68. 1
    1
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java
  69. 1
    2
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java
  70. 3
    3
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/AbstractConfigureRepositoryAction.java
  71. 2
    2
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/AbstractDeleteRepositoryAction.java
  72. 0
    4
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction.java
  73. 3
    3
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/RunRepositoryTaskAction.java
  74. 12
    11
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/check/RoleExistanceEnvironmentCheck.java
  75. 5
    7
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/servlet/repository/RepositoryAccess.java
  76. 4
    5
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/servlet/repository/RepositoryMapping.java
  77. 3
    3
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/VersionMerger.java
  78. 62
    62
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/IntervalValidator.java
  79. 111
    111
      archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/SyncedRepositoryValidator.java
  80. 1
    0
      archiva-webapp/src/main/resources/META-INF/plexus/application.xml
  81. 1
    0
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/SearchAction-checksumSearch-validation.xml
  82. 1
    0
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/SearchAction-quickSearch-validation.xml
  83. 1
    0
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAction-validation.xml
  84. 2
    1
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureProxiedRepositoryAction-validation.xml
  85. 1
    0
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction-validation.xml
  86. 2
    1
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureSyncedRepositoryAction-addSelectedSyncedRepository-validation.xml
  87. 2
    1
      archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureSyncedRepositoryAction-validation.xml
  88. 35
    18
      archiva-webapp/src/main/resources/validators.xml
  89. 1
    0
      archiva-webapp/src/main/resources/xwork.xml
  90. 1
    0
      archiva-webapp/src/main/webapp/WEB-INF/decorators.xml
  91. 1
    0
      archiva-webapp/src/main/webapp/WEB-INF/web.xml
  92. 1
    0
      archiva-webapp/src/test/resources/org/apache/maven/archiva/web/servlet/repository/RepositoryAccessTest.xml
  93. 17
    0
      design/white-site/pom.xml
  94. 15
    0
      design/white-site/src/site/site.xml
  95. 1
    0
      design/white-site/src/site/xdoc/admin/add-proxied-repository.xml
  96. 1
    0
      design/white-site/src/site/xdoc/admin/add-repository.xml
  97. 1
    0
      design/white-site/src/site/xdoc/admin/add-sync-repository.xml
  98. 17
    0
      design/white-site/src/site/xdoc/admin/config.xml
  99. 17
    0
      design/white-site/src/site/xdoc/admin/delete-proxied-repository.xml
  100. 0
    0
      design/white-site/src/site/xdoc/admin/delete-repository.xml

+ 2
- 1
archiva-applet/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -15,7 +16,7 @@
-->

<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/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.archiva</groupId>

+ 19
- 2
archiva-configuration/pom.xml View File

@@ -1,5 +1,22 @@
<?xml version="1.0"?>
<project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva</artifactId>
<groupId>org.apache.maven.archiva</groupId>

+ 2
- 1
archiva-configuration/src/test/conf/corrupt.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -5,7 +6,7 @@
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,

+ 2
- 3
archiva-configuration/src/test/conf/repository-manager.xml View File

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -7,7 +6,7 @@
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,

+ 7
- 7
archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ConfigurationStoreTest.java View File

@@ -1,11 +1,5 @@
package org.apache.maven.archiva.configuration;

import org.codehaus.plexus.PlexusTestCase;
import org.easymock.MockControl;

import java.io.File;
import java.util.Properties;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
@@ -13,7 +7,7 @@ import java.util.Properties;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,6 +16,12 @@ import java.util.Properties;
* limitations under the License.
*/

import org.codehaus.plexus.PlexusTestCase;
import org.easymock.MockControl;

import java.io.File;
import java.util.Properties;

/**
* Test the configuration store.
*

+ 103
- 103
archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoaderTest.java View File

@@ -1,103 +1,103 @@
package org.apache.maven.archiva.configuration;
/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.codehaus.plexus.PlexusTestCase;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.List;
import java.util.Properties;
/**
* @author Edwin Punzalan
*/
public class MavenProxyPropertyLoaderTest
extends PlexusTestCase
{
private static final int DEFAULT_CACHE_PERIOD = 3600;
private MavenProxyPropertyLoader loader;
public void testLoadValidMavenProxyConfiguration()
throws IOException, InvalidConfigurationException
{
File confFile = getTestFile( "src/test/conf/maven-proxy-complete.conf" );
Configuration configuration = new Configuration();
Proxy proxy = new Proxy();
proxy.setHost( "original-host" );
configuration.setProxy( proxy ); // overwritten
configuration.setIndexPath( "index-path" ); // existing value
loader.load( new FileInputStream( confFile ), configuration );
List list = configuration.getRepositories();
assertEquals( "check single managed repository", 1, list.size() );
RepositoryConfiguration managedRepository = (RepositoryConfiguration) list.iterator().next();
assertEquals( "cache path changed", "target", managedRepository.getDirectory() );
assertEquals( "Count repositories", 4, configuration.getProxiedRepositories().size() );
list = configuration.getProxiedRepositories();
ProxiedRepositoryConfiguration repo = (ProxiedRepositoryConfiguration) list.get( 0 );
assertEquals( "Repository name not as expected", "local-repo", repo.getId() );
assertEquals( "Repository url does not match its name", "file://target", repo.getUrl() );
assertEquals( "Repository cache period check failed", 0, repo.getSnapshotsInterval() );
assertFalse( "Repository failure caching check failed", repo.isCacheFailures() );
repo = (ProxiedRepositoryConfiguration) list.get( 1 );
assertEquals( "Repository name not as expected", "www-ibiblio-org", repo.getId() );
assertEquals( "Repository url does not match its name", "http://www.ibiblio.org/maven2", repo.getUrl() );
assertEquals( "Repository cache period check failed", DEFAULT_CACHE_PERIOD, repo.getSnapshotsInterval() );
assertTrue( "Repository failure caching check failed", repo.isCacheFailures() );
repo = (ProxiedRepositoryConfiguration) list.get( 2 );
assertEquals( "Repository name not as expected", "dist-codehaus-org", repo.getId() );
assertEquals( "Repository url does not match its name", "http://dist.codehaus.org", repo.getUrl() );
assertEquals( "Repository cache period check failed", DEFAULT_CACHE_PERIOD, repo.getSnapshotsInterval() );
assertTrue( "Repository failure caching check failed", repo.isCacheFailures() );
repo = (ProxiedRepositoryConfiguration) list.get( 3 );
assertEquals( "Repository name not as expected", "private-example-com", repo.getId() );
assertEquals( "Repository url does not match its name", "http://private.example.com/internal", repo.getUrl() );
assertEquals( "Repository cache period check failed", DEFAULT_CACHE_PERIOD, repo.getSnapshotsInterval() );
assertFalse( "Repository failure caching check failed", repo.isCacheFailures() );
}
public void testInvalidConfiguration()
{
Configuration configuration = new Configuration();
try
{
loader.load( new Properties(), configuration );
fail( "Incomplete config should have failed" );
}
catch ( InvalidConfigurationException e )
{
assertTrue( true );
}
}
protected void setUp()
throws Exception
{
super.setUp();
loader = new MavenProxyPropertyLoader();
}
}
package org.apache.maven.archiva.configuration;
/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.codehaus.plexus.PlexusTestCase;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.List;
import java.util.Properties;
/**
* @author Edwin Punzalan
*/
public class MavenProxyPropertyLoaderTest
extends PlexusTestCase
{
private static final int DEFAULT_CACHE_PERIOD = 3600;
private MavenProxyPropertyLoader loader;
public void testLoadValidMavenProxyConfiguration()
throws IOException, InvalidConfigurationException
{
File confFile = getTestFile( "src/test/conf/maven-proxy-complete.conf" );
Configuration configuration = new Configuration();
Proxy proxy = new Proxy();
proxy.setHost( "original-host" );
configuration.setProxy( proxy ); // overwritten
configuration.setIndexPath( "index-path" ); // existing value
loader.load( new FileInputStream( confFile ), configuration );
List list = configuration.getRepositories();
assertEquals( "check single managed repository", 1, list.size() );
RepositoryConfiguration managedRepository = (RepositoryConfiguration) list.iterator().next();
assertEquals( "cache path changed", "target", managedRepository.getDirectory() );
assertEquals( "Count repositories", 4, configuration.getProxiedRepositories().size() );
list = configuration.getProxiedRepositories();
ProxiedRepositoryConfiguration repo = (ProxiedRepositoryConfiguration) list.get( 0 );
assertEquals( "Repository name not as expected", "local-repo", repo.getId() );
assertEquals( "Repository url does not match its name", "file://target", repo.getUrl() );
assertEquals( "Repository cache period check failed", 0, repo.getSnapshotsInterval() );
assertFalse( "Repository failure caching check failed", repo.isCacheFailures() );
repo = (ProxiedRepositoryConfiguration) list.get( 1 );
assertEquals( "Repository name not as expected", "www-ibiblio-org", repo.getId() );
assertEquals( "Repository url does not match its name", "http://www.ibiblio.org/maven2", repo.getUrl() );
assertEquals( "Repository cache period check failed", DEFAULT_CACHE_PERIOD, repo.getSnapshotsInterval() );
assertTrue( "Repository failure caching check failed", repo.isCacheFailures() );
repo = (ProxiedRepositoryConfiguration) list.get( 2 );
assertEquals( "Repository name not as expected", "dist-codehaus-org", repo.getId() );
assertEquals( "Repository url does not match its name", "http://dist.codehaus.org", repo.getUrl() );
assertEquals( "Repository cache period check failed", DEFAULT_CACHE_PERIOD, repo.getSnapshotsInterval() );
assertTrue( "Repository failure caching check failed", repo.isCacheFailures() );
repo = (ProxiedRepositoryConfiguration) list.get( 3 );
assertEquals( "Repository name not as expected", "private-example-com", repo.getId() );
assertEquals( "Repository url does not match its name", "http://private.example.com/internal", repo.getUrl() );
assertEquals( "Repository cache period check failed", DEFAULT_CACHE_PERIOD, repo.getSnapshotsInterval() );
assertFalse( "Repository failure caching check failed", repo.isCacheFailures() );
}
public void testInvalidConfiguration()
{
Configuration configuration = new Configuration();
try
{
loader.load( new Properties(), configuration );
fail( "Incomplete config should have failed" );
}
catch ( InvalidConfigurationException e )
{
assertTrue( true );
}
}
protected void setUp()
throws Exception
{
super.setUp();
loader = new MavenProxyPropertyLoader();
}
}

+ 2
- 1
archiva-configuration/src/test/resources/org/apache/maven/archiva/configuration/ConfigurationStoreTest.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -5,7 +6,7 @@
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,

+ 1
- 0
archiva-converter/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-converter/src/test/resources/org/apache/maven/archiva/converter/RepositoryConverterTest.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-converter/src/test/source-modern-repository/test/incorrectArtifactMetadata/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-converter/src/test/source-modern-repository/test/incorrectSnapshotMetadata/1.0.0-SNAPSHOT/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-converter/src/test/source-modern-repository/test/incorrectSnapshotMetadata/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 17
- 0
archiva-converter/src/test/target-repository/test/newversion-artifact/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>test</groupId>
<artifactId>newversion-artifact</artifactId>

+ 19
- 2
archiva-core/pom.xml View File

@@ -1,5 +1,22 @@
<?xml version="1.0"?>
<project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva</artifactId>
<groupId>org.apache.maven.archiva</groupId>

+ 16
- 0
archiva-core/src/main/java/org/apache/maven/archiva/DefaultRepositoryManager.java View File

@@ -1,5 +1,21 @@
package org.apache.maven.archiva;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import org.apache.maven.archiva.converter.RepositoryConversionException;
import org.apache.maven.archiva.converter.RepositoryConverter;
import org.apache.maven.archiva.discoverer.ArtifactDiscoverer;

+ 16
- 0
archiva-core/src/main/java/org/apache/maven/archiva/RepositoryManager.java View File

@@ -1,5 +1,21 @@
package org.apache.maven.archiva;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import org.apache.maven.archiva.converter.RepositoryConversionException;
import org.apache.maven.archiva.discoverer.DiscovererException;


+ 3
- 3
archiva-core/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyManager.java View File

@@ -17,15 +17,15 @@ package org.apache.maven.archiva.proxy;
*/

import org.apache.maven.archiva.configuration.Configuration;
import org.apache.maven.archiva.configuration.ConfigurationChangeException;
import org.apache.maven.archiva.configuration.ConfigurationChangeListener;
import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.configuration.ConfiguredRepositoryFactory;
import org.apache.maven.archiva.configuration.InvalidConfigurationException;
import org.apache.maven.archiva.configuration.ProxiedRepositoryConfiguration;
import org.apache.maven.archiva.configuration.Proxy;
import org.apache.maven.archiva.configuration.RepositoryConfiguration;
import org.apache.maven.archiva.configuration.ConfigurationChangeListener;
import org.apache.maven.archiva.configuration.InvalidConfigurationException;
import org.apache.maven.archiva.configuration.ConfigurationChangeException;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.wagon.ResourceDoesNotExistException;
import org.apache.maven.wagon.proxy.ProxyInfo;

+ 1
- 1
archiva-core/src/main/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutor.java View File

@@ -18,9 +18,9 @@ package org.apache.maven.archiva.scheduler.executors;

import org.apache.maven.archiva.configuration.Configuration;
import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.configuration.ConfiguredRepositoryFactory;
import org.apache.maven.archiva.configuration.RepositoryConfiguration;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.discoverer.ArtifactDiscoverer;
import org.apache.maven.archiva.discoverer.DiscovererException;
import org.apache.maven.archiva.discoverer.MetadataDiscoverer;

+ 17
- 1
archiva-core/src/main/resources/META-INF/plexus/components.xml View File

@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<component-set>
<components>


+ 16
- 0
archiva-core/src/test/java/org/apache/maven/archiva/RepositoryManagerTest.java View File

@@ -1,5 +1,21 @@
package org.apache.maven.archiva;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import org.codehaus.plexus.PlexusTestCase;

import java.io.File;

+ 1
- 0
archiva-discoverer/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 0
- 1
archiva-discoverer/src/main/java/org/apache/maven/archiva/discoverer/AbstractDiscoverer.java View File

@@ -22,7 +22,6 @@ import org.codehaus.plexus.util.DirectoryScanner;
import org.codehaus.plexus.util.FileUtils;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;

+ 2
- 2
archiva-discoverer/src/main/java/org/apache/maven/archiva/discoverer/Discoverer.java View File

@@ -1,7 +1,5 @@
package org.apache.maven.archiva.discoverer;

import java.util.Iterator;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
@@ -18,6 +16,8 @@ import java.util.Iterator;
* limitations under the License.
*/

import java.util.Iterator;

/**
* @author Edwin Punzalan
*/

+ 17
- 0
archiva-discoverer/src/site/apt/design.apt View File

@@ -6,6 +6,23 @@
24 July 2006
-----

~~ Copyright 2006 The Apache Software Foundation.
~~
~~ Licensed under the Apache License, Version 2.0 (the "License");
~~ you may not use this file except in compliance with the License.
~~ You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing, software
~~ distributed under the License is distributed on an "AS IS" BASIS,
~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~~ See the License for the specific language governing permissions and
~~ limitations under the License.

~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/guides/mini/guide-apt-format.html

Discoverer Design

The artifact discoverer is designed to traverse the paths in the repository and identify files that are part of

+ 1
- 0
archiva-discoverer/src/test/repository/javax/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-discoverer/src/test/repository/javax/sql/jdbc/2.0/maven-metadata-repository.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-discoverer/src/test/repository/javax/sql/jdbc/maven-metadata-repository.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-discoverer/src/test/repository/javax/sql/maven-metadata-repository.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 17
- 0
archiva-discoverer/src/test/repository/org/apache/maven/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.maven</groupId>
</metadata>

+ 17
- 0
archiva-discoverer/src/test/repository/org/apache/maven/update/test-not-updated/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.maven.update</groupId>
<artifactId>test-not-updated</artifactId>

+ 17
- 0
archiva-discoverer/src/test/repository/org/apache/maven/update/test-updated/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.maven.update</groupId>
<artifactId>test-updated</artifactId>

+ 17
- 0
archiva-discoverer/src/test/repository/org/apache/testgroup/discovery/1.0/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.testgroup</groupId>
<artifactId>discovery</artifactId>

+ 17
- 0
archiva-discoverer/src/test/repository/org/apache/testgroup/discovery/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.testgroup</groupId>
<artifactId>discovery</artifactId>

+ 2
- 1
archiva-indexer/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -15,7 +16,7 @@
-->

<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/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.maven.archiva</groupId>
<artifactId>archiva</artifactId>

+ 3
- 3
archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/MinimalArtifactIndexRecord.java View File

@@ -1,8 +1,5 @@
package org.apache.maven.archiva.indexer.record;

import java.util.Date;
import java.util.List;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
@@ -19,6 +16,9 @@ import java.util.List;
* limitations under the License.
*/

import java.util.Date;
import java.util.List;

/**
* The a record with the fields in the minimal index.
*

+ 4
- 4
archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecord.java View File

@@ -1,9 +1,5 @@
package org.apache.maven.archiva.indexer.record;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
@@ -20,6 +16,10 @@ import java.util.List;
* limitations under the License.
*/

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
* The a record with the fields in the standard index.
*

+ 17
- 0
archiva-indexer/src/site/apt/design.apt View File

@@ -6,6 +6,23 @@
25 July 2006
-----

~~ Copyright 2006 The Apache Software Foundation.
~~
~~ Licensed under the Apache License, Version 2.0 (the "License");
~~ you may not use this file except in compliance with the License.
~~ You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing, software
~~ distributed under the License is distributed on an "AS IS" BASIS,
~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~~ See the License for the specific language governing permissions and
~~ limitations under the License.

~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/guides/mini/guide-apt-format.html

Indexer Design

<<Note: The current indexer design is under review. This document will grow into what it should be, and the code and

+ 17
- 0
archiva-indexer/src/test/repository/org/apache/maven/maven-artifact/2.0.1/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>

+ 17
- 0
archiva-indexer/src/test/repository/org/apache/maven/maven-artifact/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>

+ 17
- 0
archiva-indexer/src/test/repository/org/apache/maven/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<metadata>
<groupId>org.apache.maven</groupId>
<plugins>

+ 17
- 0
archiva-indexer/src/test/repository/test/maven-metadata.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<metadata>
<groupId>test</groupId>
<plugins>

+ 19
- 1
archiva-plexus-application/pom.xml View File

@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><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/maven-v4_0_0.xsd">
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva</artifactId>
<groupId>org.apache.maven.archiva</groupId>

+ 17
- 0
archiva-plexus-application/src/conf/application.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<application>

<services>

+ 17
- 0
archiva-plexus-application/src/conf/plexus.xml View File

@@ -1 +1,18 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<plexus/>

+ 17
- 0
archiva-plexus-runtime/pom.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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/maven-v4_0_0.xsd">
<parent>

+ 16
- 1
archiva-plexus-runtime/src/conf/plexus.xml View File

@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<plexus>
<load-on-start>

+ 17
- 0
archiva-plexus-runtime/src/main/assembly/bin.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<assembly>
<id>bin</id>
<formats>

+ 1
- 0
archiva-proxy/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 17
- 0
archiva-proxy/src/site/apt/how-to.apt View File

@@ -1,3 +1,20 @@
~~ Copyright 2006 The Apache Software Foundation.
~~
~~ Licensed under the Apache License, Version 2.0 (the "License");
~~ you may not use this file except in compliance with the License.
~~ You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing, software
~~ distributed under the License is distributed on an "AS IS" BASIS,
~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~~ See the License for the specific language governing permissions and
~~ limitations under the License.
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/guides/mini/guide-apt-format.html
ProxyManager
The ProxyManager is designed to be used as a simple object or bean for use by

+ 1
- 0
archiva-reports-standard/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 7
- 7
archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java View File

@@ -1,12 +1,5 @@
package org.apache.maven.archiva.reporting;

import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
import org.apache.maven.model.Model;

import java.util.Map;

/*
* Copyright 2005-2006 The Apache Software Foundation.
*
@@ -23,6 +16,13 @@ import java.util.Map;
* limitations under the License.
*/

import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
import org.apache.maven.model.Model;

import java.util.Map;

/**
* A grouping or report processors for execution as a visible report from the web interface - eg, "health",
* "old artifacts", etc.

+ 1
- 0
archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 3
- 1
archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml View File

@@ -1,4 +1,5 @@
This file is here to make sure that it will not be processed during unit <!--
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,4 +15,5 @@ This file is here to make sure that it will not be processed during unit <!--
~ limitations under the License.
-->

This file is here to make sure that it will not be processed during unit
test.

+ 1
- 0
archiva-reports-standard/src/test/repository/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 17
- 0
archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<component-set>
<components>
<component>

+ 1
- 0
archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 3
- 3
archiva-repository-layer/pom.xml View File

@@ -1,5 +1,4 @@
<?xml version="1.0"?>

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -16,7 +15,8 @@
~ limitations under the License.
-->

<project>
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva</artifactId>
<groupId>org.apache.maven.archiva</groupId>

+ 1
- 0
archiva-repository-layer/src/test/repository/groupId/artifactId/maven-metadata.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 19
- 1
archiva-security/pom.xml View File

@@ -1,4 +1,22 @@
<?xml version="1.0"?><project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva</artifactId>
<groupId>org.apache.maven.archiva</groupId>

+ 1
- 1
archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java View File

@@ -18,8 +18,8 @@ package org.apache.maven.archiva.security;

import org.codehaus.plexus.rbac.profile.AbstractRoleProfile;

import java.util.List;
import java.util.ArrayList;
import java.util.List;

/**
* @todo why does this need to be created in the client app?

+ 1
- 1
archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java View File

@@ -18,8 +18,8 @@ package org.apache.maven.archiva.security;

import org.codehaus.plexus.rbac.profile.AbstractDynamicRoleProfile;

import java.util.List;
import java.util.ArrayList;
import java.util.List;

/**
* @plexus.component role="org.codehaus.plexus.rbac.profile.DynamicRoleProfile"

+ 17
- 0
archiva-security/src/main/resources/META-INF/plexus/components.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<component-set>
<components>
<!-- TODO: wouldn't need to redeclare if it was composition -->

+ 1
- 0
archiva-utils/pom.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 19
- 13
archiva-webapp/pom.xml View File

@@ -1,5 +1,4 @@
<?xml version="1.0" ?>

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -120,8 +119,8 @@
<version>2.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>plexus</groupId>
<artifactId>plexus-utils</artifactId>
<groupId>plexus</groupId>
<artifactId>plexus-utils</artifactId>
</exclusion>
</exclusions>
</dependency>
@@ -190,12 +189,12 @@
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.2</version>
</dependency>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-mail-sender-javamail</artifactId>
<version>1.0-alpha-3</version>
</dependency>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
@@ -239,13 +238,20 @@
<includes>
<!-- TODO: META-INF shouldn't be required, seems to be an issue with the current war plugin -->
<include>META-INF</include>
<include>WEB-INF/classes</include> <!-- Classes and Resources from other wars -->
<include>WEB-INF/lib</include> <!-- Dependencies from other wars -->
<include>WEB-INF/database</include> <!-- Database location configured in application.xml -->
<include>WEB-INF/logs</include> <!-- Log file location specified in application.xml -->
<include>pss</include> <!-- plexus-security css and javascript -->
<include>WEB-INF/jsp/pss</include> <!-- plexus-security jsps -->
<include>WEB-INF/template/pss</include> <!-- plexus-security xwork templates -->
<include>WEB-INF/classes</include>
<!-- Classes and Resources from other wars -->
<include>WEB-INF/lib</include>
<!-- Dependencies from other wars -->
<include>WEB-INF/database</include>
<!-- Database location configured in application.xml -->
<include>WEB-INF/logs</include>
<!-- Log file location specified in application.xml -->
<include>pss</include>
<!-- plexus-security css and javascript -->
<include>WEB-INF/jsp/pss</include>
<!-- plexus-security jsps -->
<include>WEB-INF/template/pss</include>
<!-- plexus-security xwork templates -->
</includes>
</fileset>
</filesets>

+ 16
- 1
archiva-webapp/src/jetty-env.xml View File

@@ -1,6 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">

<New id="users" class="org.mortbay.jetty.plus.naming.Resource">

+ 2
- 4
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ProxyAction.java View File

@@ -16,20 +16,18 @@ package org.apache.maven.archiva.web.action;
* limitations under the License.
*/

import com.opensymphony.webwork.interceptor.ServletResponseAware;
import org.apache.maven.archiva.proxy.ProxyException;
import org.apache.maven.archiva.proxy.ProxyManager;
import org.apache.maven.wagon.ResourceDoesNotExistException;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;

import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

import com.opensymphony.webwork.interceptor.ServletResponseAware;

import javax.servlet.http.HttpServletResponse;

/**
* Proxy functionality.
*

+ 1
- 1
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java View File

@@ -31,8 +31,8 @@ import org.apache.maven.archiva.indexer.RepositoryIndexSearchException;
import org.apache.maven.archiva.indexer.lucene.LuceneQuery;
import org.apache.maven.archiva.indexer.lucene.LuceneRepositoryArtifactIndex;
import org.apache.maven.archiva.indexer.record.StandardIndexRecordFields;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;
import org.apache.maven.archiva.web.util.VersionMerger;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;

import java.io.File;
import java.net.MalformedURLException;

+ 1
- 2
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java View File

@@ -28,6 +28,7 @@ import org.apache.maven.archiva.indexer.RepositoryIndexException;
import org.apache.maven.archiva.indexer.RepositoryIndexSearchException;
import org.apache.maven.archiva.indexer.lucene.LuceneQuery;
import org.apache.maven.archiva.indexer.record.StandardArtifactIndexRecord;
import org.apache.maven.archiva.web.util.VersionMerger;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
@@ -46,7 +47,6 @@ import org.apache.maven.report.projectinfo.dependencies.ReportResolutionListener
import org.codehaus.plexus.util.StringUtils;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;
import org.apache.maven.archiva.web.util.VersionMerger;

import java.io.File;
import java.io.IOException;
@@ -55,7 +55,6 @@ import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

+ 3
- 3
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/AbstractConfigureRepositoryAction.java View File

@@ -25,14 +25,14 @@ import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.configuration.InvalidConfigurationException;
import org.apache.maven.archiva.security.ArchivaRoleConstants;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;
import org.codehaus.plexus.rbac.profile.RoleProfileException;
import org.codehaus.plexus.rbac.profile.RoleProfileManager;
import org.codehaus.plexus.security.rbac.RbacManagerException;
import org.codehaus.plexus.security.rbac.Resource;
import org.codehaus.plexus.security.ui.web.interceptor.SecureAction;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionBundle;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionException;
import org.codehaus.plexus.rbac.profile.RoleProfileException;
import org.codehaus.plexus.rbac.profile.RoleProfileManager;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;

import java.io.IOException;


+ 2
- 2
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/AbstractDeleteRepositoryAction.java View File

@@ -23,11 +23,11 @@ import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.configuration.InvalidConfigurationException;
import org.apache.maven.archiva.security.ArchivaRoleConstants;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;
import org.codehaus.plexus.security.rbac.Resource;
import org.codehaus.plexus.security.ui.web.interceptor.SecureAction;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionBundle;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionException;
import org.codehaus.plexus.security.rbac.Resource;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;

import java.io.IOException;


+ 0
- 4
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction.java View File

@@ -18,11 +18,7 @@ package org.apache.maven.archiva.web.action.admin;

import org.apache.maven.archiva.configuration.AbstractRepositoryConfiguration;
import org.apache.maven.archiva.configuration.RepositoryConfiguration;
import org.apache.maven.archiva.security.ArchivaRoleConstants;
import org.codehaus.plexus.rbac.profile.RoleProfileException;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionBundle;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionException;
import org.codehaus.plexus.security.rbac.Resource;

import java.io.File;
import java.io.IOException;

+ 3
- 3
archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/RunRepositoryTaskAction.java View File

@@ -19,11 +19,11 @@ package org.apache.maven.archiva.web.action.admin;
import org.apache.maven.archiva.scheduler.RepositoryTaskScheduler;
import org.apache.maven.archiva.scheduler.TaskExecutionException;
import org.apache.maven.archiva.security.ArchivaRoleConstants;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;
import org.codehaus.plexus.security.rbac.Resource;
import org.codehaus.plexus.security.ui.web.interceptor.SecureAction;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionBundle;
import org.codehaus.plexus.security.ui.web.interceptor.SecureActionException;
import org.codehaus.plexus.security.ui.web.interceptor.SecureAction;
import org.codehaus.plexus.security.rbac.Resource;
import org.codehaus.plexus.xwork.action.PlexusActionSupport;

/**
* Configures the application.

+ 12
- 11
archiva-webapp/src/main/java/org/apache/maven/archiva/web/check/RoleExistanceEnvironmentCheck.java View File

@@ -1,17 +1,7 @@
package org.apache.maven.archiva.web.check;

import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.configuration.RepositoryConfiguration;
import org.codehaus.plexus.rbac.profile.RoleProfileException;
import org.codehaus.plexus.rbac.profile.RoleProfileManager;
import org.codehaus.plexus.security.system.check.EnvironmentCheck;
import org.codehaus.plexus.logging.AbstractLogEnabled;

import java.util.Iterator;
import java.util.List;
/*
* Copyright 2006 The Apache Software Foundation.
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,6 +16,17 @@ import java.util.List;
* limitations under the License.
*/

import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.apache.maven.archiva.configuration.RepositoryConfiguration;
import org.codehaus.plexus.logging.AbstractLogEnabled;
import org.codehaus.plexus.rbac.profile.RoleProfileException;
import org.codehaus.plexus.rbac.profile.RoleProfileManager;
import org.codehaus.plexus.security.system.check.EnvironmentCheck;

import java.util.Iterator;
import java.util.List;

/**
* RoleExistanceEnvironmentCheck:
*

+ 5
- 7
archiva-webapp/src/main/java/org/apache/maven/archiva/web/servlet/repository/RepositoryAccess.java View File

@@ -16,6 +16,8 @@ package org.apache.maven.archiva.web.servlet.repository;
* limitations under the License.
*/

import it.could.webdav.DAVTransaction;
import it.could.webdav.DAVUtilities;
import org.apache.maven.archiva.configuration.Configuration;
import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
@@ -33,19 +35,15 @@ import org.codehaus.plexus.security.ui.web.filter.authentication.HttpAuthenticat
import org.codehaus.plexus.util.FileUtils;
import org.codehaus.plexus.util.StringUtils;

import it.could.webdav.DAVTransaction;
import it.could.webdav.DAVUtilities;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* RepositoryAccess - access read/write to the repository.
*

+ 4
- 5
archiva-webapp/src/main/java/org/apache/maven/archiva/web/servlet/repository/RepositoryMapping.java View File

@@ -16,17 +16,16 @@ package org.apache.maven.archiva.web.servlet.repository;
* limitations under the License.
*/

import it.could.webdav.DAVListener;
import it.could.webdav.DAVProcessor;
import it.could.webdav.DAVRepository;
import it.could.webdav.DAVResource;
import org.apache.maven.archiva.configuration.RepositoryConfiguration;
import org.codehaus.plexus.logging.Logger;

import java.io.File;
import java.io.IOException;

import it.could.webdav.DAVListener;
import it.could.webdav.DAVProcessor;
import it.could.webdav.DAVRepository;
import it.could.webdav.DAVResource;

/**
* RepositoryMapping
*

+ 3
- 3
archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/VersionMerger.java View File

@@ -16,17 +16,17 @@ package org.apache.maven.archiva.web.util;
* limitations under the License.
*/

import org.apache.maven.model.Dependency;
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
import org.apache.maven.archiva.indexer.record.StandardArtifactIndexRecord;
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
import org.apache.maven.model.Dependency;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;


+ 62
- 62
archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/IntervalValidator.java View File

@@ -1,62 +1,62 @@
package org.apache.maven.archiva.web.validator;
/*
* Copyright 2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import com.opensymphony.xwork.validator.validators.ValidatorSupport;
import com.opensymphony.xwork.validator.ValidationException;
import com.opensymphony.xwork.validator.ValidatorContext;
/**
*
* @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
*/
public class IntervalValidator
extends ValidatorSupport
{
public void validate( Object obj )
throws ValidationException
{
String snapshotsPolicy = ( String ) getFieldValue( "snapshotsPolicy", obj );
String releasesPolicy = ( String ) getFieldValue( "releasesPolicy", obj );
Integer snapshotsInterval = ( Integer ) getFieldValue( "snapshotsInterval", obj );
Integer releasesInterval = ( Integer ) getFieldValue( "releasesInterval", obj );
ValidatorContext ctxt = getValidatorContext();
if( !snapshotsPolicy.equals( "interval" ) )
{
if( snapshotsInterval.intValue() != 0 )
{
ctxt.addActionError( "Snapshots Interval must be set to zero." );
}
}
if( !releasesPolicy.equals( "interval" ) )
{
if( releasesInterval.intValue() != 0 )
{
ctxt.addActionError( "Releases Interval must be set to zero." );
}
}
if( ctxt.hasActionErrors() )
{
return;
}
}
}
package org.apache.maven.archiva.web.validator;
/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import com.opensymphony.xwork.validator.ValidationException;
import com.opensymphony.xwork.validator.ValidatorContext;
import com.opensymphony.xwork.validator.validators.ValidatorSupport;
/**
*
* @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
*/
public class IntervalValidator
extends ValidatorSupport
{
public void validate( Object obj )
throws ValidationException
{
String snapshotsPolicy = ( String ) getFieldValue( "snapshotsPolicy", obj );
String releasesPolicy = ( String ) getFieldValue( "releasesPolicy", obj );
Integer snapshotsInterval = ( Integer ) getFieldValue( "snapshotsInterval", obj );
Integer releasesInterval = ( Integer ) getFieldValue( "releasesInterval", obj );
ValidatorContext ctxt = getValidatorContext();
if( !snapshotsPolicy.equals( "interval" ) )
{
if( snapshotsInterval.intValue() != 0 )
{
ctxt.addActionError( "Snapshots Interval must be set to zero." );
}
}
if( !releasesPolicy.equals( "interval" ) )
{
if( releasesInterval.intValue() != 0 )
{
ctxt.addActionError( "Releases Interval must be set to zero." );
}
}
if( ctxt.hasActionErrors() )
{
return;
}
}
}

+ 111
- 111
archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/SyncedRepositoryValidator.java View File

@@ -1,111 +1,111 @@
package org.apache.maven.archiva.web.validator;
/*
* Copyright 2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import com.opensymphony.xwork.validator.validators.ValidatorSupport;
import com.opensymphony.xwork.validator.ValidationException;
import com.opensymphony.xwork.validator.ValidatorContext;
/**
* Validator for synced repository form. The values to be validated depends on the
* selected sync method to be used.
*
* @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
*/
public class SyncedRepositoryValidator
extends ValidatorSupport
{
public void validate( Object obj )
throws ValidationException
{
String method = ( String ) getFieldValue( "method", obj );
ValidatorContext ctxt = getValidatorContext();
if( method.equals( "rsync" ) )
{
String rsyncHost = ( String ) getFieldValue( "rsyncHost", obj );
if( rsyncHost == null || rsyncHost.equals("") )
{
ctxt.addActionError( "Rsync host is required." );
}
String rsyncDirectory = ( String ) getFieldValue( "rsyncDirectory", obj );
if( rsyncDirectory == null || rsyncDirectory.equals("") )
{
ctxt.addActionError( "Rsync directory is required." );
}
String rsyncMethod = ( String ) getFieldValue( "rsyncMethod", obj );
if( rsyncMethod == null || rsyncMethod.equals("") )
{
ctxt.addActionError( "Rsync method is required." );
}
else
{
if( !rsyncMethod.equals( "anonymous" ) && !rsyncMethod.equals( "ssh" ) )
{
ctxt.addActionError( "Invalid rsync method" );
}
}
String username = ( String ) getFieldValue( "username", obj );
if( username == null || username.equals("") )
{
ctxt.addActionError( "Username is required." );
}
}
else if ( method.equals( "svn" ) )
{
String svnUrl = ( String ) getFieldValue( "svnUrl", obj );
if( svnUrl == null || svnUrl.equals("") )
{
ctxt.addActionError( "SVN url is required." );
}
String username = ( String ) getFieldValue( "username", obj );
if( username == null || username.equals("") )
{
ctxt.addActionError( "Username is required." );
}
}
else if ( method.equals( "cvs" ) )
{
String cvsRoot = ( String ) getFieldValue( "cvsRoot", obj );
if( cvsRoot == null || cvsRoot.equals("") )
{
ctxt.addActionError( "CVS root is required." );
}
}
else if ( method.equals( "file" ) )
{
String directory = ( String ) getFieldValue( "directory", obj );
if( directory == null || directory.equals("") )
{
ctxt.addActionError( "Directory is required." );
}
}
if( ctxt.hasActionErrors() )
{
return;
}
}
}
package org.apache.maven.archiva.web.validator;
/*
* Copyright 2005-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import com.opensymphony.xwork.validator.ValidationException;
import com.opensymphony.xwork.validator.ValidatorContext;
import com.opensymphony.xwork.validator.validators.ValidatorSupport;
/**
* Validator for synced repository form. The values to be validated depends on the
* selected sync method to be used.
*
* @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
*/
public class SyncedRepositoryValidator
extends ValidatorSupport
{
public void validate( Object obj )
throws ValidationException
{
String method = ( String ) getFieldValue( "method", obj );
ValidatorContext ctxt = getValidatorContext();
if( method.equals( "rsync" ) )
{
String rsyncHost = ( String ) getFieldValue( "rsyncHost", obj );
if( rsyncHost == null || rsyncHost.equals("") )
{
ctxt.addActionError( "Rsync host is required." );
}
String rsyncDirectory = ( String ) getFieldValue( "rsyncDirectory", obj );
if( rsyncDirectory == null || rsyncDirectory.equals("") )
{
ctxt.addActionError( "Rsync directory is required." );
}
String rsyncMethod = ( String ) getFieldValue( "rsyncMethod", obj );
if( rsyncMethod == null || rsyncMethod.equals("") )
{
ctxt.addActionError( "Rsync method is required." );
}
else
{
if( !rsyncMethod.equals( "anonymous" ) && !rsyncMethod.equals( "ssh" ) )
{
ctxt.addActionError( "Invalid rsync method" );
}
}
String username = ( String ) getFieldValue( "username", obj );
if( username == null || username.equals("") )
{
ctxt.addActionError( "Username is required." );
}
}
else if ( method.equals( "svn" ) )
{
String svnUrl = ( String ) getFieldValue( "svnUrl", obj );
if( svnUrl == null || svnUrl.equals("") )
{
ctxt.addActionError( "SVN url is required." );
}
String username = ( String ) getFieldValue( "username", obj );
if( username == null || username.equals("") )
{
ctxt.addActionError( "Username is required." );
}
}
else if ( method.equals( "cvs" ) )
{
String cvsRoot = ( String ) getFieldValue( "cvsRoot", obj );
if( cvsRoot == null || cvsRoot.equals("") )
{
ctxt.addActionError( "CVS root is required." );
}
}
else if ( method.equals( "file" ) )
{
String directory = ( String ) getFieldValue( "directory", obj );
if( directory == null || directory.equals("") )
{
ctxt.addActionError( "Directory is required." );
}
}
if( ctxt.hasActionErrors() )
{
return;
}
}
}

+ 1
- 0
archiva-webapp/src/main/resources/META-INF/plexus/application.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/SearchAction-checksumSearch-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/SearchAction-quickSearch-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAction-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 2
- 1
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureProxiedRepositoryAction-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -5,7 +6,7 @@
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,

+ 1
- 0
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 2
- 1
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureSyncedRepositoryAction-addSelectedSyncedRepository-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -5,7 +6,7 @@
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,

+ 2
- 1
archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureSyncedRepositoryAction-validation.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
@@ -5,7 +6,7 @@
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,

+ 35
- 18
archiva-webapp/src/main/resources/validators.xml View File

@@ -1,18 +1,35 @@
<validators>
<validator name="required" class="com.opensymphony.xwork.validator.validators.RequiredFieldValidator"/>
<validator name="requiredstring" class="com.opensymphony.xwork.validator.validators.RequiredStringValidator"/>
<validator name="int" class="com.opensymphony.xwork.validator.validators.IntRangeFieldValidator"/>
<validator name="double" class="com.opensymphony.xwork.validator.validators.DoubleRangeFieldValidator"/>
<validator name="date" class="com.opensymphony.xwork.validator.validators.DateRangeFieldValidator"/>
<validator name="expression" class="com.opensymphony.xwork.validator.validators.ExpressionValidator"/>
<validator name="fieldexpression" class="com.opensymphony.xwork.validator.validators.FieldExpressionValidator"/>
<validator name="email" class="com.opensymphony.xwork.validator.validators.EmailValidator"/>
<validator name="url" class="com.opensymphony.xwork.validator.validators.URLValidator"/>
<validator name="visitor" class="com.opensymphony.xwork.validator.validators.VisitorFieldValidator"/>
<validator name="conversion" class="com.opensymphony.xwork.validator.validators.ConversionErrorFieldValidator"/>
<validator name="stringlength" class="com.opensymphony.xwork.validator.validators.StringLengthFieldValidator"/>
<validator name="regex" class="com.opensymphony.xwork.validator.validators.RegexFieldValidator"/>
<validator name="interval" class="org.apache.maven.archiva.web.validator.IntervalValidator"/>
<validator name="syncedrepo" class="org.apache.maven.archiva.web.validator.SyncedRepositoryValidator"/>
</validators>

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<validators>
<validator name="required" class="com.opensymphony.xwork.validator.validators.RequiredFieldValidator"/>
<validator name="requiredstring" class="com.opensymphony.xwork.validator.validators.RequiredStringValidator"/>
<validator name="int" class="com.opensymphony.xwork.validator.validators.IntRangeFieldValidator"/>
<validator name="double" class="com.opensymphony.xwork.validator.validators.DoubleRangeFieldValidator"/>
<validator name="date" class="com.opensymphony.xwork.validator.validators.DateRangeFieldValidator"/>
<validator name="expression" class="com.opensymphony.xwork.validator.validators.ExpressionValidator"/>
<validator name="fieldexpression" class="com.opensymphony.xwork.validator.validators.FieldExpressionValidator"/>
<validator name="email" class="com.opensymphony.xwork.validator.validators.EmailValidator"/>
<validator name="url" class="com.opensymphony.xwork.validator.validators.URLValidator"/>
<validator name="visitor" class="com.opensymphony.xwork.validator.validators.VisitorFieldValidator"/>
<validator name="conversion" class="com.opensymphony.xwork.validator.validators.ConversionErrorFieldValidator"/>
<validator name="stringlength" class="com.opensymphony.xwork.validator.validators.StringLengthFieldValidator"/>
<validator name="regex" class="com.opensymphony.xwork.validator.validators.RegexFieldValidator"/>
<validator name="interval" class="org.apache.maven.archiva.web.validator.IntervalValidator"/>
<validator name="syncedrepo" class="org.apache.maven.archiva.web.validator.SyncedRepositoryValidator"/>
</validators>

+ 1
- 0
archiva-webapp/src/main/resources/xwork.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-webapp/src/main/webapp/WEB-INF/decorators.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-webapp/src/main/webapp/WEB-INF/web.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
archiva-webapp/src/test/resources/org/apache/maven/archiva/web/servlet/repository/RepositoryAccessTest.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 17
- 0
design/white-site/pom.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

+ 15
- 0
design/white-site/src/site/site.xml View File

@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project name="Archiva">
<bannerLeft>
<src>http://www.apache.org/images/asf_logo_wide.gif</src>

+ 1
- 0
design/white-site/src/site/xdoc/admin/add-proxied-repository.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
design/white-site/src/site/xdoc/admin/add-repository.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 1
- 0
design/white-site/src/site/xdoc/admin/add-sync-repository.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~

+ 17
- 0
design/white-site/src/site/xdoc/admin/config.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<document>
<properties>
<title>Archiva</title>

+ 17
- 0
design/white-site/src/site/xdoc/admin/delete-proxied-repository.xml View File

@@ -1,3 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<document>
<properties>
<title>Archiva</title>

+ 0
- 0
design/white-site/src/site/xdoc/admin/delete-repository.xml View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save