You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Mohammad Ghufran <em...@gmail.com> on 2014/10/13 15:44:26 UTC

Problem installing opennlp

Hello,

I have been trying to install opennlp but have been unsuccessful so far. I
checked out trunk branch from svn and tried to build the Maven project but
I keep getting errors which I am unable to resolve.

I also tried with skipping tests but I still get errors. Here is a log of
mvn install : http://pastebin.com/XUh6me7R

Could someone let me know how I can resolve this?

Best Regards,
Ghufran

Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Hi,

Okay this solves it (partially). After adding the OPENNLP_HOME to the path,
I can successfully call opennlp but only from opennlp\opennlp-tools
directory because it needs the pom.xml file to be there.

Thanks for the help, everyone!


Mohammad Ghufran

On Tue, Oct 14, 2014 at 12:35 PM, Rodrigo Agerri <ra...@apache.org> wrote:

> Hi,
>
> I do not use windows, but are not you supposed to write
>
> bin\opennlp.bat TokenNameFinder ?
>
> In any case, without setting the opennlp path, you need to be in the
> opennlp-tools directory to execute the CLI.
> Furthermore, if you plan to use often the CLI, I would follow these
> instructions to set the path:
>
> http://opennlp.apache.org/documentation/1.5.3/manual/opennlp.html#intro.cli
>
> Rodrigo
>
> On Tue, Oct 14, 2014 at 11:24 AM, Mohammad Ghufran <em...@gmail.com>
> wrote:
> > Hello,
> >
> > I don't think that is the problem. Here is what I get when I do what you
> > suggested.
> >
> > C:\code\opennlp\opennlp-tools>ls
> > bin  lang  pom.xml  src  target
> >
> > C:\code\opennlp\opennlp-tools>bin/opennlp TokenNameFinder
> > 'bin' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > C:\code\opennlp\opennlp-tools>bin/opennlp.bat TokenNameFinder
> > 'bin' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > Cheers,
> >
> > Mohammad Ghufran
> >
> > On Tue, Oct 14, 2014 at 12:07 PM, Rodrigo Agerri <ra...@apache.org>
> wrote:
> >
> >> Hi,
> >>
> >> You need to be in the opennlp-tools directory and call it like this:
> >>
> >> bin/opennlp TokenNameFinder
> >>
> >> .... for example. That is what the maven error told you:
> >>
> >> [ERROR] Failed to execute goal
> >> org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
> requires
> >> a project to execute but there is no POM in this directory
> >> (C:\code\opennlp\opennlp-tools\bin). Pl
> >> ease verify you invoked Maven from the correct directory. -> [Help 1]
> >>
> >> HTH,
> >>
> >> Rodrigo
> >>
> >> On Tue, Oct 14, 2014 at 10:50 AM, Mohammad Ghufran <emghufran@gmail.com
> >
> >> wrote:
> >> > Hello,
> >> >
> >> > I was able to complete the install without any errors using Java 7 but
> >> now,
> >> > I wanted to try the commandline tool so i executed "opennlp" in
> >> > opennlp/opennlp-tools/bin but I still get errors (the same happens for
> >> > "opennlp.bat"):
> >> >
> >> > C:\code\opennlp\opennlp>mvn clean install -Dskip.maven.tests=true
> >> > .
> >> > .
> >> > .
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Reactor Summary:
> >> > [INFO]
> >> > [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
> >> >  3.574 s]
> >> > [INFO] Apache OpenNLP Tools ............................... SUCCESS
> >> [01:47
> >> > min]
> >> > [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
> >> >  6.795 s]
> >> > [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
> >> >  7.290 s]
> >> > [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
> >> > 10.948 s]
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 02:16 min
> >> > [INFO] Finished at: 2014-10-14T11:46:51+02:00
> >> > [INFO] Final Memory: 51M/355M
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > C:\code\opennlp\opennlp>ls
> >> > pom.xml  target
> >> >
> >> > C:\code\opennlp\opennlp>cd ../opennlp-tools/bin
> >> >
> >> > C:\code\opennlp\opennlp-tools\bin>ls
> >> > opennlp  opennlp.bat
> >> >
> >> > C:\code\opennlp\opennlp-tools\bin>opennlp
> >> > [ERROR] Failed to execute goal
> >> > org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
> >> requires
> >> > a project to execute but there is no POM in this directory
> >> > (C:\code\opennlp\opennlp-tools\bin). Pl
> >> > ease verify you invoked Maven from the correct directory. -> [Help 1]
> >> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> >> > goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli):
> Goal
> >> > requires a project to execute but there is no POM in this d
> >> > irectory (C:\code\opennlp\opennlp-tools\bin). Please verify you
> invoked
> >> > Maven from the correct directory.
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:178)
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> >> >         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
> >> >         at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> >> >         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> >> >         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
> >> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
> >> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >         at
> >> >
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >> >         at
> >> >
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >> >         at
> >> >
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> >> >         at
> >> >
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> >> >         at
> >> >
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> >> >         at
> >> >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> >> > Caused by: org.apache.maven.lifecycle.MissingProjectException: Goal
> >> > requires a project to execute but there is no POM in this directory
> >> > (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked Maven
> >> > from the correct directory.
> >> >         at
> >> >
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
> >> >         ... 19 more
> >> > [ERROR]
> >> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >> > [ERROR]
> >> > [ERROR] For more information about the errors and possible solutions,
> >> > please read the following articles:
> >> > [ERROR] [Help 1]
> >> >
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
> >> >
> >> > Mohammad Ghufran
> >> >
> >> > On Mon, Oct 13, 2014 at 10:32 PM, Jörn Kottmann <ko...@gmail.com>
> >> wrote:
> >> >
> >> >> On Mon, 2014-10-13 at 15:58 +0200, Rodrigo Agerri wrote:
> >> >> > Hello,
> >> >> >
> >> >> > The paste has been removed. Anyway, are you doing this?
> >> >> >
> >> >> > svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
> >> >> > cd opennlp/opennlp
> >> >> > mvn clean install
> >> >>
> >> >> This should built everything.
> >> >>
> >> >> Are there issues with that on your machine?
> >> >>
> >> >> Jörn
> >> >>
> >> >>
> >> >>
> >> >>
> >>
>

Re: Problem installing opennlp

Posted by Rodrigo Agerri <ra...@apache.org>.
Hi,

I do not use windows, but are not you supposed to write

bin\opennlp.bat TokenNameFinder ?

In any case, without setting the opennlp path, you need to be in the
opennlp-tools directory to execute the CLI.
Furthermore, if you plan to use often the CLI, I would follow these
instructions to set the path:

http://opennlp.apache.org/documentation/1.5.3/manual/opennlp.html#intro.cli

Rodrigo

On Tue, Oct 14, 2014 at 11:24 AM, Mohammad Ghufran <em...@gmail.com> wrote:
> Hello,
>
> I don't think that is the problem. Here is what I get when I do what you
> suggested.
>
> C:\code\opennlp\opennlp-tools>ls
> bin  lang  pom.xml  src  target
>
> C:\code\opennlp\opennlp-tools>bin/opennlp TokenNameFinder
> 'bin' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\code\opennlp\opennlp-tools>bin/opennlp.bat TokenNameFinder
> 'bin' is not recognized as an internal or external command,
> operable program or batch file.
>
> Cheers,
>
> Mohammad Ghufran
>
> On Tue, Oct 14, 2014 at 12:07 PM, Rodrigo Agerri <ra...@apache.org> wrote:
>
>> Hi,
>>
>> You need to be in the opennlp-tools directory and call it like this:
>>
>> bin/opennlp TokenNameFinder
>>
>> .... for example. That is what the maven error told you:
>>
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal requires
>> a project to execute but there is no POM in this directory
>> (C:\code\opennlp\opennlp-tools\bin). Pl
>> ease verify you invoked Maven from the correct directory. -> [Help 1]
>>
>> HTH,
>>
>> Rodrigo
>>
>> On Tue, Oct 14, 2014 at 10:50 AM, Mohammad Ghufran <em...@gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I was able to complete the install without any errors using Java 7 but
>> now,
>> > I wanted to try the commandline tool so i executed "opennlp" in
>> > opennlp/opennlp-tools/bin but I still get errors (the same happens for
>> > "opennlp.bat"):
>> >
>> > C:\code\opennlp\opennlp>mvn clean install -Dskip.maven.tests=true
>> > .
>> > .
>> > .
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
>> >  3.574 s]
>> > [INFO] Apache OpenNLP Tools ............................... SUCCESS
>> [01:47
>> > min]
>> > [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
>> >  6.795 s]
>> > [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
>> >  7.290 s]
>> > [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
>> > 10.948 s]
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 02:16 min
>> > [INFO] Finished at: 2014-10-14T11:46:51+02:00
>> > [INFO] Final Memory: 51M/355M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > C:\code\opennlp\opennlp>ls
>> > pom.xml  target
>> >
>> > C:\code\opennlp\opennlp>cd ../opennlp-tools/bin
>> >
>> > C:\code\opennlp\opennlp-tools\bin>ls
>> > opennlp  opennlp.bat
>> >
>> > C:\code\opennlp\opennlp-tools\bin>opennlp
>> > [ERROR] Failed to execute goal
>> > org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
>> requires
>> > a project to execute but there is no POM in this directory
>> > (C:\code\opennlp\opennlp-tools\bin). Pl
>> > ease verify you invoked Maven from the correct directory. -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> > goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
>> > requires a project to execute but there is no POM in this d
>> > irectory (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked
>> > Maven from the correct directory.
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:178)
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
>> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
>> >         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>> >         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >         at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> >         at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> >         at java.lang.reflect.Method.invoke(Method.java:606)
>> >         at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>> >         at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>> >         at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>> >         at
>> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> > Caused by: org.apache.maven.lifecycle.MissingProjectException: Goal
>> > requires a project to execute but there is no POM in this directory
>> > (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked Maven
>> > from the correct directory.
>> >         at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
>> >         ... 19 more
>> > [ERROR]
>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> > please read the following articles:
>> > [ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>> >
>> > Mohammad Ghufran
>> >
>> > On Mon, Oct 13, 2014 at 10:32 PM, Jörn Kottmann <ko...@gmail.com>
>> wrote:
>> >
>> >> On Mon, 2014-10-13 at 15:58 +0200, Rodrigo Agerri wrote:
>> >> > Hello,
>> >> >
>> >> > The paste has been removed. Anyway, are you doing this?
>> >> >
>> >> > svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
>> >> > cd opennlp/opennlp
>> >> > mvn clean install
>> >>
>> >> This should built everything.
>> >>
>> >> Are there issues with that on your machine?
>> >>
>> >> Jörn
>> >>
>> >>
>> >>
>> >>
>>

Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Hello,

I don't think that is the problem. Here is what I get when I do what you
suggested.

C:\code\opennlp\opennlp-tools>ls
bin  lang  pom.xml  src  target

C:\code\opennlp\opennlp-tools>bin/opennlp TokenNameFinder
'bin' is not recognized as an internal or external command,
operable program or batch file.

C:\code\opennlp\opennlp-tools>bin/opennlp.bat TokenNameFinder
'bin' is not recognized as an internal or external command,
operable program or batch file.

Cheers,

Mohammad Ghufran

On Tue, Oct 14, 2014 at 12:07 PM, Rodrigo Agerri <ra...@apache.org> wrote:

> Hi,
>
> You need to be in the opennlp-tools directory and call it like this:
>
> bin/opennlp TokenNameFinder
>
> .... for example. That is what the maven error told you:
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal requires
> a project to execute but there is no POM in this directory
> (C:\code\opennlp\opennlp-tools\bin). Pl
> ease verify you invoked Maven from the correct directory. -> [Help 1]
>
> HTH,
>
> Rodrigo
>
> On Tue, Oct 14, 2014 at 10:50 AM, Mohammad Ghufran <em...@gmail.com>
> wrote:
> > Hello,
> >
> > I was able to complete the install without any errors using Java 7 but
> now,
> > I wanted to try the commandline tool so i executed "opennlp" in
> > opennlp/opennlp-tools/bin but I still get errors (the same happens for
> > "opennlp.bat"):
> >
> > C:\code\opennlp\opennlp>mvn clean install -Dskip.maven.tests=true
> > .
> > .
> > .
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
> >  3.574 s]
> > [INFO] Apache OpenNLP Tools ............................... SUCCESS
> [01:47
> > min]
> > [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
> >  6.795 s]
> > [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
> >  7.290 s]
> > [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
> > 10.948 s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 02:16 min
> > [INFO] Finished at: 2014-10-14T11:46:51+02:00
> > [INFO] Final Memory: 51M/355M
> > [INFO]
> > ------------------------------------------------------------------------
> > C:\code\opennlp\opennlp>ls
> > pom.xml  target
> >
> > C:\code\opennlp\opennlp>cd ../opennlp-tools/bin
> >
> > C:\code\opennlp\opennlp-tools\bin>ls
> > opennlp  opennlp.bat
> >
> > C:\code\opennlp\opennlp-tools\bin>opennlp
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
> requires
> > a project to execute but there is no POM in this directory
> > (C:\code\opennlp\opennlp-tools\bin). Pl
> > ease verify you invoked Maven from the correct directory. -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
> > requires a project to execute but there is no POM in this d
> > irectory (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked
> > Maven from the correct directory.
> >         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:178)
> >         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> >         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> >         at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> >         at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> >         at
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> >         at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> >         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> >         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >         at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> >         at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> >         at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> >         at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> > Caused by: org.apache.maven.lifecycle.MissingProjectException: Goal
> > requires a project to execute but there is no POM in this directory
> > (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked Maven
> > from the correct directory.
> >         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
> >         ... 19 more
> > [ERROR]
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
> >
> > Mohammad Ghufran
> >
> > On Mon, Oct 13, 2014 at 10:32 PM, Jörn Kottmann <ko...@gmail.com>
> wrote:
> >
> >> On Mon, 2014-10-13 at 15:58 +0200, Rodrigo Agerri wrote:
> >> > Hello,
> >> >
> >> > The paste has been removed. Anyway, are you doing this?
> >> >
> >> > svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
> >> > cd opennlp/opennlp
> >> > mvn clean install
> >>
> >> This should built everything.
> >>
> >> Are there issues with that on your machine?
> >>
> >> Jörn
> >>
> >>
> >>
> >>
>

Re: Problem installing opennlp

Posted by Rodrigo Agerri <ra...@apache.org>.
Hi,

You need to be in the opennlp-tools directory and call it like this:

bin/opennlp TokenNameFinder

.... for example. That is what the maven error told you:

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal requires
a project to execute but there is no POM in this directory
(C:\code\opennlp\opennlp-tools\bin). Pl
ease verify you invoked Maven from the correct directory. -> [Help 1]

HTH,

Rodrigo

On Tue, Oct 14, 2014 at 10:50 AM, Mohammad Ghufran <em...@gmail.com> wrote:
> Hello,
>
> I was able to complete the install without any errors using Java 7 but now,
> I wanted to try the commandline tool so i executed "opennlp" in
> opennlp/opennlp-tools/bin but I still get errors (the same happens for
> "opennlp.bat"):
>
> C:\code\opennlp\opennlp>mvn clean install -Dskip.maven.tests=true
> .
> .
> .
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
>  3.574 s]
> [INFO] Apache OpenNLP Tools ............................... SUCCESS [01:47
> min]
> [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
>  6.795 s]
> [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
>  7.290 s]
> [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
> 10.948 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:16 min
> [INFO] Finished at: 2014-10-14T11:46:51+02:00
> [INFO] Final Memory: 51M/355M
> [INFO]
> ------------------------------------------------------------------------
> C:\code\opennlp\opennlp>ls
> pom.xml  target
>
> C:\code\opennlp\opennlp>cd ../opennlp-tools/bin
>
> C:\code\opennlp\opennlp-tools\bin>ls
> opennlp  opennlp.bat
>
> C:\code\opennlp\opennlp-tools\bin>opennlp
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal requires
> a project to execute but there is no POM in this directory
> (C:\code\opennlp\opennlp-tools\bin). Pl
> ease verify you invoked Maven from the correct directory. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
> requires a project to execute but there is no POM in this d
> irectory (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked
> Maven from the correct directory.
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:178)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.lifecycle.MissingProjectException: Goal
> requires a project to execute but there is no POM in this directory
> (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked Maven
> from the correct directory.
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
>         ... 19 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>
> Mohammad Ghufran
>
> On Mon, Oct 13, 2014 at 10:32 PM, Jörn Kottmann <ko...@gmail.com> wrote:
>
>> On Mon, 2014-10-13 at 15:58 +0200, Rodrigo Agerri wrote:
>> > Hello,
>> >
>> > The paste has been removed. Anyway, are you doing this?
>> >
>> > svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
>> > cd opennlp/opennlp
>> > mvn clean install
>>
>> This should built everything.
>>
>> Are there issues with that on your machine?
>>
>> Jörn
>>
>>
>>
>>

Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Hello,

I was able to complete the install without any errors using Java 7 but now,
I wanted to try the commandline tool so i executed "opennlp" in
opennlp/opennlp-tools/bin but I still get errors (the same happens for
"opennlp.bat"):

C:\code\opennlp\opennlp>mvn clean install -Dskip.maven.tests=true
.
.
.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache OpenNLP Reactor ............................. SUCCESS [
 3.574 s]
[INFO] Apache OpenNLP Tools ............................... SUCCESS [01:47
min]
[INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
 6.795 s]
[INFO] Apache OpenNLP Documentation ....................... SUCCESS [
 7.290 s]
[INFO] Apache OpenNLP Distribution ........................ SUCCESS [
10.948 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:16 min
[INFO] Finished at: 2014-10-14T11:46:51+02:00
[INFO] Final Memory: 51M/355M
[INFO]
------------------------------------------------------------------------
C:\code\opennlp\opennlp>ls
pom.xml  target

C:\code\opennlp\opennlp>cd ../opennlp-tools/bin

C:\code\opennlp\opennlp-tools\bin>ls
opennlp  opennlp.bat

C:\code\opennlp\opennlp-tools\bin>opennlp
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal requires
a project to execute but there is no POM in this directory
(C:\code\opennlp\opennlp-tools\bin). Pl
ease verify you invoked Maven from the correct directory. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli): Goal
requires a project to execute but there is no POM in this d
irectory (C:\code\opennlp\opennlp-tools\bin). Please verify you invoked
Maven from the correct directory.
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:178)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.lifecycle.MissingProjectException: Goal
requires a project to execute but there is no POM in this directory
(C:\code\opennlp\opennlp-tools\bin). Please verify you invoked Maven
from the correct directory.
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
        ... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

Mohammad Ghufran

On Mon, Oct 13, 2014 at 10:32 PM, Jörn Kottmann <ko...@gmail.com> wrote:

> On Mon, 2014-10-13 at 15:58 +0200, Rodrigo Agerri wrote:
> > Hello,
> >
> > The paste has been removed. Anyway, are you doing this?
> >
> > svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
> > cd opennlp/opennlp
> > mvn clean install
>
> This should built everything.
>
> Are there issues with that on your machine?
>
> Jörn
>
>
>
>

Re: Problem installing opennlp

Posted by Jörn Kottmann <ko...@gmail.com>.
On Mon, 2014-10-13 at 15:58 +0200, Rodrigo Agerri wrote:
> Hello,
> 
> The paste has been removed. Anyway, are you doing this?
> 
> svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
> cd opennlp/opennlp
> mvn clean install

This should built everything.

Are there issues with that on your machine?

Jörn




Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Hello,

Yes I did. For some reason, the download from Oracle website is extremely
slow. Thought I might try this in the time being!

Mohammad Ghufran

On Mon, Oct 13, 2014 at 5:26 PM, Rodrigo Agerri <ra...@apache.org> wrote:

> Hello,
>
> Did you notice my recommendation to use jdk 1.7 :) ?
>
> Anyway, you need to modify the pom for every one of the packages you
> want to compile.
>
> R
>
> On Mon, Oct 13, 2014 at 5:20 PM, Mohammad Ghufran <em...@gmail.com>
> wrote:
> > Okay, so I should use the profile settings in stackoverflow in all of the
> > pom.xml files for each of the following?
> > opennlp/opennlp
> > opennlp-distr
> > opennlp-docs
> > opennlp-tools
> >
> > Changing just the one for opennlp/opennlp seems to generate the same
> error.
> >
> > Cheers,
> >
> > Mohammad Ghufran
> >
> > On Mon, Oct 13, 2014 at 4:34 PM, Jörn Kottmann <ko...@gmail.com>
> wrote:
> >
> >> On 10/13/2014 04:23 PM, Mohammad Ghufran wrote:
> >>
> >>> Hello,
> >>>
> >>> No, I have JAVA_HOME set to jdk1.8.0_11 since I was having problems
> with
> >>> that before. I got a message that I should be using JDK, not JRE. Do
> you
> >>> know which release/tag/commit is stable and can be used?
> >>>
> >>>
> >>>
> >> Java 7 works, anyway those error have to be sorted out, so that it also
> >> works
> >> with Java 8.
> >>
> >> Jörn
> >>
>

Re: Problem installing opennlp

Posted by Rodrigo Agerri <ra...@apache.org>.
Hello,

Did you notice my recommendation to use jdk 1.7 :) ?

Anyway, you need to modify the pom for every one of the packages you
want to compile.

R

On Mon, Oct 13, 2014 at 5:20 PM, Mohammad Ghufran <em...@gmail.com> wrote:
> Okay, so I should use the profile settings in stackoverflow in all of the
> pom.xml files for each of the following?
> opennlp/opennlp
> opennlp-distr
> opennlp-docs
> opennlp-tools
>
> Changing just the one for opennlp/opennlp seems to generate the same error.
>
> Cheers,
>
> Mohammad Ghufran
>
> On Mon, Oct 13, 2014 at 4:34 PM, Jörn Kottmann <ko...@gmail.com> wrote:
>
>> On 10/13/2014 04:23 PM, Mohammad Ghufran wrote:
>>
>>> Hello,
>>>
>>> No, I have JAVA_HOME set to jdk1.8.0_11 since I was having problems with
>>> that before. I got a message that I should be using JDK, not JRE. Do you
>>> know which release/tag/commit is stable and can be used?
>>>
>>>
>>>
>> Java 7 works, anyway those error have to be sorted out, so that it also
>> works
>> with Java 8.
>>
>> Jörn
>>

Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Okay, so I should use the profile settings in stackoverflow in all of the
pom.xml files for each of the following?
opennlp/opennlp
opennlp-distr
opennlp-docs
opennlp-tools

Changing just the one for opennlp/opennlp seems to generate the same error.

Cheers,

Mohammad Ghufran

On Mon, Oct 13, 2014 at 4:34 PM, Jörn Kottmann <ko...@gmail.com> wrote:

> On 10/13/2014 04:23 PM, Mohammad Ghufran wrote:
>
>> Hello,
>>
>> No, I have JAVA_HOME set to jdk1.8.0_11 since I was having problems with
>> that before. I got a message that I should be using JDK, not JRE. Do you
>> know which release/tag/commit is stable and can be used?
>>
>>
>>
> Java 7 works, anyway those error have to be sorted out, so that it also
> works
> with Java 8.
>
> Jörn
>

Re: Problem installing opennlp

Posted by Jörn Kottmann <ko...@gmail.com>.
On 10/13/2014 04:23 PM, Mohammad Ghufran wrote:
> Hello,
>
> No, I have JAVA_HOME set to jdk1.8.0_11 since I was having problems with
> that before. I got a message that I should be using JDK, not JRE. Do you
> know which release/tag/commit is stable and can be used?
>
>

Java 7 works, anyway those error have to be sorted out, so that it also 
works
with Java 8.

Jörn

Re: Problem installing opennlp

Posted by Rodrigo Agerri <ra...@apache.org>.
Hi,

You are using jdk 1.8 to compile opennlp. It is known that the
incomplete javadoc with 1.8 will fail.

[ERROR] Command line was: "C:\Program
Files\Java\jdk1.8.0_11\jre\..\bin\javadoc.exe" @options @packages

In order to compile now with java 1.8 you need to tell maven to ignore
all those errors.

You can do that by following this thread

http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete/22296107#22296107

Or, my recommendation, use jdk 1.7 to build opennlp now.

Cheers,

R


On Mon, Oct 13, 2014 at 4:23 PM, Mohammad Ghufran <em...@gmail.com> wrote:
> Hello,
>
> No, I have JAVA_HOME set to jdk1.8.0_11 since I was having problems with
> that before. I got a message that I should be using JDK, not JRE. Do you
> know which release/tag/commit is stable and can be used?
>
> Mohammad Ghufran
>
> On Mon, Oct 13, 2014 at 4:20 PM, Jörn Kottmann <ko...@gmail.com> wrote:
>
>> Hello,
>>
>> looks like you are using Java 8 to compile it?
>>
>> There seems to be quite some problems with the javadocs ...
>> that should be fixed for the next release.
>>
>> Jörn
>>
>>
>> On 10/13/2014 04:03 PM, Mohammad Ghufran wrote:
>>
>>> Hello,
>>>
>>> Thank you for your response and sorry about the deleted post. Yes, I am
>>> trying to do that but I am failing at the first step (mvn clean install in
>>> opennlp/opennlp folder).
>>> Here is another one: http://pastebin.com/sH5EiL3m .
>>>
>>> Cheers,
>>> Ghufran
>>>
>>>
>>> Mohammad Ghufran
>>>
>>> On Mon, Oct 13, 2014 at 3:58 PM, Rodrigo Agerri <ra...@apache.org>
>>> wrote:
>>>
>>>  Hello,
>>>>
>>>> The paste has been removed. Anyway, are you doing this?
>>>>
>>>> svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
>>>> cd opennlp/opennlp
>>>> mvn clean install
>>>> cd ../opennlp-distr
>>>> mvn clean install
>>>> cd ../opennlp-docs
>>>> mvn clean install
>>>> cd ../opennlp-tools
>>>> mvn clean install
>>>>
>>>> If you are doing this, send the error you get.
>>>>
>>>> Cheers,
>>>>
>>>> Rodrigo
>>>>
>>>> On Mon, Oct 13, 2014 at 3:44 PM, Mohammad Ghufran <em...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have been trying to install opennlp but have been unsuccessful so far.
>>>>>
>>>> I
>>>>
>>>>> checked out trunk branch from svn and tried to build the Maven project
>>>>>
>>>> but
>>>>
>>>>> I keep getting errors which I am unable to resolve.
>>>>>
>>>>> I also tried with skipping tests but I still get errors. Here is a log
>>>>> of
>>>>> mvn install : http://pastebin.com/XUh6me7R
>>>>>
>>>>> Could someone let me know how I can resolve this?
>>>>>
>>>>> Best Regards,
>>>>> Ghufran
>>>>>
>>>>
>>

Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Hello,

No, I have JAVA_HOME set to jdk1.8.0_11 since I was having problems with
that before. I got a message that I should be using JDK, not JRE. Do you
know which release/tag/commit is stable and can be used?

Mohammad Ghufran

On Mon, Oct 13, 2014 at 4:20 PM, Jörn Kottmann <ko...@gmail.com> wrote:

> Hello,
>
> looks like you are using Java 8 to compile it?
>
> There seems to be quite some problems with the javadocs ...
> that should be fixed for the next release.
>
> Jörn
>
>
> On 10/13/2014 04:03 PM, Mohammad Ghufran wrote:
>
>> Hello,
>>
>> Thank you for your response and sorry about the deleted post. Yes, I am
>> trying to do that but I am failing at the first step (mvn clean install in
>> opennlp/opennlp folder).
>> Here is another one: http://pastebin.com/sH5EiL3m .
>>
>> Cheers,
>> Ghufran
>>
>>
>> Mohammad Ghufran
>>
>> On Mon, Oct 13, 2014 at 3:58 PM, Rodrigo Agerri <ra...@apache.org>
>> wrote:
>>
>>  Hello,
>>>
>>> The paste has been removed. Anyway, are you doing this?
>>>
>>> svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
>>> cd opennlp/opennlp
>>> mvn clean install
>>> cd ../opennlp-distr
>>> mvn clean install
>>> cd ../opennlp-docs
>>> mvn clean install
>>> cd ../opennlp-tools
>>> mvn clean install
>>>
>>> If you are doing this, send the error you get.
>>>
>>> Cheers,
>>>
>>> Rodrigo
>>>
>>> On Mon, Oct 13, 2014 at 3:44 PM, Mohammad Ghufran <em...@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I have been trying to install opennlp but have been unsuccessful so far.
>>>>
>>> I
>>>
>>>> checked out trunk branch from svn and tried to build the Maven project
>>>>
>>> but
>>>
>>>> I keep getting errors which I am unable to resolve.
>>>>
>>>> I also tried with skipping tests but I still get errors. Here is a log
>>>> of
>>>> mvn install : http://pastebin.com/XUh6me7R
>>>>
>>>> Could someone let me know how I can resolve this?
>>>>
>>>> Best Regards,
>>>> Ghufran
>>>>
>>>
>

Re: Problem installing opennlp

Posted by Jörn Kottmann <ko...@gmail.com>.
Hello,

looks like you are using Java 8 to compile it?

There seems to be quite some problems with the javadocs ...
that should be fixed for the next release.

Jörn

On 10/13/2014 04:03 PM, Mohammad Ghufran wrote:
> Hello,
>
> Thank you for your response and sorry about the deleted post. Yes, I am
> trying to do that but I am failing at the first step (mvn clean install in
> opennlp/opennlp folder).
> Here is another one: http://pastebin.com/sH5EiL3m .
>
> Cheers,
> Ghufran
>
>
> Mohammad Ghufran
>
> On Mon, Oct 13, 2014 at 3:58 PM, Rodrigo Agerri <ra...@apache.org> wrote:
>
>> Hello,
>>
>> The paste has been removed. Anyway, are you doing this?
>>
>> svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
>> cd opennlp/opennlp
>> mvn clean install
>> cd ../opennlp-distr
>> mvn clean install
>> cd ../opennlp-docs
>> mvn clean install
>> cd ../opennlp-tools
>> mvn clean install
>>
>> If you are doing this, send the error you get.
>>
>> Cheers,
>>
>> Rodrigo
>>
>> On Mon, Oct 13, 2014 at 3:44 PM, Mohammad Ghufran <em...@gmail.com>
>> wrote:
>>> Hello,
>>>
>>> I have been trying to install opennlp but have been unsuccessful so far.
>> I
>>> checked out trunk branch from svn and tried to build the Maven project
>> but
>>> I keep getting errors which I am unable to resolve.
>>>
>>> I also tried with skipping tests but I still get errors. Here is a log of
>>> mvn install : http://pastebin.com/XUh6me7R
>>>
>>> Could someone let me know how I can resolve this?
>>>
>>> Best Regards,
>>> Ghufran


Re: Problem installing opennlp

Posted by Mohammad Ghufran <em...@gmail.com>.
Hello,

Thank you for your response and sorry about the deleted post. Yes, I am
trying to do that but I am failing at the first step (mvn clean install in
opennlp/opennlp folder).
Here is another one: http://pastebin.com/sH5EiL3m .

Cheers,
Ghufran


Mohammad Ghufran

On Mon, Oct 13, 2014 at 3:58 PM, Rodrigo Agerri <ra...@apache.org> wrote:

> Hello,
>
> The paste has been removed. Anyway, are you doing this?
>
> svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
> cd opennlp/opennlp
> mvn clean install
> cd ../opennlp-distr
> mvn clean install
> cd ../opennlp-docs
> mvn clean install
> cd ../opennlp-tools
> mvn clean install
>
> If you are doing this, send the error you get.
>
> Cheers,
>
> Rodrigo
>
> On Mon, Oct 13, 2014 at 3:44 PM, Mohammad Ghufran <em...@gmail.com>
> wrote:
> > Hello,
> >
> > I have been trying to install opennlp but have been unsuccessful so far.
> I
> > checked out trunk branch from svn and tried to build the Maven project
> but
> > I keep getting errors which I am unable to resolve.
> >
> > I also tried with skipping tests but I still get errors. Here is a log of
> > mvn install : http://pastebin.com/XUh6me7R
> >
> > Could someone let me know how I can resolve this?
> >
> > Best Regards,
> > Ghufran
>

Re: Problem installing opennlp

Posted by Rodrigo Agerri <ra...@apache.org>.
Hello,

The paste has been removed. Anyway, are you doing this?

svn co https://svn.apache.org/repos/asf/opennlp/trunk/ opennlp
cd opennlp/opennlp
mvn clean install
cd ../opennlp-distr
mvn clean install
cd ../opennlp-docs
mvn clean install
cd ../opennlp-tools
mvn clean install

If you are doing this, send the error you get.

Cheers,

Rodrigo

On Mon, Oct 13, 2014 at 3:44 PM, Mohammad Ghufran <em...@gmail.com> wrote:
> Hello,
>
> I have been trying to install opennlp but have been unsuccessful so far. I
> checked out trunk branch from svn and tried to build the Maven project but
> I keep getting errors which I am unable to resolve.
>
> I also tried with skipping tests but I still get errors. Here is a log of
> mvn install : http://pastebin.com/XUh6me7R
>
> Could someone let me know how I can resolve this?
>
> Best Regards,
> Ghufran