You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2011/04/13 14:49:05 UTC

[jira] [Created] (INFRA-3583) Add Tika to Sonar

Add Tika to Sonar
-----------------

                 Key: INFRA-3583
                 URL: https://issues.apache.org/jira/browse/INFRA-3583
             Project: Infrastructure
          Issue Type: Task
      Security Level: public (Regular issues)
          Components: Analysis
            Reporter: Jukka Zitting
            Priority: Minor


Details based on the template from INFRA-3402:

* svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
* pom path : (blank as svnurl/pom.xml) 
* maven version : 2 or higher
* jdk version : 1.5 or higher
* maven profiles to use : 
* maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (INFRA-3583) Add Tika to Sonar

Posted by "Olivier Lamy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed INFRA-3583.
-------------------------------

    Resolution: Fixed

cool chuck is now happy : https://analysis.apache.org/jenkins/job/tika/
:-)
analysis here : https://analysis.apache.org/dashboard/index/58992?asc=false&sort=6

> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>         Attachments: INFRA-3583
>
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (INFRA-3583) Add Tika to Sonar

Posted by "Olivier Lamy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reassigned INFRA-3583:
-----------------------------------

    Assignee: Olivier Lamy

> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3583) Add Tika to Sonar

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029995#comment-13029995 ] 

Jukka Zitting commented on INFRA-3583:
--------------------------------------

Nice, thanks a lot!

> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>         Attachments: INFRA-3583
>
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (INFRA-3583) Add Tika to Sonar

Posted by "Olivier Lamy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated INFRA-3583:
--------------------------------

    Attachment: INFRA-3583

> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>         Attachments: INFRA-3583
>
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (INFRA-3583) Add Tika to Sonar

Posted by "Olivier Lamy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021068#comment-13021068 ] 

Olivier Lamy edited comment on INFRA-3583 at 4/18/11 3:34 PM:
--------------------------------------------------------------

I have some issues with a unit test ForkParserTest see [https://analysis.apache.org/jenkins/job/tika/4/console] which looks to break the cobertura classloader.
Sorry didn't investigate more.
A fast solution is to add a maven profile called sonar to exclude this test.
See patch  attached.


      was (Author: olamy):
    I have some issues with a unit test ForkParserTest see [https://analysis.apache.org/jenkins/job/tika/4/console] which looks to break the cobertura classloader.
Sorry didn't investigate more.
A fast solution is to add a maven profile called sonar to exclude this test.
See patch 
{code}
Index: tika-parent/pom.xml
===================================================================
--- tika-parent/pom.xml (revision 1094530)
+++ tika-parent/pom.xml (working copy)
@@ -245,6 +245,11 @@
           <artifactId>maven-bundle-plugin</artifactId>
           <version>2.1.0</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.8.1</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -288,5 +293,21 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>sonar</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/ForkParserTest.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>

{code}

  
> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>         Attachments: INFRA-3583
>
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3583) Add Tika to Sonar

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029954#comment-13029954 ] 

Jukka Zitting commented on INFRA-3583:
--------------------------------------

Sorry, I totally missed the updates on this one. Olivier, I committed the patch in revision 1100232.

> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>         Attachments: INFRA-3583
>
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3583) Add Tika to Sonar

Posted by "Olivier Lamy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021068#comment-13021068 ] 

Olivier Lamy commented on INFRA-3583:
-------------------------------------

I have some issues with a unit test ForkParserTest see [https://analysis.apache.org/jenkins/job/tika/4/console] which looks to break the cobertura classloader.
Sorry didn't investigate more.
A fast solution is to add a maven profile called sonar to exclude this test.
See patch 
{code}
Index: tika-parent/pom.xml
===================================================================
--- tika-parent/pom.xml (revision 1094530)
+++ tika-parent/pom.xml (working copy)
@@ -245,6 +245,11 @@
           <artifactId>maven-bundle-plugin</artifactId>
           <version>2.1.0</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.8.1</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -288,5 +293,21 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>sonar</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/ForkParserTest.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>

{code}


> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (INFRA-3583) Add Tika to Sonar

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029919#comment-13029919 ] 

Gavin commented on INFRA-3583:
------------------------------

Jukka ping, can we resolve this?

> Add Tika to Sonar
> -----------------
>
>                 Key: INFRA-3583
>                 URL: https://issues.apache.org/jira/browse/INFRA-3583
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Jukka Zitting
>            Assignee: Olivier Lamy
>            Priority: Minor
>         Attachments: INFRA-3583
>
>
> Details based on the template from INFRA-3402:
> * svnurl : http://svn.apache.org/repos/asf/tika/trunk/ 
> * pom path : (blank as svnurl/pom.xml) 
> * maven version : 2 or higher
> * jdk version : 1.5 or higher
> * maven profiles to use : 
> * maven build properties : 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira