[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed with morfologik



Hi,

On 2019-01-02 09:31, Andrej Shadura wrote:
> In fact,
> just to build the package, you don’t need the tarball, you can
> `fakeroot debian/rules clean binary` directly.

ah, indeed, I need only this part.

With package libmorfologik-stemming-java installed I was able to reproduce your problem. After removing libmorfologik-stemming-java I have run into the same interdependency issue as mine:

[ERROR] Failed to execute goal on project morfologik-fsa-builders: Could not resolve dependencies for project org.carrot2:morfologik-fsa-builders:bundle:2.1.5: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.carrot2:morfologik-fsa:jar:debian has not been downloaded from it before. -> [Help 1]

I manage to get past this by manually linking morfologik-fsa POM and JAR into debian/maven-repo before running 'fakeroot debian/rules binary':

andrius@amalas:~/debian-packages/morfologik-stemming$ ls -l debian/maven-repo/org/carrot2/morfologik-fsa/debian/
total 4
lrwxrwxrwx 1 andrius andrius 64 Jan  2 03:18 morfologik-fsa-debian.jar -> ../../../../../../morfologik-fsa/target/morfologik-fsa-2.1.5.jar
lrwxrwxrwx 1 andrius andrius 40 Jan  2 03:17 morfologik-fsa-debian.pom -> ../../../../../../morfologik-fsa/pom.xml

Thus this might be used to solve the interdependency problem. However, this method looks more like a hack and I expect maven-debian-helper to have some built-ins for this.

Best,
Andrius

-- 
Andrius Merkys
Vilnius University Institute of Biotechnology, Saulėtekio al. 7, room V325
LT-10257 Vilnius, Lithuania



Reply to: