From 75dc0982fbfb1b7b087457bf38511c21761b5444 Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Wed, 2 Jul 2008 06:29:02 +0000 Subject: [PATCH] MRM-829 - Current work git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-MRM-829@673294 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/mdo/configuration.mdo | 45 +++++++ .../appearance/AbstractAppearanceAction.java | 61 +++++---- .../admin/appearance/CompanyInfoAction.java | 84 ------------ ...n.java => EditOrganisationInfoAction.java} | 80 ++++------- .../admin/appearance/EditPomAction.java | 125 ------------------ .../appearance/OrganisationInfoAction.java | 50 +++++++ .../admin/ConfigureAppearance-validation.xml | 12 +- .../admin/ConfigureAppearance.properties | 4 +- .../src/main/resources/xwork.xml | 20 +-- .../webapp/WEB-INF/jsp/admin/appearance.jsp | 60 +-------- .../WEB-INF/jsp/admin/editAppearance.jsp | 9 +- .../main/webapp/WEB-INF/jsp/admin/editPom.jsp | 53 -------- .../WEB-INF/jsp/components/companyLogo.jsp | 2 +- 13 files changed, 175 insertions(+), 430 deletions(-) delete mode 100644 archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/CompanyInfoAction.java rename archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/{ConfigureAppearanceAction.java => EditOrganisationInfoAction.java} (56%) delete mode 100644 archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditPomAction.java create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/OrganisationInfoAction.java delete mode 100644 archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editPom.jsp 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 1455d9f71..b7523ef13 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 @@ -158,6 +158,17 @@ The webapp configuration. + + organisationInfo + 1.1.0+ + + OrganisationInformation + 1 + + + The organisation info. + + @@ -1034,6 +1045,40 @@ --> + + OrganisationInformation + 1.1.0+ + + The organisation information settings. + + + + name + name of the organisation + 1.1.0+ + + String + + + + url + name of the organisation + 1.1.0+ + + String + + + + logoLocation + name of the organisation + 1.1.0+ + + String + + + + + WebappConfiguration 1.0.0+ diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java index 8fcaeb5c0..b76e2e45b 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java @@ -19,15 +19,9 @@ package org.apache.maven.archiva.web.action.admin.appearance; * under the License. */ -import org.apache.commons.lang.StringUtils; -import org.apache.maven.artifact.repository.ArtifactRepository; -import org.apache.maven.artifact.repository.ArtifactRepositoryFactory; -import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; +import org.apache.maven.archiva.configuration.ArchivaConfiguration; import org.codehaus.plexus.xwork.action.PlexusActionSupport; -import java.io.File; -import java.util.Map; - /** * AbstractAppearanceAction * @@ -38,33 +32,44 @@ public abstract class AbstractAppearanceAction extends PlexusActionSupport { /** - * @plexus.requirement role="org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout" - */ - private Map repositoryLayouts; - - /** + * Archiva Application Configuration * @plexus.requirement */ - private ArtifactRepositoryFactory repoFactory; + protected ArchivaConfiguration configuration; + + private String organisationLogo; + + private String organisationUrl; - protected ArtifactRepository createLocalRepository() + private String organisationName; + + public String getOrganisationLogo() { - String id = "archiva-local-repo"; - String layout = "default"; - String directory = System.getProperty( "user.home" ) + "/.m2/archiva"; + return organisationLogo; + } - ArtifactRepositoryLayout repositoryLayout = (ArtifactRepositoryLayout) repositoryLayouts.get( layout ); - File repository = new File( directory ); - repository.mkdirs(); + public String getOrganisationName() + { + return organisationName; + } - String repoDir = repository.toURI().toString(); - //workaround for spaces non converted by PathUtils in wagon - //TODO: remove it when PathUtils will be fixed - if ( repoDir.indexOf( "%20" ) >= 0 ) - { - repoDir = StringUtils.replace( repoDir, "%20", " " ); - } + public String getOrganisationUrl() + { + return organisationUrl; + } + + public void setOrganisationLogo(String organisationLogo) + { + this.organisationLogo = organisationLogo; + } - return repoFactory.createArtifactRepository( id, repoDir, repositoryLayout, null, null ); + public void setOrganisationName(String organisationName) + { + this.organisationName = organisationName; + } + + public void setOrganisationUrl(String organisationUrl) + { + this.organisationUrl = organisationUrl; } } diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/CompanyInfoAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/CompanyInfoAction.java deleted file mode 100644 index c682f8144..000000000 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/CompanyInfoAction.java +++ /dev/null @@ -1,84 +0,0 @@ -package org.apache.maven.archiva.web.action.admin.appearance; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.model.Model; -import org.apache.maven.shared.app.company.CompanyPomHandler; -import org.apache.maven.shared.app.configuration.MavenAppConfiguration; - -/** - * Stores the company information for displaying on the page. - * - * @plexus.component role="com.opensymphony.xwork.Action" role-hint="companyInfo" - */ -public class CompanyInfoAction - extends AbstractAppearanceAction -{ - private String companyLogo; - - private String companyUrl; - - private String companyName; - - /** - * @plexus.requirement - */ - private CompanyPomHandler handler; - - /** - * @plexus.requirement - */ - private MavenAppConfiguration appConfigurationStore; - - public String execute() - throws Exception - { - Model model = handler.getCompanyPomModel( appConfigurationStore.getConfiguration().getCompanyPom(), - createLocalRepository() ); - - if ( model != null ) - { - if ( model.getOrganization() != null ) - { - companyName = model.getOrganization().getName(); - companyUrl = model.getOrganization().getUrl(); - } - - companyLogo = model.getProperties().getProperty( "organization.logo" ); - } - - return SUCCESS; - } - - public String getCompanyLogo() - { - return companyLogo; - } - - public String getCompanyUrl() - { - return companyUrl; - } - - public String getCompanyName() - { - return companyName; - } -} \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/ConfigureAppearanceAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction.java similarity index 56% rename from archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/ConfigureAppearanceAction.java rename to archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction.java index 093bc6faf..1304b5046 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/ConfigureAppearanceAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction.java @@ -19,84 +19,56 @@ package org.apache.maven.archiva.web.action.admin.appearance; * under the License. */ -import com.opensymphony.xwork.ModelDriven; -import com.opensymphony.xwork.Preparable; +import org.codehaus.plexus.redback.xwork.interceptor.SecureAction; +import org.apache.maven.archiva.configuration.Configuration; +import org.apache.maven.archiva.configuration.IndeterminateConfigurationException; +import org.apache.maven.archiva.configuration.OrganisationInformation; import org.apache.maven.archiva.security.ArchivaRoleConstants; -import org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException; -import org.apache.maven.model.Model; -import org.apache.maven.project.ProjectBuildingException; -import org.apache.maven.shared.app.company.CompanyPomHandler; -import org.apache.maven.shared.app.configuration.Configuration; -import org.apache.maven.shared.app.configuration.MavenAppConfiguration; import org.codehaus.plexus.redback.rbac.Resource; -import org.codehaus.plexus.redback.xwork.interceptor.SecureAction; import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle; import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException; import org.codehaus.plexus.registry.RegistryException; -import java.io.IOException; - /** * @author Brett Porter * @version $Id: ConfigurationAction.java 480950 2006-11-30 14:58:35Z evenisse $ + * * @plexus.component role="com.opensymphony.xwork.Action" - * role-hint="configureAppearance" + * role-hint="editOrganisationInfo" */ -public class ConfigureAppearanceAction +public class EditOrganisationInfoAction extends AbstractAppearanceAction - implements ModelDriven, SecureAction, Preparable + implements SecureAction { - /** - * @plexus.requirement - */ - private MavenAppConfiguration appConfigurationStore; - - /** - * The configuration. - */ - private Configuration configuration; - - private Model companyModel; - - /** - * @plexus.requirement - */ - private CompanyPomHandler companyPomHandler; - + @Override public String execute() - throws IOException, RegistryException + throws RegistryException, IndeterminateConfigurationException { - appConfigurationStore.save( configuration ); - + Configuration config = configuration.getConfiguration(); + if (config != null) + { + OrganisationInformation orgInfo = config.getOrganisationInfo(); + if (orgInfo == null) + { + config.setOrganisationInfo(orgInfo); + } + + orgInfo.setLogoLocation(getOrganisationLogo()); + orgInfo.setName(getOrganisationName()); + orgInfo.setUrl(getOrganisationUrl()); + + configuration.save(config); + } return SUCCESS; } - - public Object getModel() - { - return configuration; - } - - public void prepare() - throws ProjectBuildingException, ArtifactMetadataRetrievalException - { - configuration = appConfigurationStore.getConfiguration(); - - companyModel = companyPomHandler.getCompanyPomModel( configuration.getCompanyPom(), createLocalRepository() ); - } - + public SecureActionBundle getSecureActionBundle() throws SecureActionException { SecureActionBundle bundle = new SecureActionBundle(); bundle.setRequiresAuthentication( true ); bundle.addRequiredAuthorization( ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION, Resource.GLOBAL ); - return bundle; } - - public Model getCompanyModel() - { - return companyModel; - } } diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditPomAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditPomAction.java deleted file mode 100644 index 874eded6e..000000000 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditPomAction.java +++ /dev/null @@ -1,125 +0,0 @@ -package org.apache.maven.archiva.web.action.admin.appearance; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.ModelDriven; -import com.opensymphony.xwork.Preparable; - -import org.apache.maven.archiva.security.ArchivaRoleConstants; -import org.apache.maven.artifact.installer.ArtifactInstallationException; -import org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException; -import org.apache.maven.model.Model; -import org.apache.maven.project.ProjectBuildingException; -import org.apache.maven.shared.app.company.CompanyPomHandler; -import org.apache.maven.shared.app.configuration.CompanyPom; -import org.apache.maven.shared.app.configuration.Configuration; -import org.apache.maven.shared.app.configuration.MavenAppConfiguration; -import org.codehaus.plexus.redback.rbac.Resource; -import org.codehaus.plexus.redback.xwork.interceptor.SecureAction; -import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle; -import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException; - -import java.io.IOException; - -/** - * @author Brett Porter - * @version $Id: ConfigurationAction.java 480950 2006-11-30 14:58:35Z evenisse $ - * - * @plexus.component role="com.opensymphony.xwork.Action" - * role-hint="editPom" - */ -public class EditPomAction - extends AbstractAppearanceAction - implements ModelDriven, SecureAction, Preparable -{ - /** - * @plexus.requirement - */ - private MavenAppConfiguration appConfigurationStore; - - /** - * The configuration. - */ - private Configuration configuration; - - /** - * @plexus.requirement - */ - private CompanyPomHandler companyPomHandler; - - private Model companyModel; - - public String execute() - throws IOException, ArtifactInstallationException - { - // TODO: hack for passed in String[] - String[] logo = (String[]) companyModel.getProperties().get( "organization.logo" ); - if ( logo != null ) - { - companyModel.getProperties().put( "organization.logo", logo[0] ); - } - - companyPomHandler.save( companyModel, createLocalRepository() ); - - return SUCCESS; - } - - public Object getModel() - { - return companyModel; - } - - public void prepare() - throws ProjectBuildingException, ArtifactMetadataRetrievalException - { - configuration = appConfigurationStore.getConfiguration(); - - CompanyPom companyPom = configuration.getCompanyPom(); - companyModel = companyPomHandler.getCompanyPomModel( companyPom, createLocalRepository() ); - - if ( companyModel == null ) - { - companyModel = new Model(); - companyModel.setModelVersion( "4.0.0" ); - companyModel.setPackaging( "pom" ); - - if ( companyPom != null ) - { - companyModel.setGroupId( companyPom.getGroupId() ); - companyModel.setArtifactId( companyPom.getArtifactId() ); - } - } - } - - public SecureActionBundle getSecureActionBundle() - throws SecureActionException - { - SecureActionBundle bundle = new SecureActionBundle(); - bundle.setRequiresAuthentication( true ); - bundle.addRequiredAuthorization( ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION, Resource.GLOBAL ); - - return bundle; - } - - public Model getCompanyModel() - { - return companyModel; - } -} diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/OrganisationInfoAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/OrganisationInfoAction.java new file mode 100644 index 000000000..2378027a4 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/OrganisationInfoAction.java @@ -0,0 +1,50 @@ +package org.apache.maven.archiva.web.action.admin.appearance; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.configuration.Configuration; +import org.apache.maven.archiva.configuration.OrganisationInformation; + +/** + * Stores the organisation information for displaying on the page. + * + * @plexus.component role="com.opensymphony.xwork.Action" role-hint="organisationInfo" + */ +public class OrganisationInfoAction + extends AbstractAppearanceAction +{ + @Override + public String execute() + throws Exception + { + Configuration config = configuration.getConfiguration(); + if (config != null) + { + OrganisationInformation orgInfo = config.getOrganisationInfo(); + if (orgInfo != null) + { + setOrganisationLogo(orgInfo.getLogoLocation()); + setOrganisationName(orgInfo.getName()); + setOrganisationUrl(orgInfo.getUrl()); + } + } + return SUCCESS; + } +} \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance-validation.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance-validation.xml index 0628a0dcc..64c011f1f 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance-validation.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance-validation.xml @@ -22,14 +22,14 @@ "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"> - - - + + + - - - + + + \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance.properties b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance.properties index bfcaf5bcf..2084ccd4a 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance.properties +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureAppearance.properties @@ -17,5 +17,5 @@ # under the License. # -appearance.groupId.required = You must define a group identifier. -appearance.artifactId.required = You must define an artifact identifier. \ No newline at end of file +appearance.organisation.url = You must define an organisation url." +appearance.organisation.logourl = You must define an organisation logo url." \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml index c85744f25..3dda8324c 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml @@ -212,7 +212,7 @@ - + /WEB-INF/jsp/components/companyLogo.jsp @@ -434,15 +434,15 @@ - + /WEB-INF/jsp/admin/appearance.jsp - + /WEB-INF/jsp/admin/editAppearance.jsp - + /WEB-INF/jsp/admin/editAppearance.jsp configureAppearance @@ -450,18 +450,6 @@ - - /WEB-INF/jsp/admin/editPom.jsp - - - - /WEB-INF/jsp/admin/editPom.jsp - - configureAppearance - /admin - - - diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp index dfebffbc9..d1e15602c 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp @@ -31,66 +31,12 @@ -

Company Details

+

Organisation Details

- The logo in the top right of the screen is controlled by your selected 'company POM'. + The logo in the top right of the screen is controlled by the following settings. + Change your appearence

- - - -

- You have not yet specified a company POM. Select a Company POM -

-
- - -

- Your selected company POM is below. If you would like to change the organization name, url or logo, you can - edit the POM. -

- - - - - - - - -
- - -

POM Information

- - - - - - - - - - - - - - - - -
Name${companyModel.organization.name}
URL - ${companyModel.organization.url} -
Logo URL - ${companyModel.properties['organization.logo']} -
-
- - Company POM '${companyPom.groupId}:${companyPom.artifactId}' doesn't exist. - Create company POM - -
-
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editAppearance.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editAppearance.jsp index 9061a3137..23ac0ae9a 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editAppearance.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editAppearance.jsp @@ -27,7 +27,7 @@

Appearance

-

Company Details

+

Organisation Details

Enter the details of the company super POM below. If it exists, the organization name, URL and logo will be read @@ -35,9 +35,10 @@

- - - + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editPom.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editPom.jsp deleted file mode 100644 index 7887ea21e..000000000 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editPom.jsp +++ /dev/null @@ -1,53 +0,0 @@ -<%-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you 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. - --%> - -<%@ taglib prefix="ww" uri="/webwork" %> - - - Edit Company POM - - - - -

Company POM

- - - - - - - Version - - - (The version will automatically be incremented when you save this form) - - - - -

Organization

- - - - <%-- TODO: how to get it to be a string, not a String[]? --%> - - -
- - - \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp index 1a1815a3f..41b188038 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp @@ -19,7 +19,7 @@ <%@ taglib uri="/webwork" prefix="ww" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> - + -- 2.39.5