I downloaded the source from here:
http://apache.mirrors.redwire.net//incubator/opennlp/apache-opennlp-1.5.1-incubating-src.zip<http://apache.mirrors.redwire.net/incubator/opennlp/apache-opennlp-1.5.1-incubating-src.zip>

Then I downloaded maven from here:
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.3-bin.zip

I then unzipped both files to my C: drive. I updated my PATH variable to 
contain Maven.

I then navigated to the folder in DOS and tried to do a "mvn clean install" as 
noted in the README and it failed. Here is the content...

C:\>cd apache-maven-3.0.3

C:\apache-maven-3.0.3>dir
Volume in drive C is System
Volume Serial Number is 781F-F858

Directory of C:\apache-maven-3.0.3

10/05/2011  05:23 PM    <DIR>          .
10/05/2011  05:23 PM    <DIR>          ..
10/05/2011  05:23 PM    <DIR>          bin
10/05/2011  05:23 PM    <DIR>          boot
10/05/2011  05:23 PM    <DIR>          conf
10/05/2011  05:23 PM    <DIR>          lib
02/28/2011  06:27 PM            11,560 LICENSE.txt
02/28/2011  06:27 PM             1,030 NOTICE.txt
02/28/2011  06:27 PM             2,559 README.txt
               3 File(s)         15,149 bytes
               6 Dir(s)  106,707,931,136 bytes free

C:\apache-maven-3.0.3>cd..

C:\>cd apache-opennlp-1.5.1-incubating-src

C:\apache-opennlp-1.5.1-incubating-src>cd opennlp-distr

C:\apache-opennlp-1.5.1-incubating-src\opennlp-distr>dir
Volume in drive C is System
Volume Serial Number is 781F-F858

Directory of C:\apache-opennlp-1.5.1-incubating-src\opennlp-distr

10/05/2011  05:53 PM    <DIR>          .
10/05/2011  05:53 PM    <DIR>          ..
04/26/2011  09:22 AM             4,738 pom.xml
04/26/2011  09:21 AM             4,766 pom.xml.releaseBackup
02/01/2011  03:42 PM             1,342 README
02/01/2011  03:42 PM             3,186 RELEASE_NOTES.html
10/05/2011  05:53 PM    <DIR>          src
               4 File(s)         14,032 bytes
               3 Dir(s)  106,707,931,136 bytes free

C:\apache-opennlp-1.5.1-incubating-src\opennlp-distr>mvn clean install
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/apache/8/apache-8.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.opennlp:opennlp-distr:1.5.1-incubating 
(C:\apache-opennlp-1.5.1-inc
ubating-src\opennlp-distr\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for 
org.apache.opennlp:opennlp:1.5.1-incubating: Could not tra
nsfer artifact org.apache:apache:pom:8 from/to central 
(http://repo1.maven.org/maven2): Error transf
erring file: Connection timed out: connect and 'parent.relativePath' points at 
no local POM @ org.ap
ache.opennlp:opennlp:1.5.1-incubating, 
C:\apache-opennlp-1.5.1-incubating-src\opennlp\pom.xml, line
25, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[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 arti
cles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

I really just want to have the JAR files and some sample code so that I can 
implement the API to get sentences and POS. Is that located anywhere?

Thanks, Kosta

Reply via email to