Hi,
Is it correct to rebuilt tika after modifying with maven ?
When I am in maven directory , and type mvn install , there is a
error build message:
root@ubuntu:/opt/maven/apache-maven-3.0.3# mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Jul 22 01:08:57 PDT 2011
[INFO] Final Memory: 5M/71M
[INFO]
------------------------------------------------------------------------
So I wonder if this is the error message for building my tika ?
Thanks
On Fri, Jul 22, 2011 at 1:11 AM, Cheng Li <[email protected]> wrote:
> Hi all,
>
> I just followed this instruction to finish my own parser code . After
> finishing all the step in http://tika.apache.org/0.9/parser_guide.html,
> how to build tika and run my code (to see if my parser works)?
>
> I am a new guys in tika -:)
>
> Thanks,
>
> --
> Cheng Li
>
>
--
Cheng Li