You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2019/03/02 18:53:00 UTC

[jira] [Created] (NUTCH-2698) Remove sonar build task from build.xml

Lewis John McGibbney created NUTCH-2698:
-------------------------------------------

             Summary: Remove sonar build task from build.xml
                 Key: NUTCH-2698
                 URL: https://issues.apache.org/jira/browse/NUTCH-2698
             Project: Nutch
          Issue Type: Task
          Components: build
    Affects Versions: 1.15
            Reporter: Lewis John McGibbney
            Assignee: Lewis John McGibbney
             Fix For: 1.16


build.xml currently has the following content
{code}
  <!-- ================================================================== -->
  <!-- SONAR targets                                                      -->
  <!-- ================================================================== -->

  <!-- Define the Sonar task if this hasn't been done in a common script -->
  <taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml">
    <classpath path="${ant.library.dir}"/>
    <classpath path="${mysql.library.dir}"/>
  </taskdef>

  <!-- Add the target -->
  <target name="sonar" description="--> run SONAR analysis">

    <!-- list of mandatory source directories (required) -->
    <property name="sonar.sources" value="${src.dir}"/>

    <!-- list of properties (optional) -->
    <property name="sonar.projectName" value="Nutch Trunk 1.4 Sonar Analysis" />
    <property name="sonar.binaries" value="${build.dir}/classes" />
    <property name="sonar.binaries" value="${build.dir}/plugins" />
    <property name="sonar.tests" value="${test.src.dir}" />

    <sonar:sonar workDir="${base.dir}" key="org.apache.nutch:trunk"
     version="1.4-SNAPSHOT" xmlns:sonar="antlib:org.sonar.ant"/>
  </target>
{code}

We should simply remove as it is defunct.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)