From 615cfd730e41fffdc3cc487f5d54094ea67009f5 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 16 Dec 2011 13:13:10 +0000 Subject: [PATCH] remove all tab characters and fix some formatting git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1215120 13f79535-47bb-0310-9956-ffa450edef68 --- archiva-cli/pom.xml | 2 +- .../src/site/apt/adminguide/repositories.apt | 314 ++++++++++------- archiva-docs/src/site/site.xml | 2 +- archiva-jetty/src/main/conf/jetty.xml | 12 +- .../src/main/mdo/configuration.mdo | 14 +- .../apache/archiva/proxy/WagonDelegate.java | 6 +- .../1.0/maven-metadata.xml | 8 +- ...stractLegacyRepositoryContentTestCase.java | 16 +- .../apache/archiva/web/startup/Banner.java | 2 +- .../src/main/webapp/WEB-INF/web.xml | 213 ++++++------ .../archiva/web/test/LegacySupportTest.java | 72 ++-- .../archiva/web/test/NetworkProxiesTest.java | 72 ++-- .../src/test/tomcat5x/conf/catalina.policy | 22 +- .../src/test/tomcat6x/conf/context.xml | 70 ++-- .../web/mapper/RepositoryActionMapper.java | 4 +- .../src/main/resources/archiva-mime-types.txt | 2 +- .../jsp/admin/confirmAddRepository.jsp | 30 +- .../WEB-INF/jsp/admin/editNetworkProxy.jsp | 20 +- .../WEB-INF/jsp/admin/proxyConnectors.jsp | 37 +- .../webapp/WEB-INF/jsp/admin/repositories.jsp | 10 +- .../jsp/include/deleteArtifactForm.jspf | 1 - .../WEB-INF/jsp/include/uploadForm.jspf | 5 +- .../main/webapp/WEB-INF/jsp/quickSearch.jsp | 4 +- .../WEB-INF/jsp/reports/auditLogReport.jsp | 223 ++++++------ .../WEB-INF/jsp/reports/basicReport.jsp | 31 +- .../webapp/WEB-INF/jsp/reports/pickReport.jsp | 8 +- .../WEB-INF/jsp/reports/statisticsReport.jsp | 76 ++--- .../src/main/webapp/WEB-INF/jsp/results.jsp | 322 +++++++++--------- .../main/webapp/WEB-INF/jsp/showArtifact.jsp | 8 +- .../src/main/webapp/WEB-INF/web.xml | 198 +++++------ .../src/main/webapp/css/maven-base.css | 2 +- .../src/main/webapp/css/maven-theme.css | 28 +- .../src/main/webapp/css/site.css | 278 +++++++-------- .../org/apache/archiva/webdav/util/mime.types | 4 +- .../repository-servlet-security-test/web.xml | 4 +- .../src/test/resources/WEB-INF/web.xml | 4 +- .../src/test/resources/archiva-mime-types.txt | 2 +- .../archiva-xmlrpc/archiva-xmlrpc-api/pom.xml | 2 +- .../archiva-web/archiva-xmlrpc/pom.xml | 2 +- 39 files changed, 1075 insertions(+), 1055 deletions(-) diff --git a/archiva-cli/pom.xml b/archiva-cli/pom.xml index 8e3a759da..5c6206475 100644 --- a/archiva-cli/pom.xml +++ b/archiva-cli/pom.xml @@ -110,7 +110,7 @@ - xerces:xercesImpl + xerces:xercesImpl xml-apis:xml-apis xalan:xalan commons-beanutils:commons-beanutils diff --git a/archiva-docs/src/site/apt/adminguide/repositories.apt b/archiva-docs/src/site/apt/adminguide/repositories.apt index fb555dfeb..83a8c5a5f 100644 --- a/archiva-docs/src/site/apt/adminguide/repositories.apt +++ b/archiva-docs/src/site/apt/adminguide/repositories.apt @@ -31,133 +31,170 @@ Understanding Repository Configuration of Apache Archiva ~~TODO: revise more as suggested by Jeff in the dev list - Archiva has two types of repository configuration: managed repository and remote repository. - + Archiva has two types of repository configuration: managed repository and + remote repository. + * Managed Repository - A managed repository is a repository which resides locally to the server where Archiva is running. It could serve as a - proxy repository, an internal deployment repository or a local mirror repository. - - Managed repository fields: - + A managed repository is a repository which resides locally to the server where + Archiva is running. It could serve as a proxy repository, an internal deployment + repository or a local mirror repository. + + Managed repository fields: + * - the id of the repository. This must be unique. - + * - the name of the repository. - - * - the location of the repository. If the path specified does not exist, Archiva will create the missing - directories. - - * - the location of the index files generated by Archiva. If no location is specified, then the index directory - (named <<<.indexer>>>) will be created at the root of the repository directory. Another directory named <<<.index>>> is also created - at the root of the repository directory. This is not configurable though as it contains the packaged/bundled index which is consumed - by different consumers of the index such as M2Eclipse. - + + * - the location of the repository. If the path specified does not + exist, Archiva will create the missing directories. + + * - the location of the index files generated by Archiva. If + no location is specified, then the index directory (named <<<.indexer>>>) + will be created at the root of the repository directory. Another directory + named <<<.index>>> is also created at the root of the repository directory. + This is not configurable though as it contains the packaged/bundled index + which is consumed by different consumers of the index such as M2Eclipse. + * - the repository layout (maven 2 or maven 1) - - * - the {{{http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html}cron schedule}} when repository scanning will be executed. - - * - the first option for repository purge. Archiva will check how old the artifact is - and if it is older than the set number of days in this field, then the artifact will be deleted respecting the retention - count (see #7) of course. In order to disable the purge by number of days old and set Archiva to purge by retention count, just set the - repository purge field to 0. The maximum number of days which can be set here is 1000. See the Repository Purge section - below for more details. - - * - the second option for repository purge. When running the repository purge, Archiva - will retain only the number of artifacts set for this field for a specific snapshot version. See the Repository Purge section - below for more details. - - * - specifies whether there are released artifacts in the repository. - - * - specifies whether released artifacts that are already existing in the repository can be overwritten. - Note that this only take effects for non-snapshot deployments. - - * - specifies whether there are snapshot artifacts in the repository. - - * - specifies whether the repository can be scanned, meaning it is a local repository which can be indexed, browsed, - purged, etc. - - * - specifies whether to remove those snapshot artifacts which already has release versions - of it in the repository during repository purge. - + + * - the + {{{http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html}cron + schedule}} when repository scanning will be executed. + + * - the first option for repository purge. + Archiva will check how old the artifact is and if it is older than the set + number of days in this field, then the artifact will be deleted respecting + the retention count (see #7) of course. In order to disable the purge by + number of days old and set Archiva to purge by retention count, just set the + repository purge field to 0. The maximum number of days which can be set + here is 1000. See the Repository Purge section below for more details. + + * - the second option for repository + purge. When running the repository purge, Archiva will retain only the + number of artifacts set for this field for a specific snapshot version. See + the Repository Purge section below for more details. + + * - specifies whether there are released artifacts in the + repository. + + * - specifies whether released + artifacts that are already existing in the repository can be overwritten. + Note that this only take effects for non-snapshot deployments. + + * - specifies whether there are snapshot artifacts in the + repository. + + * - specifies whether the repository can be scanned, meaning it is + a local repository which can be indexed, browsed, purged, etc. + + * - specifies whether to remove those snapshot + artifacts which already has release versions of it in the repository during + repository purge. + [] - - Each repository has its own Webdav url. This allows the user to browse and access the repository via webdav. The url has the - following format: - -+----+ + + Each repository has its own Webdav url. This allows the user to browse and + access the repository via webdav. The url has the following format: + ++----+ http://[URL TO ARCHIVA]/repository/[REPOSITORY ID] (e.g. http://localhost:8080/archiva/repository/releases). +----+ - A pom snippet is also available for each repository. The \ section can be copied and pasted into a - project's pom to specify that the project will be deployed in that managed repository. The \ section on the - other hand, can be copied and pasted to a project's pom.xml or to Maven's settings.xml to tell Maven to get artifacts - from the managed repository when building the project. - + A pom snippet is also available for each repository. The + \ section can be copied and pasted into a project's + pom to specify that the project will be deployed in that managed repository. + The \ section on the other hand, can be copied and pasted to a + project's pom.xml or to Maven's settings.xml to tell Maven to get artifacts + from the managed repository when building the project. + * Remote Repository - A remote repository is a repository which resides remotely. These repositories are usually the proxied repositories. See - Proxy Connectors on how to proxy a repository. + A remote repository is a repository which resides remotely. These repositories + are usually the proxied repositories. See Proxy Connectors on how to proxy a + repository. + + Remote repository fields: - Remote repository fields: - * - the id of the remote repository. - + * - the name of the remote repository. - - * - the url of the remote repository. It is also possible to use a 'file://' url to proxy a local repository. Be careful that if this local repository is a managed repository of archiva which has some proxies connectors, those ones won't be triggered. - - * - the username (if authentication is needed) to be used to access the repository. - - * - the password (if authentication is needed) to be used to access the repository. - - * - the layout (maven 2 or maven 1) of the remote repository. - * - to activate downloading remote index to add available remote artifacts in search queries. + * - the url of the remote repository. It is also possible to use a + 'file://' url to proxy a local repository. Be careful that if this local + repository is a managed repository of archiva which has some proxies + connectors, those ones won't be triggered. - * - path of the remote index directory. + * - the username (if authentication is needed) to be used to access + the repository. - * - cron expression for downloading remote index (default weekly on sunday) + * - the password (if authentication is needed) to be used to access + the repository. - * - path to store index directory, default will be ${appserver.base}/data/remotes/${repositoryId}/.index + * - the layout (maven 2 or maven 1) of the remote repository. - * - read time out for downloading remote index files (default 300) + * - to activate downloading remote index to + add available remote artifacts in search queries. - * - proxy to use for downloading remote index files. + * - path of the remote index + directory. + * - cron expression for downloading remote index (default + weekly on sunday) + * - path to store index directory, default will be + ${appserver.base}/data/remotes/${repositoryId}/.index + + * - read time out for downloading + remote index files (default 300) + + * - proxy to use for + downloading remote index files. [../images/remote-repositories.png] Remote Repositories You can also trigger an immediate download of remote index files. - + * Scanning a Repository - - Repository scan can be executed on schedule or it can be explicitly executed by clicking the 'Scan Repository Now' button in - the repositories page. By default, Archiva only processes new artifacts in the repository with respect to the last run of the - repository scanner. Meaning that if the artifact's last modified date is newer than the last repository scan, then the artifact - will be processed. Otherwise, it will be skipped. You can override this behavior and force Archiva to process all artifacts regardless - of its age by ticking the 'Process All Artifacts' checkbox in the repositories page and clicking the 'Scan Repository Now' button. + + Repository scan can be executed on schedule or it can be explicitly executed + by clicking the 'Scan Repository Now' button in the repositories page. By + default, Archiva only processes new artifacts in the repository with respect + to the last run of the repository scanner. Meaning that if the artifact's last + modified date is newer than the last repository scan, then the artifact will + be processed. Otherwise, it will be skipped. You can override this behavior + and force Archiva to process all artifacts regardless of its age by ticking + the 'Process All Artifacts' checkbox in the repositories page and clicking the + 'Scan Repository Now' button. [../images/repositories.png] Repositories - For every artifact found by the repository scanner, processing is done on this artifact by different - consumers. Examples of the processing done are: indexing, repository purge and database update. Details about consumers are - available in the {{{./consumers.html} Consumers}} page. + For every artifact found by the repository scanner, processing is done on this + artifact by different consumers. Examples of the processing done are: indexing, + repository purge and database update. Details about consumers are available in + the {{{./consumers.html} Consumers}} page. * Repository Purge - Repository purge is the process of cleaning up the repository of old snapshots. When deploying a snapshot to a repository, - Maven deploys the project/artifact with a timestamped version. Doing daily/nightly builds of the project then tends to bloat - the repository. What if the artifact is large? Then disk space will definitely be a problem. That's where Archiva's repository - purge feature comes in. Given a criteria to use -- by the number of days old and by retention count, it would clean up the - repository by removing old snapshots. + Repository purge is the process of cleaning up the repository of old + snapshots. When deploying a snapshot to a repository, Maven deploys the + project/artifact with a timestamped version. Doing daily/nightly builds of the + project then tends to bloat the repository. What if the artifact is large? + Then disk space will definitely be a problem. That's where Archiva's + repository purge feature comes in. Given a criteria to use -- by the number of + days old and by retention count, it would clean up the repository by removing + old snapshots. - Please take note that the by number of days old criteria is activated by default (set to 100 days). In order to de-activate it and - use the by retention count criteria, you must set the Repository Purge By Days Older field to 0. Another thing to note here is that - if the by number of days old criteria is activated, the retention count would still be respected (See the Repository Purge By Days Older - section below for more details) but not the other way around. - - Let's take a look at different behaviours for repository purge using the following scenario: + Please take note that the by number of days old criteria is activated by + default (set to 100 days). In order to de-activate it and use the by retention + count criteria, you must set the Repository Purge By Days Older field to 0. + Another thing to note here is that if the by number of days old criteria is + activated, the retention count would still be respected (See the Repository + Purge By Days Older section below for more details) but not the other way + around. + + Let's take a look at different behaviours for repository purge using the + following scenario: +----+ Artifacts in the repository: @@ -169,48 +206,61 @@ Artifacts in the repository: ../artifact-x/2.0-SNAPSHOT/artifact-x-20070203.028902-4.jar ../artifact-x/2.0-SNAPSHOT/artifact-x-20070203.028902-4.pom +----+ - + [[1]] Repository Purge By Number of Days Older - - Using this criteria for the purge, Archiva will check how old an artifact is and if it is older than the set value in the - repository purge by days older field, then the artifact will be deleted respecting the retention count of course. - - If repository purge by days older is set to 100 days (with repository purge by retention count field set to 1), - and the current date is let's say 03-01-2007, given the scenario above.. the following artifacts will be retained: - artifact-x-20070113.034619-3.jar, artifact-x-20070113.034619-3.pom, artifact-x-20070203.028902-4.jar and - artifact-x-20070203.028902-4.pom. It is clear in the version timestamps that these 4 artifacts are not more than - 100 days old from the current date (which is 03-01-2007 in our example) so they are all retained. In this case - the retention count doesn't have any effect since the priority is the age of the artifact. - - Now, if the repository purge by days older is set to 30 days (with repository purge by retention count field still - set to 1) and the current date is still 03-01-2007, then given the same scenario above.. only the following artifacts - will be retained: artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom. In this case, we can see - that the retained artifacts are still not older by the number of days set in the repository purge by days older field - and the retention count is still met. - - Now, let's set the repository purge by days older to 10 days (with repository purge by retention count field still - set to 1) and the current date is still 03-01-2007, then still given the same repository contents above.. the - following artifacts will still be retained: artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom. - It is clear from the version timestamps that the artifacts ARE MORE THAN the repository purge by days older value, - which is 10 days. Why is it still retained? Recall the value of the repository purge by retention count -- 1 :) - This ensures that there is ALWAYS 1 artifact timestamped version retained for every unique version snapshot directory - of an artifact. - + + Using this criteria for the purge, Archiva will check how old an artifact is + and if it is older than the set value in the repository purge by days older + field, then the artifact will be deleted respecting the retention count of + course. + + If repository purge by days older is set to 100 days (with repository purge by + retention count field set to 1), and the current date is let's say 03-01-2007, + given the scenario above.. the following artifacts will be retained: + artifact-x-20070113.034619-3.jar, artifact-x-20070113.034619-3.pom, + artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom. It is + clear in the version timestamps that these 4 artifacts are not more than 100 + days old from the current date (which is 03-01-2007 in our example) so they are + all retained. In this case the retention count doesn't have any effect since the + priority is the age of the artifact. + + Now, if the repository purge by days older is set to 30 days (with repository + purge by retention count field still set to 1) and the current date is still + 03-01-2007, then given the same scenario above.. only the following artifacts + will be retained: artifact-x-20070203.028902-4.jar and + artifact-x-20070203.028902-4.pom. In this case, we can see that the retained + artifacts are still not older by the number of days set in the repository purge + by days older field and the retention count is still met. + + Now, let's set the repository purge by days older to 10 days (with repository + purge by retention count field still set to 1) and the current date is still + 03-01-2007, then still given the same repository contents above.. the following + artifacts will still be retained: artifact-x-20070203.028902-4.jar and + artifact-x-20070203.028902-4.pom. It is clear from the version timestamps that + the artifacts ARE MORE THAN the repository purge by days older value, which is + 10 days. Why is it still retained? Recall the value of the repository purge by + retention count -- 1 :) This ensures that there is ALWAYS 1 artifact timestamped + version retained for every unique version snapshot directory of an artifact. + [[2]] Repository Purge By Retention Count - - If the repository purge by retention count field is set to 2, then only the artifacts artifact-x-20070113.034619-3.jar, - artifact-x-20070113.034619-3.pom, artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom will be retained - in the repository. The oldest snapshots will be deleted maintaining only a number of snapshots equivalent to the set - retention count (regardless of how old or new the artifact is). + + If the repository purge by retention count field is set to 2, then only the + artifacts artifact-x-20070113.034619-3.jar, artifact-x-20070113.034619-3.pom, + artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom will be + retained in the repository. The oldest snapshots will be deleted maintaining + only a number of snapshots equivalent to the set retention count (regardless of + how old or new the artifact is). ** Deleting Released Snapshots - You can also configure Archiva to clean up snapshot artifacts that have already been released. This can be done by ticking - the Delete Released Snapshots checkbox in the Repository Configuration form. + You can also configure Archiva to clean up snapshot artifacts that have + already been released. This can be done by ticking the Delete Released Snapshots + checkbox in the Repository Configuration form. + + Once this feature is enabled, if Archiva encounters a snapshot artifact during + repository scanning, it would check <> the repositories configured for a + released version of that snapshot. If it finds one, then it would delete the + entire snapshot version directory. - Once this feature is enabled, if Archiva encounters a snapshot artifact during repository scanning, it would check <> the - repositories configured for a released version of that snapshot. If it finds one, then it would delete the entire - snapshot version directory. - - It should be noted that this feature is entirely separate from the repository purge by number of days older and by - retention count. + It should be noted that this feature is entirely separate from the repository + purge by number of days older and by retention count. diff --git a/archiva-docs/src/site/site.xml b/archiva-docs/src/site/site.xml index cea8f4612..e299eeb09 100644 --- a/archiva-docs/src/site/site.xml +++ b/archiva-docs/src/site/site.xml @@ -50,7 +50,7 @@ - + diff --git a/archiva-jetty/src/main/conf/jetty.xml b/archiva-jetty/src/main/conf/jetty.xml index 04bb55818..91d2c091e 100644 --- a/archiva-jetty/src/main/conf/jetty.xml +++ b/archiva-jetty/src/main/conf/jetty.xml @@ -67,8 +67,8 @@ 2 false 8443 - 5000 - 5000 + 5000 + 5000 @@ -162,9 +162,9 @@ /apps - false - true - false + false + true + false @@ -271,7 +271,7 @@ - + mail/Session diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo b/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo index 4da4d8390..7a0982aa4 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo @@ -230,10 +230,10 @@ } private java.util.Map> groupToRepositoryMap; - + public java.util.Map> getGroupToRepositoryMap() { - if ( repositoryGroups != null && managedRepositories != null ) + if ( repositoryGroups != null && managedRepositories != null ) { java.util.Map> map = new java.util.HashMap>(); @@ -701,23 +701,23 @@ public String getGroupId() { return artifact.split( ":" )[0]; - } + } public String getArtifactId() { return artifact.split( ":" )[1]; - } + } public String getVersion() { return artifact.split( ":" )[2]; - } + } public String getClassifier() { - String classifier = artifact.split( ":" )[3]; + String classifier = artifact.split( ":" )[3]; return classifier.length() > 0 ? classifier : null; - } + } public String getType() { diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java index d25ef63a9..6595a3fd5 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java @@ -101,16 +101,16 @@ public class WagonDelegate { return delegate.supportsDirectoryCopy(); } - + public void setTimeout(int val) { - // ignore + // ignore } public int getTimeout() { return 0; - } + } public Repository getRepository() { diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/repositories/managed/org/apache/maven/test/get-default-metadata/1.0/maven-metadata.xml b/archiva-modules/archiva-base/archiva-proxy/src/test/repositories/managed/org/apache/maven/test/get-default-metadata/1.0/maven-metadata.xml index 7f90f2a39..e008e501c 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/repositories/managed/org/apache/maven/test/get-default-metadata/1.0/maven-metadata.xml +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/repositories/managed/org/apache/maven/test/get-default-metadata/1.0/maven-metadata.xml @@ -18,7 +18,7 @@ --> - org.apache.maven.test - get-default-metadata - 1.0 - \ No newline at end of file + org.apache.maven.test + get-default-metadata + 1.0 + diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java index 965fbb9ff..a103ddcee 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/content/AbstractLegacyRepositoryContentTestCase.java @@ -345,13 +345,13 @@ public abstract class AbstractLegacyRepositoryContentTestCase assertLayout( path, groupId, artifactId, version, null, type ); } - /** - * [MRM-768] Artifact type "maven-plugin" does not distinguish maven1 and maven2 plugins. - * This produces conflicts when m2 plugins are stored in legacy-layout repository - */ + /** + * [MRM-768] Artifact type "maven-plugin" does not distinguish maven1 and maven2 plugins. + * This produces conflicts when m2 plugins are stored in legacy-layout repository + */ @Test - public void testMaven1Maven2PluginTypeDistinc() - throws Exception + public void testMaven1Maven2PluginTypeDistinc() + throws Exception { String groupId = "com.sun.tools.xjc.maven2"; String artifactId = "maven-jaxb-plugin"; @@ -360,8 +360,8 @@ public abstract class AbstractLegacyRepositoryContentTestCase String path = "com.sun.tools.xjc.maven2/maven-plugins/maven-jaxb-plugin-1.1.jar"; assertLayout( path, groupId, artifactId, version, null, type ); - } - + } + /** * Perform a roundtrip through the layout routines to determine success. * @param classifier TODO diff --git a/archiva-modules/archiva-web/archiva-webapp-common/src/main/java/org/apache/archiva/web/startup/Banner.java b/archiva-modules/archiva-web/archiva-webapp-common/src/main/java/org/apache/archiva/web/startup/Banner.java index 344cbe696..343358f19 100644 --- a/archiva-modules/archiva-web/archiva-webapp-common/src/main/java/org/apache/archiva/web/startup/Banner.java +++ b/archiva-modules/archiva-web/archiva-webapp-common/src/main/java/org/apache/archiva/web/startup/Banner.java @@ -224,6 +224,6 @@ public class Banner public static void display( String version ) { String banner = getBanner( version ); - LoggerFactory.getLogger( Banner.class ).info( StringUtils.repeat( "_", 25 ) + eol + banner ); + LoggerFactory.getLogger( Banner.class ).info( StringUtils.repeat( "_", 25 ) + eol + banner ); } } diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml index c607265e8..a89be4580 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml @@ -44,118 +44,117 @@ - - encodingFilter - /* - + + encodingFilter + /* + + + + + org.springframework.web.context.ContextLoaderListener + + + + + + org.apache.archiva.web.startup.ArchivaStartup + + + + + net.sf.ehcache.constructs.web.ShutdownListener + + - - org.springframework.web.context.ContextLoaderListener - - - - - - org.apache.archiva.web.startup.ArchivaStartup - - - - - net.sf.ehcache.constructs.web.ShutdownListener - - - - - org.apache.archiva.webdav.util.TemporaryGroupIndexSessionCleaner - + org.apache.archiva.webdav.util.TemporaryGroupIndexSessionCleaner + + + + RepositoryServlet + + org.apache.archiva.webdav.RepositoryServlet + + + 1 + + + + XmlRpcServlet + + com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet + + + serviceListBeanName + xmlrpcServicesList + + + authHandlerBeanName + xmlRpcAuthenticator + + + enabledForExtensions + true + + 2 + - RepositoryServlet - - org.apache.archiva.webdav.RepositoryServlet - - - 1 - - - - XmlRpcServlet - - com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet - - - serviceListBeanName - xmlrpcServicesList - - - authHandlerBeanName - xmlRpcAuthenticator - - - enabledForExtensions - true - - 2 - - - - RedbackXmlRpcServlet - com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet - - serviceListBeanName - redbackXmlrpcServicesList - - - authHandlerBeanName - redbackXmlRpcAuthenticator - - - enabledForExtensions - true - - - - - RssFeedServlet - - org.apache.archiva.web.rss.RssFeedServlet - - - - - RssFeedServlet - /feeds/* - - - - RepositoryServlet - /repository/* - - - - XmlRpcServlet - /xmlrpc - - - - RedbackXmlRpcServlet - /redback-xmlrpc - - - - jdbc/users - javax.sql.DataSource - Container - Shareable - - - mail/Session - javax.mail.Session - Container - Shareable - + RedbackXmlRpcServlet + com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet + + serviceListBeanName + redbackXmlrpcServicesList + + + authHandlerBeanName + redbackXmlRpcAuthenticator + + + enabledForExtensions + true + + + + + RssFeedServlet + + org.apache.archiva.web.rss.RssFeedServlet + + + + + RssFeedServlet + /feeds/* + + + + RepositoryServlet + /repository/* + + + + XmlRpcServlet + /xmlrpc + + + + RedbackXmlRpcServlet + /redback-xmlrpc + + + jdbc/users + javax.sql.DataSource + Container + Shareable + + + mail/Session + javax.mail.Session + Container + Shareable + CXFServlet diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/LegacySupportTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/LegacySupportTest.java index ffa89699d..36e176670 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/LegacySupportTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/LegacySupportTest.java @@ -78,65 +78,65 @@ public class LegacySupportTest assertTextPresent( "You must enter a type." ); } - public void testAddLegacyArtifact_InvalidValues() - { + public void testAddLegacyArtifact_InvalidValues() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "<> ~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"", + addLegacyArtifactPath( "<> ~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"" , "<> \\/~+[ ]'\"", false ); - assertTextPresent( "Legacy path must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); + assertTextPresent( "Legacy path must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); assertTextPresent( "Group id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); assertTextPresent( "Artifact id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); assertTextPresent( "Version must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); assertTextPresent( "Classifier must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); assertTextPresent( "Type must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } + } - public void testAddLegacyArtifact_InvalidLegacyPath() - { + public void testAddLegacyArtifact_InvalidLegacyPath() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "<> ~+[ ]'\"" , "test" , "test" , "1.0-SNAPSHOT" , "testing" , "jar", false ); - assertTextPresent( "Legacy path must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); - } + addLegacyArtifactPath( "<> ~+[ ]'\"" , "test" , "test" , "1.0-SNAPSHOT" , "testing" , "jar", false ); + assertTextPresent( "Legacy path must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); + } - public void testAddLegacyArtifact_InvalidGroupId() - { + public void testAddLegacyArtifact_InvalidGroupId() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "test" , "<> \\/~+[ ]'\"" , "test" , "1.0-SNAPSHOT" , "testing" , "jar", false ); - assertTextPresent( "Group id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } + addLegacyArtifactPath( "test" , "<> \\/~+[ ]'\"" , "test" , "1.0-SNAPSHOT" , "testing" , "jar", false ); + assertTextPresent( "Group id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + } - public void testAddLegacyArtifact_InvalidArtifactId() - { + public void testAddLegacyArtifact_InvalidArtifactId() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "test" , "test" , "<> \\/~+[ ]'\"" , "1.0-SNAPSHOT" , "testing" , "jar", false ); - assertTextPresent( "Artifact id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } + addLegacyArtifactPath( "test" , "test" , "<> \\/~+[ ]'\"" , "1.0-SNAPSHOT" , "testing" , "jar", false ); + assertTextPresent( "Artifact id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + } - public void testAddLegacyArtifact_InvalidVersion() - { + public void testAddLegacyArtifact_InvalidVersion() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "test" , "test" , "test" , "<> \\/~+[ ]'\"" , "testing" , "jar", false ); - assertTextPresent( "Version must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } + addLegacyArtifactPath( "test" , "test" , "test" , "<> \\/~+[ ]'\"" , "testing" , "jar", false ); + assertTextPresent( "Version must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + } - public void testAddLegacyArtifact_InvalidType() - { + public void testAddLegacyArtifact_InvalidType() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "test" , "test" , "test" , "1.0-SNAPSHOT" , "testing" , "<> \\/~+[ ]'\"", false ); - assertTextPresent( "Type must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } + addLegacyArtifactPath( "test" , "test" , "test" , "1.0-SNAPSHOT" , "testing" , "<> \\/~+[ ]'\"", false ); + assertTextPresent( "Type must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + } - public void testAddLegacyArtifact_InvalidClassifier() - { + public void testAddLegacyArtifact_InvalidClassifier() + { goToLegacySupportPage(); clickLinkWithText( "Add" ); - addLegacyArtifactPath( "test" , "test" , "test" , "1.0-SNAPSHOT" , "<> \\/~+[ ]'\"" , "jar", false ); - assertTextPresent( "Classifier must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } -} \ No newline at end of file + addLegacyArtifactPath( "test" , "test" , "test" , "1.0-SNAPSHOT" , "<> \\/~+[ ]'\"" , "jar", false ); + assertTextPresent( "Classifier must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + } +} diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/NetworkProxiesTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/NetworkProxiesTest.java index dd92ba565..71b445778 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/NetworkProxiesTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/NetworkProxiesTest.java @@ -61,55 +61,55 @@ public class NetworkProxiesTest } @Test (dependsOnMethods = { "testAddNetworkProxiesNullHostname" } ) - public void testAddNetworkProxiesInvalidValues() - { - goToNetworkProxiesPage(); - addNetworkProxy( "<> \\/~+[ ]'\"", "<> ~+[ ]'\"", "<> ~+[ ]'\"", "0", "<> ~+[ ]'\"", ""); - assertTextPresent( "Proxy id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + public void testAddNetworkProxiesInvalidValues() + { + goToNetworkProxiesPage(); + addNetworkProxy( "<> \\/~+[ ]'\"", "<> ~+[ ]'\"", "<> ~+[ ]'\"", "0", "<> ~+[ ]'\"", ""); + assertTextPresent( "Proxy id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); assertTextPresent( "Protocol must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), dots(.), colons(:), and dashes(-)." ); assertTextPresent( "Host must only contain alphanumeric characters, equals(=), question-marks(?), exclamation-points(!), ampersands(&), forward-slashes(/), back-slashes(\\), underscores(_), dots(.), colons(:), tildes(~), and dashes(-)." ); assertTextPresent( "Port needs to be larger than 1" ); assertTextPresent( "Username must only contain alphanumeric characters, at's(@), forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); - } + } @Test (dependsOnMethods = { "testAddNetworkProxiesInvalidValues" } ) - public void testAddNetworkProxiesInvalidIdentifier() - { - goToNetworkProxiesPage(); - addNetworkProxy( "<> \\/~+[ ]'\"", "http", "localhost", "8080", "", ""); - assertTextPresent( "Proxy id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); - } + public void testAddNetworkProxiesInvalidIdentifier() + { + goToNetworkProxiesPage(); + addNetworkProxy( "<> \\/~+[ ]'\"", "http", "localhost", "8080", "", ""); + assertTextPresent( "Proxy id must only contain alphanumeric characters, underscores(_), dots(.), and dashes(-)." ); + } @Test (dependsOnMethods = { "testAddNetworkProxiesInvalidIdentifier" } ) - public void testAddNetworkProxiesInvalidProtocol() - { - goToNetworkProxiesPage(); - addNetworkProxy( "testing123", "<> ~+[ ]'\"", "localhost", "8080", "", ""); - assertTextPresent( "Protocol must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), dots(.), colons(:), and dashes(-)." ); - } + public void testAddNetworkProxiesInvalidProtocol() + { + goToNetworkProxiesPage(); + addNetworkProxy( "testing123", "<> ~+[ ]'\"", "localhost", "8080", "", ""); + assertTextPresent( "Protocol must only contain alphanumeric characters, forward-slashes(/), back-slashes(\\), dots(.), colons(:), and dashes(-)." ); + } @Test (dependsOnMethods = { "testAddNetworkProxiesInvalidProtocol" } ) - public void testAddNetworkProxiesInvalidHostname() - { - goToNetworkProxiesPage(); - addNetworkProxy( "testing123", "http", "<> ~+[ ]'\"", "8080", "", ""); - assertTextPresent( "Host must only contain alphanumeric characters, equals(=), question-marks(?), exclamation-points(!), ampersands(&), forward-slashes(/), back-slashes(\\), underscores(_), dots(.), colons(:), tildes(~), and dashes(-)." ); - } + public void testAddNetworkProxiesInvalidHostname() + { + goToNetworkProxiesPage(); + addNetworkProxy( "testing123", "http", "<> ~+[ ]'\"", "8080", "", ""); + assertTextPresent( "Host must only contain alphanumeric characters, equals(=), question-marks(?), exclamation-points(!), ampersands(&), forward-slashes(/), back-slashes(\\), underscores(_), dots(.), colons(:), tildes(~), and dashes(-)." ); + } @Test (dependsOnMethods = { "testAddNetworkProxiesInvalidHostname" } ) - public void testAddNetworkProxiesInvalidPort() - { - goToNetworkProxiesPage(); - addNetworkProxy( "testing123", "http", "localhost", "0", "", ""); - assertTextPresent( "Port needs to be larger than 1" ); - } + public void testAddNetworkProxiesInvalidPort() + { + goToNetworkProxiesPage(); + addNetworkProxy( "testing123", "http", "localhost", "0", "", ""); + assertTextPresent( "Port needs to be larger than 1" ); + } @Test (dependsOnMethods = { "testAddNetworkProxiesInvalidPort" } ) - public void testAddNetworkProxiesInvalidUsername() - { - goToNetworkProxiesPage(); - addNetworkProxy( "testing123", "http", "localhost", "8080", "<> ~+[ ]'\"", ""); - assertTextPresent( "Username must only contain alphanumeric characters, at's(@), forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); + public void testAddNetworkProxiesInvalidUsername() + { + goToNetworkProxiesPage(); + addNetworkProxy( "testing123", "http", "localhost", "8080", "<> ~+[ ]'\"", ""); + assertTextPresent( "Username must only contain alphanumeric characters, at's(@), forward-slashes(/), back-slashes(\\), underscores(_), dots(.), and dashes(-)." ); } @Test (dependsOnMethods = { "testAddNetworkProxiesInvalidUsername" } ) @@ -145,4 +145,4 @@ public class NetworkProxiesTest assertTextPresent( "testing123" ); } -} \ No newline at end of file +} diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat5x/conf/catalina.policy b/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat5x/conf/catalina.policy index 53a6c90e2..e26f0a97a 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat5x/conf/catalina.policy +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat5x/conf/catalina.policy @@ -114,22 +114,22 @@ grant { permission java.util.PropertyPermission "java.vendor", "read"; permission java.util.PropertyPermission "java.vendor.url", "read"; permission java.util.PropertyPermission "java.class.version", "read"; - permission java.util.PropertyPermission "java.specification.version", "read"; - permission java.util.PropertyPermission "java.specification.vendor", "read"; - permission java.util.PropertyPermission "java.specification.name", "read"; + permission java.util.PropertyPermission "java.specification.version", "read"; + permission java.util.PropertyPermission "java.specification.vendor", "read"; + permission java.util.PropertyPermission "java.specification.name", "read"; - permission java.util.PropertyPermission "java.vm.specification.version", "read"; - permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; - permission java.util.PropertyPermission "java.vm.specification.name", "read"; - permission java.util.PropertyPermission "java.vm.version", "read"; - permission java.util.PropertyPermission "java.vm.vendor", "read"; - permission java.util.PropertyPermission "java.vm.name", "read"; + permission java.util.PropertyPermission "java.vm.specification.version", "read"; + permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; + permission java.util.PropertyPermission "java.vm.specification.name", "read"; + permission java.util.PropertyPermission "java.vm.version", "read"; + permission java.util.PropertyPermission "java.vm.vendor", "read"; + permission java.util.PropertyPermission "java.vm.name", "read"; // Required for OpenJMX permission java.lang.RuntimePermission "getAttribute"; - // Allow read of JAXP compliant XML parser debug - permission java.util.PropertyPermission "jaxp.debug", "read"; + // Allow read of JAXP compliant XML parser debug + permission java.util.PropertyPermission "jaxp.debug", "read"; // Precompiled JSPs need access to this package. permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime"; diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat6x/conf/context.xml b/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat6x/conf/context.xml index 47ede6270..876067a0f 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat6x/conf/context.xml +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/tomcat6x/conf/context.xml @@ -1,35 +1,35 @@ - - - - - - - WEB-INF/web.xml - - - - - - - - \ No newline at end of file + + + + + + + WEB-INF/web.xml + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/mapper/RepositoryActionMapper.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/mapper/RepositoryActionMapper.java index b414676d2..faff746c8 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/mapper/RepositoryActionMapper.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/mapper/RepositoryActionMapper.java @@ -76,8 +76,8 @@ public class RepositoryActionMapper String path = httpServletRequest.getServletPath(); if ("".equals(path)){ - // if JEE 5 spec is correctly implemented, the "/*" pattern implies an empty string in servletpath - path = httpServletRequest.getPathInfo(); + // if JEE 5 spec is correctly implemented, the "/*" pattern implies an empty string in servletpath + path = httpServletRequest.getPathInfo(); } if (StringUtils.isEmpty( path )) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/archiva-mime-types.txt b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/archiva-mime-types.txt index 43e6cb24f..3f1e6a3b3 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/archiva-mime-types.txt +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/archiva-mime-types.txt @@ -19,7 +19,7 @@ application/octet-stream bin dms lha lzh exe class so dll dmg application/oda oda application/ogg ogg application/pdf pdf -application/pgp-encrypted pgp +application/pgp-encrypted pgp application/postscript ai eps ps application/rdf+xml rdf application/smil smi smil diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmAddRepository.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmAddRepository.jsp index 727880586..df1c66fc1 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmAddRepository.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmAddRepository.jsp @@ -70,14 +70,14 @@ <%--td>${repository.layout} - - Maven 2.x Repository - - - Maven 1.x Repository - - - + + Maven 2.x Repository + + + Maven 1.x Repository + + + Cron: @@ -109,7 +109,7 @@ - +
@@ -127,12 +127,12 @@ - - - - - - + + + + + +
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editNetworkProxy.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editNetworkProxy.jsp index 56af90dad..b970d0616 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editNetworkProxy.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editNetworkProxy.jsp @@ -24,7 +24,7 @@ - + @@ -65,14 +65,14 @@ - - - - - - - - + + + + + + + + <%@ include file="/WEB-INF/jsp/admin/include/networkProxyForm.jspf" %> @@ -85,4 +85,4 @@ - \ No newline at end of file + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp index 9c841ef57..0d215d735 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp @@ -62,19 +62,18 @@
- - - - - "/> - Add - - - - - "/> - Add (Disabled. No remote repositories) - + + + + + "/> Add + + + + + "/> + Add (Disabled. No remote repositories) +
@@ -143,14 +142,14 @@ - - - + + + - - - + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp index f755ccd23..ae38f9637 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp @@ -120,7 +120,7 @@ - + @@ -149,10 +149,10 @@ - - Index Directory - - + + Index Directory + + WebDAV URL diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/deleteArtifactForm.jspf b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/deleteArtifactForm.jspf index 309427fa9..8633bc7b4 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/deleteArtifactForm.jspf +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/deleteArtifactForm.jspf @@ -27,4 +27,3 @@ - \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/uploadForm.jspf b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/uploadForm.jspf index 95b6e0768..d99dd8055 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/uploadForm.jspf +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/uploadForm.jspf @@ -28,10 +28,7 @@ - + - - \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp index 8fce8bb55..8f298aa12 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp @@ -39,7 +39,7 @@ var table = document.getElementById( "dynamicTable" ); var row = document.createElement( "TR" ); var label = document.createElement("TD"); - label.innerHTML = fieldText + ": "; + label.innerHTML = fieldText + ": "; var textfield = document.createElement( "TD" ); var inp1 = document.createElement( "INPUT" ); @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/auditLogReport.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/auditLogReport.jsp index a489b410f..e51402fc2 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/auditLogReport.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/auditLogReport.jsp @@ -26,150 +26,127 @@ Audit Log Report - +

Audit Log Report

- +
- + - + - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Repository:
Group ID:
Artifact ID:
Start Date: - <%-- - - --%> -
End Date: - <%-- - - --%> -
Row Count:
-
-
- + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Repository:
Group ID:
Artifact ID:
Start Date:
End Date:
Row Count:
+
+
+

- +

- -

${headerName}

+ +

${headerName}

- - - - - - - - - - - - - - - - - - - - -
EventRepositoryResourceEvent DateUsername
${auditLog.action}${auditLog.repositoryId}${auditLog.resource}${auditLog.timestamp}${auditLog.userId}
- - - - - - - - - - - - - - - - - - - - - - - - - - << - Page: ${page} - - >> - -
-
- + + + + + + + + + + + + + + + + + + + + +
EventRepositoryResourceEvent DateUsername
${auditLog.action}${auditLog.repositoryId}${auditLog.resource}${auditLog.timestamp}${auditLog.userId}
+ + + + + + + + + + + + + + + + + + + + + + + + + + << + Page: ${page} + + >> + +
+
+
- - + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/basicReport.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/basicReport.jsp index eeeca53ab..8a21877f9 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/basicReport.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/basicReport.jsp @@ -34,23 +34,22 @@
- Repository: ${repository.key} - - -

- - - - - - - - ${report.project} / - ${report.version} -

+ Repository: ${repository.key} + +

+ + + + + + + + ${report.project} / + ${report.version} +

-
-
+
+
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/pickReport.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/pickReport.jsp index 3e947d34d..d197a1979 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/pickReport.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/pickReport.jsp @@ -33,8 +33,8 @@ @@ -54,8 +54,8 @@ addToRightOnclick="selectAllOptions(document.getElementById('generateStatisticsReport_availableRepositories'));selectAllOptions(document.getElementById('generateStatisticsReport_selectedRepositories'));" addAllToLeftOnclick="selectAllOptions(document.getElementById('generateStatisticsReport_availableRepositories'));selectAllOptions(document.getElementById('generateStatisticsReport_selectedRepositories'));" addToLeftOnclick="selectAllOptions(document.getElementById('generateStatisticsReport_availableRepositories'));selectAllOptions(document.getElementById('generateStatisticsReport_selectedRepositories'));" - /> - + /> + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/statisticsReport.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/statisticsReport.jsp index fb6fbb423..7a7d2c85f 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/statisticsReport.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/statisticsReport.jsp @@ -36,35 +36,35 @@ -
+
<%-- TODO: fix problem in date format! --%> - <%-- Pagination - start --%> + <%-- Pagination - start --%>

- + <%-- Set Prev & Next icons --%> - + - + - + - - + + - + - + @@ -73,15 +73,15 @@ - + <%-- Google-style pagination --%> 0 - 10 - + 10 + ${(numPages - 1) - 10} ${numPages - 1} @@ -90,34 +90,34 @@ ${page - 5} ${page + 5} - + 0 ${numPages - 1} - - - + + + - + ${i + 1} - - ${i + 1} - - + + ${i + 1} + + - + @@ -126,23 +126,23 @@ - - -

+ + +

<%-- Pagination - end --%> - + <%-- Export to CSV link --%> - + Export to CSV - + - -

Latest Statistics Comparison Report

+ +

Latest Statistics Comparison Report

@@ -159,8 +159,8 @@ - - + + @@ -179,10 +179,10 @@ -
RepositoryExes Dlls Zips
${selectedRepositories[i.count-1]}${stats.totalCountForType['zip']}
+
- +

Statistics for Repository '${repositoryId}'

@@ -201,7 +201,7 @@ - + @@ -221,10 +221,10 @@
Dlls Zips
${stats.scanStartTime}
- +
- +
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp index 14ae84fcb..9b0ce4bec 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp @@ -27,9 +27,9 @@ Search Results - + @@ -66,7 +66,7 @@

Search

-
+ @@ -86,23 +86,23 @@ - - + + - - + + -
- +
- -
+ + + @@ -110,10 +110,10 @@ - - + + - + @@ -145,160 +145,160 @@

Hits: 1 to ${hitsNum} of ${results.totalHits}

-
+

No results

- - <%-- Pagination start --%> -

- <%-- Prev & Next icons --%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <%-- Google-style pagination --%> - - - - - 0 - 10 - - - ${(totalPages -1) - 10} - ${totalPages - 1} - - - ${currentPage - 5} - ${currentPage + 5} - - - - - 0 - ${totalPages - 1} - - - - + <%-- Pagination start --%> +

+ <%-- Prev & Next icons --%> - - - - - - - - - - - ${i + 1} - - - ${i + 1} - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - ${i + 1} - - - ${i + 1} - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - -

- <%-- Pagination end --%> - + + + + + + + + + + + + + <%-- Google-style pagination --%> + + + + + 0 + 10 + + + ${(totalPages -1) - 10} + ${totalPages - 1} + + + ${currentPage - 5} + ${currentPage + 5} + + + + + 0 + ${totalPages - 1} + + + + + + + + + + + + + + + + ${i + 1} + + + ${i + 1} + + + + + + + + + + + + + + + + + + + + + + + ${i + 1} + + + ${i + 1} + + + + + + + + + + + + + + + +

+ <%-- Pagination end --%> + @@ -363,4 +363,4 @@
- \ No newline at end of file + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp index 93469a8d4..25a9c471e 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp @@ -31,10 +31,10 @@ + $(function() { + $("#accordion").accordion({autoHeight:false}); + }); + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml index e80d67a9b..494365528 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml @@ -19,20 +19,20 @@ --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> - Apache Archiva + Apache Archiva webwork-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp - - sitemesh - com.opensymphony.sitemesh.webapp.SiteMeshFilter - + + sitemesh + com.opensymphony.sitemesh.webapp.SiteMeshFilter + struts2 @@ -52,38 +52,38 @@ - - encodingFilter - /* - - - - - webwork-cleanup - /* - - - - sitemesh - /* - - - - struts2 - /* - - - - - org.springframework.web.context.ContextLoaderListener - - - - - + + encodingFilter + /* + + + + + webwork-cleanup + /* + + + + sitemesh + /* + + + + struts2 + /* + + + + + org.springframework.web.context.ContextLoaderListener + + + + + org.apache.archiva.web.startup.ArchivaStartup - + net.sf.ehcache.constructs.web.ShutdownListener @@ -94,42 +94,42 @@ org.apache.archiva.webdav.util.TemporaryGroupIndexSessionCleaner - - contextConfigLocation - - classpath*:META-INF/spring-context.xml - /WEB-INF/applicationContext.xml - - - - - RepositoryServlet - + + contextConfigLocation + + classpath*:META-INF/spring-context.xml + /WEB-INF/applicationContext.xml + + + + + RepositoryServlet + org.apache.archiva.webdav.RepositoryServlet - - 1 - - - - XmlRpcServlet - - com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet - - - serviceListBeanName - xmlrpcServicesList - - - authHandlerBeanName - xmlRpcAuthenticator - - - enabledForExtensions - true - - 2 - + + 1 + + + + XmlRpcServlet + + com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet + + + serviceListBeanName + xmlrpcServicesList + + + authHandlerBeanName + xmlRpcAuthenticator + + + enabledForExtensions + true + + 2 + RedbackXmlRpcServlet @@ -148,45 +148,45 @@ - - RssFeedServlet - + + RssFeedServlet + org.apache.archiva.web.rss.RssFeedServlet - + - - RssFeedServlet - /feeds/* - + + RssFeedServlet + /feeds/* + - - RepositoryServlet - /repository/* - + + RepositoryServlet + /repository/* + - - XmlRpcServlet - /xmlrpc - + + XmlRpcServlet + /xmlrpc + RedbackXmlRpcServlet /redback-xmlrpc - - jdbc/users - javax.sql.DataSource - Container - Shareable - - - mail/Session - javax.mail.Session - Container - Shareable - + + jdbc/users + javax.sql.DataSource + Container + Shareable + + + mail/Session + javax.mail.Session + Container + Shareable + CXFServlet diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-base.css b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-base.css index 6fcafd400..c380a626c 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-base.css +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-base.css @@ -85,7 +85,7 @@ div.clear hr { } #leftColumn { - width: 170px; + width: 170px; float: left; overflow: auto; } diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css index 595af8989..ea4e414f5 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/maven-theme.css @@ -33,8 +33,8 @@ select, input { select { padding-left: 3px; - height: auto; - width: auto; + height: auto; + width: auto; } input { @@ -42,8 +42,8 @@ input { } label .required { - color: red; - font-weight: bold; + color: red; + font-weight: bold; } th { @@ -305,7 +305,7 @@ pre.pom code { #footer { border-top: 1px solid #CCCCCC; padding: 14px 4px 12px 4px; - color: #333333; + color: #333333; margin-top: 2em; } @@ -327,21 +327,21 @@ blockquote { } .missing { - background-color: red; - color: white; - font-weight: bold; - padding: 4px; - margin-left: 20px; - margin-right: 20px; - + background-color: red; + color: white; + font-weight: bold; + padding: 4px; + margin-left: 20px; + margin-right: 20px; + } #searchBox { - margin: 5%; + margin: 5%; } #searchHint { - margin: 5%; + margin: 5%; } #topSearchBox { diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/site.css b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/site.css index 2b6316253..faac56bd5 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/site.css +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/css/site.css @@ -22,7 +22,7 @@ } #download a { - text-decoration: none; + text-decoration: none; } #download td.type { @@ -35,215 +35,215 @@ } #contentArea { - /* margin-right: 15em; */ - padding: 1em; + /* margin-right: 15em; */ + padding: 1em; } #tabs b { - border: 1px #DFDEDE solid; - padding-left: 1em; - padding-right: 1em; + border: 1px #DFDEDE solid; + padding-left: 1em; + padding-right: 1em; } #tabs a { - border: 1px #DFDEDE solid; - padding-left: 1em; - padding-right: 1em; - text-decoration: none; + border: 1px #DFDEDE solid; + padding-left: 1em; + padding-right: 1em; + text-decoration: none; } #tabArea { - border-top: 1px solid #DFDEDE; - padding: 1em; + border-top: 1px solid #DFDEDE; + padding: 1em; } #searchTypes { - text-align: right; - font-size: xx-small; + text-align: right; + font-size: xx-small; } .statusFailed { - color: red; - font-weight: bold; + color: red; + font-weight: bold; } /* WebWork validation failures */ .errorMessage { - color: red; - font-weight: bold; + color: red; + font-weight: bold; } .actionMessage { - font-size: 1.0em; - font-weight: bold; - color: blue; + font-size: 1.0em; + font-weight: bold; + color: blue; } .errorBullet { - list-style-image: url( "../images/icon_error_sml.gif" ); + list-style-image: url( "../images/icon_error_sml.gif" ); } .warningBullet { - list-style-image: url( "../images/icon_warning_sml.gif" ); + list-style-image: url( "../images/icon_warning_sml.gif" ); } .infoBullet { - list-style-image: url( "../images/icon_info_sml.gif" ); + list-style-image: url( "../images/icon_info_sml.gif" ); } .artifact-link { - font-size: x-small; - padding-left: 5em; + font-size: x-small; + padding-left: 5em; } .artifact-title { - + } ul.dependencyTree { - margin-left: 50px; + margin-left: 50px; } ul.dependencyTree span.artifact-link { - padding-left: 0px; + padding-left: 0px; } .eXtremeTable tr.filter { - padding: 1px; + padding: 1px; } .eXtremeTable .tableRegion,.eXtremeTable .statusBar { - width: 100%; + width: 100%; } .eXtremeTable .tableRegion .tableHeader { - background-color: None; - background-image: url(../images/breadcrumbs.jpg); - color: gray; + background-color: None; + background-image: url(../images/breadcrumbs.jpg); + color: gray; } .eXtremeTable .tableRegion .tableHeaderSort { - background-color: #FFBF5F; + background-color: #FFBF5F; } .eXtremeTable .compactToolbar td { - white-space: nowrap; + white-space: nowrap; } .tools { - border-color: gray !important; + border-color: gray !important; } table.tools th.toolHeading { - color: gray; + color: gray; } .tools .toolHeading { - padding: 0px 3px 0px 3px; - margin: 0px !important; - font-size: 11px !important; - background-color: red; - background-image: url(../images/breadcrumbs.jpg); + padding: 0px 3px 0px 3px; + margin: 0px !important; + font-size: 11px !important; + background-color: red; + background-image: url(../images/breadcrumbs.jpg); } div.repository h3 { - border-bottom: 0px !important; - padding-left: 15px !important; + border-bottom: 0px !important; + padding-left: 15px !important; } div.repository { - border-bottom: 1px solid #DFDEDE; + border-bottom: 1px solid #DFDEDE; } div.proxyConfig, div.repoGroup { - border: 1px dashed #DFDEDE; - margin-bottom: 15px; - padding: 5px; + border: 1px dashed #DFDEDE; + margin-bottom: 15px; + padding: 5px; } div.proxyConfig div.managedRepo, div.proxyConfig div.remoteRepo, div.repoGroup div.managedRepo { border: 1px dotted gray; - padding: 5px; - background-color: white; + padding: 5px; + background-color: white; } div.proxyConfig div.remoteRepo { - margin: 5px; + margin: 5px; } div.proxyConfig div.managedRepo img, div.proxyConfig div.remoteRepo img, div.repoGroup div.managedRepo img { - float: left; - border: 0px; + float: left; + border: 0px; } div.proxyConfig div.managedRepo p, div.proxyConfig div.remoteRepo p { - margin: 0px; - margin-left: 40px; - padding: 0px; + margin: 0px; + margin-left: 40px; + padding: 0px; } div.repoGroup div.managedRepo p { margin: 8px; - margin-left: 40px; - padding: 0px; + margin-left: 40px; + padding: 0px; } div.proxyConfig div.managedRepo p.id, div.proxyConfig div.remoteRepo p.id, div.repoGroup div.managedRepo p.id { - font-family: monospace; + font-family: monospace; } div.proxyConfig div.connector, div.repoGroup div.connector { - border: 1px solid #aaaaff; - margin-top: 10px; - margin-left: 40px !important; + border: 1px solid #aaaaff; + margin-top: 10px; + margin-left: 40px !important; } div.proxyConfig a.expand { - font-size: 7pt; - color: gray; + font-size: 7pt; + color: gray; } div.proxyConfig div.controls, div.repoGroup div.controls { - float: right; + float: right; } div.proxyConfig div.connector h4, div.repoGroup div.connector h4 { - padding: 3px; - font-size: 8pt; - margin: 0px; + padding: 3px; + font-size: 8pt; + margin: 0px; } div.proxyConfig div.connector table.settings { - border: 0px; - background-color: transparent; - font-size: 8pt; - margin-left: 10px; + border: 0px; + background-color: transparent; + font-size: 8pt; + margin-left: 10px; } div.proxyConfig div.connector table.settings th, div.proxyConfig div.connector table.settings td { - font-size: 8pt; + font-size: 8pt; } div.proxyConfig div.connector table.settings table.policies { - border: 1px dotted gray; + border: 1px dotted gray; } div.proxyConfig div.connector table p { - margin: 0px; - padding: 0px; + margin: 0px; + padding: 0px; } div.repoGroup div.repos { @@ -253,91 +253,91 @@ div.repoGroup div.repos { div.admin div.dark, div.admin div.lite { - border: 1px solid #aaaaaa; - font-size: 11pt; - margin-left: 15px; - margin-right: 15px; - margin-bottom: 5px; - padding: 5px; + border: 1px solid #aaaaaa; + font-size: 11pt; + margin-left: 15px; + margin-right: 15px; + margin-bottom: 5px; + padding: 5px; } div.admin div.lite { - background-color: white; + background-color: white; } div.admin div.dark { - background-color: #eeeeee; + background-color: #eeeeee; } div.admin div.controls { - float: right; - font-size: 8pt !important; + float: right; + font-size: 8pt !important; } div.admin div.filetype table { - margin-left: 25px; - border: 1px solid gray; + margin-left: 25px; + border: 1px solid gray; } div.filetype table td.controls { - width: 5%; + width: 5%; } div.filetype table td.odd, div.admin table.consumers td.odd { - background-color: #dddddd; + background-color: #dddddd; } div.filetype table td.even, div.admin table.consumers td.even { - background-color: white; + background-color: white; } div.admin table.consumers { - margin-left: 15px; - border: 1px solid gray; + margin-left: 15px; + border: 1px solid gray; } div.admin table.consumers th { - font-size: 1.0em; - background-color: #cccccc; - text-align: left; + font-size: 1.0em; + background-color: #cccccc; + text-align: left; } div.admin table.consumers td strong { - font-size: 0.8em; + font-size: 0.8em; } div.warningbox { - margin: 20px 40px 20px 40px; - border: 1px solid #CC0000; - background-color: #FFCCCC; - color: #000000; - font-size: 15pt; - padding: 20px; + margin: 20px 40px 20px 40px; + border: 1px solid #CC0000; + background-color: #FFCCCC; + color: #000000; + font-size: 15pt; + padding: 20px; } div.infobox { - margin: 20px 40px 20px 40px; - border: 1px solid #0000CC; - background-color: #EEEEFF; - font-size: 9pt; - padding: 20px; + margin: 20px 40px 20px 40px; + border: 1px solid #0000CC; + background-color: #EEEEFF; + font-size: 9pt; + padding: 20px; } div.buttons { - text-align: center; + text-align: center; } div.versions { border: 1px dashed #DFDEDE; - margin-bottom: 15px; - padding: 5px; + margin-bottom: 15px; + padding: 5px; } div.versions a.expand { font-size: 7pt; - color: gray; + color: gray; } #messages { @@ -361,39 +361,39 @@ div.versions a.expand { } table.auditlogs { - text-align: center; - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ; - font-weight: normal; - font-size: 11px; - color: #fff; - width: 100%; - background-color: #666; - border: 0px; - border-collapse: collapse; - border-spacing: 0px; + text-align: center; + font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ; + font-weight: normal; + font-size: 11px; + color: #fff; + width: 100%; + background-color: #666; + border: 0px; + border-collapse: collapse; + border-spacing: 0px; } table.auditlogs th { - background-color: #666; - color: #fff; - padding: 4px; - text-align: center; - border-bottom: 2px #fff solid; - font-size: 12px; - font-weight: bold; + background-color: #666; + color: #fff; + padding: 4px; + text-align: center; + border-bottom: 2px #fff solid; + font-size: 12px; + font-weight: bold; } table.auditlogs td { - background-color: #CCC; - color: #000; - padding: 4px; - text-align: center; - border: 1px #fff solid; + background-color: #CCC; + color: #000; + padding: 4px; + text-align: center; + border: 1px #fff solid; } div.auditLogReportResults { - border: 1px dashed #DFDEDE; - margin-bottom: 15px; - margin-left: 2px; - padding: 5px; + border: 1px dashed #DFDEDE; + margin-bottom: 15px; + margin-left: 2px; + padding: 5px; } diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/resources/org/apache/archiva/webdav/util/mime.types b/archiva-modules/archiva-web/archiva-webdav/src/main/resources/org/apache/archiva/webdav/util/mime.types index c479bb54b..3f1e6a3b3 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/resources/org/apache/archiva/webdav/util/mime.types +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/resources/org/apache/archiva/webdav/util/mime.types @@ -10,7 +10,7 @@ application/andrew-inset ez application/atom+xml atom -application/java-archive jar +application/java-archive jar application/mac-binhex40 hqx application/mac-compactpro cpt application/mathml+xml mathml @@ -19,7 +19,7 @@ application/octet-stream bin dms lha lzh exe class so dll dmg application/oda oda application/ogg ogg application/pdf pdf -application/pgp-encrypted pgp +application/pgp-encrypted pgp application/postscript ai eps ps application/rdf+xml rdf application/smil smi smil diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/repository-servlet-security-test/web.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/repository-servlet-security-test/web.xml index 698ca9719..b18dfd55a 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/repository-servlet-security-test/web.xml +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/repository-servlet-security-test/web.xml @@ -31,8 +31,8 @@ org.apache.archiva.webdav.util.MavenIndexerCleaner - contextClass - org.codehaus.redback.components.springutils.CachingWebApplicationContext + contextClass + org.codehaus.redback.components.springutils.CachingWebApplicationContext diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml index 756054353..464d352ec 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml @@ -31,8 +31,8 @@ org.apache.archiva.webdav.util.MavenIndexerCleaner - contextClass - org.codehaus.redback.components.springutils.CachingWebApplicationContext + contextClass + org.codehaus.redback.components.springutils.CachingWebApplicationContext contextConfigLocation diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/archiva-mime-types.txt b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/archiva-mime-types.txt index 43e6cb24f..3f1e6a3b3 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/archiva-mime-types.txt +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/archiva-mime-types.txt @@ -19,7 +19,7 @@ application/octet-stream bin dms lha lzh exe class so dll dmg application/oda oda application/ogg ogg application/pdf pdf -application/pgp-encrypted pgp +application/pgp-encrypted pgp application/postscript ai eps ps application/rdf+xml rdf application/smil smi smil diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml index 3504f0a02..84ce8a3a2 100644 --- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml +++ b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml @@ -17,7 +17,7 @@ ~ under the License. --> - + 4.0.0 org.apache.archiva diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/pom.xml b/archiva-modules/archiva-web/archiva-xmlrpc/pom.xml index 73150316f..83bdaf3df 100644 --- a/archiva-modules/archiva-web/archiva-xmlrpc/pom.xml +++ b/archiva-modules/archiva-web/archiva-xmlrpc/pom.xml @@ -17,7 +17,7 @@ ~ specific language governing permissions and limitations ~ under the License. --> - + 4.0.0 org.apache.archiva -- 2.39.5