How to run the DKPro WSD GPL experiments

67 views
Skip to first unread message

Jun Xie

unread,
Feb 18, 2014, 12:37:59 AM2/18/14
to dkpro-w...@googlegroups.com
Hi,

Thanks very much for your wonderful systems. It is really a nice work.

I am trying to do some development on top of your system. I read the GettingStarted section(https://code.google.com/p/dkpro-wsd/wiki/GettingStarted) and downloaded two systems, including 

DKPro-WSD and dkpro-wsd-gpl, via svn client. I put them into two different folders, such as dkpro-wsd and dkpro-wsd-gpl. In addition, I also install mvn.


From the GettingStarted section, 

"You can get a good feel for DKPro WSD's capabilities by examining and running the example code. The DKPro WSD GPL project has a module, de.tudarmstadt.ukp.dkpro.wsd.examples, containing several short example programs."

I use "mvn compile" command under dkpro-wsd-gpl to compile the system. But I got the following error:

[ERROR]   The project de.tudarmstadt.ukp.dkpro.wsd:de.tudarmstadt.ukp.dkpro.wsd-gpl:1.1.0-SNAPSHOT (/home/jun/programs/nlp/dkpro-wsd-gpl/trunk/pom.xml) has 1 error
[ERROR]     Non-resolvable import POM: Failure to find de.tudarmstadt.ukp.dkpro.wsd:de.tudarmstadt.ukp.dkpro.wsd.core:pom:1.1.0-SNAPSHOT in http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-releases was cached in the local repository, resolution will not be reattempted until the update interval of ukp-oss-releases has elapsed or updates are forced @ line 42, column 16 -> [Help 2]

I am new to Maven so I have no idea of what is going on. Is there any problem with the remote repository, as you can see http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-releases?

Best,

Jun

Tristan Miller

unread,
Feb 19, 2014, 4:56:48 AM2/19/14
to dkpro-w...@googlegroups.com
Dear Jun,

On 18/02/14 06:37 AM, Jun Xie wrote:
> Thanks very much for your wonderful systems. It is really a nice work.

You're welcome! I hope you find it useful.

> I use "mvn compile" command under dkpro-wsd-gpl to compile the system.
> But I got the following error:
>
> [ERROR] The project
> de.tudarmstadt.ukp.dkpro.wsd:de.tudarmstadt.ukp.dkpro.wsd-gpl:1.1.0-SNAPSHOT
> (/home/jun/programs/nlp/dkpro-wsd-gpl/trunk/pom.xml) has 1 error
> [ERROR] Non-resolvable import POM: Failure to find
> de.tudarmstadt.ukp.dkpro.wsd:de.tudarmstadt.ukp.dkpro.wsd.core:pom:1.1.0-SNAPSHOT
> in
> http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-releases
> was cached in the local repository, resolution will not be reattempted
> until the update interval of ukp-oss-releases has elapsed or updates are
> forced @ line 42, column 16 -> [Help 2]
>
> I am new to Maven so I have no idea of what is going on. Is there any
> problem with the remote repository, as you can
> see http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-releases?

I don't normally compile DKPro WSD from the command line, though I think
the problem is that the DKPro WSD GPL project depends on DKPro WSD (that
is, the Apache-licensed) project, and that you haven't yet installed the
latter.

If you want to continue to compile DKPro WSD and DKPro WSD GPL from
source using the command line, then I think this is what you need to do:

1. Check out DKPro WSD from http://dkpro-wsd.googlecode.com/svn/trunk/

2. Use Maven to compile and install it to your local repository.
(Probably something like "mvn install".)

3. Check out DKPro WSD GPL from https://dkpro-wsd.googlecode.com/svn/trunk/

4. Use Maven to compile it (and, if you wish, install it to your local
repository).

You may find it more convenient to use an IDE with Maven support, such
as Eclipse, which greatly automates and simplifies this process. Then
all you need to do is tell the IDE to check out the DKPro WSD and DKPro
WSD GPL repositories, and it should automatically compile and install
them for you, and it will be easier to view and navigate around the
source code and Maven POMs.

Hope this helps!

Regards,
Tristan

--
Tristan Miller, Research Scientist
Ubiquitous Knowledge Processing Lab (UKP-TUDA)
Department of Computer Science, Technische Universität Darmstadt
Tel: +49 6151 16 6166 | Web: http://www.ukp.tu-darmstadt.de/

signature.asc
Reply all
Reply to author
Forward
0 new messages