Archiva
  1. Archiva
  2. MRM-683

Archiva version missing from pages and logs

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0.1
    • Fix Version/s: None
    • Component/s: Web Interface
    • Labels:
      None
    • Environment:
      CentOS, apache tomcat 5.5.17
    • Number of attachments :
      0

      Description

      I have just upgraded to Archiva 1.0.1 I think (deployed as a war file on tomcat), and wanted to confirm the upgrade had worked, but cannot find any references to the version in the logs or on the pages.

      In the logs I get the alpaca ASCII art which says "unknown version", and I cannot see the version number in the page footer or title etc anywhere.

      Looking at the page source for the main Archiva index page shows:

      <div id="footer">
        <div class="xleft">
          Apache Archiva <Unknown Version>
        </div>
        <div class="xright">
          Copyright &#169; 2005-2008 The Apache Software Foundation
        </div>
      
        <div class="clear">
          <hr/>
      
        </div>
      </div>
      

      According to Wendy Smoak the version number should be in the footer and the logs. I have checked that the META-INF/maven/org.apache.maven.archiva/archiva-webapp/pom.properties file contains the 1.0.1 version number.

        Issue Links

          Activity

          Hide
          Ben Lidgey added a comment -

          I have upgraded to Archiva 1.0.2 running on Tomcat 5.5.17 and still the footer shows

          <div id="footer">
            <div class="xleft">
              Apache Archiva <Unknown Version>
            </div>
            <div class="xright">
              Copyright &#169; 2005-2008 The Apache Software Foundation
            </div>
          

          while the looking in the pom.properties as follows:

          [devadmin@dev1 apache-tomcat-5.5.17]$ cd webapps/archiva/META-INF/maven/org.apache.maven.archiva/archiva-webapp/
          [devadmin@dev1 archiva-webapp]$ more pom.properties
          #Generated by Maven
          #Fri Apr 04 03:10:11 EST 2008
          version=1.0.2
          groupId=org.apache.maven.archiva
          artifactId=archiva-webapp
          [devadmin@dev1 archiva-webapp]$
          
          Show
          Ben Lidgey added a comment - I have upgraded to Archiva 1.0.2 running on Tomcat 5.5.17 and still the footer shows <div id= "footer" > <div class= "xleft" > Apache Archiva <Unknown Version> </div> <div class= "xright" > Copyright &#169; 2005-2008 The Apache Software Foundation </div> while the looking in the pom.properties as follows: [devadmin@dev1 apache-tomcat-5.5.17]$ cd webapps/archiva/META-INF/maven/org.apache.maven.archiva/archiva-webapp/ [devadmin@dev1 archiva-webapp]$ more pom.properties #Generated by Maven #Fri Apr 04 03:10:11 EST 2008 version=1.0.2 groupId=org.apache.maven.archiva artifactId=archiva-webapp [devadmin@dev1 archiva-webapp]$
          Hide
          Brett Porter added a comment -

          confirmed this problem inside Tomcat

          Show
          Brett Porter added a comment - confirmed this problem inside Tomcat
          Hide
          James William Dumay added a comment -

          Moving to 1.1.x

          Show
          James William Dumay added a comment - Moving to 1.1.x

            People

            • Assignee:
              Brett Porter
              Reporter:
              Ben Lidgey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: