Skip to content

Tag: maven

Using custom packaging type as dependency in maven

I have created a custom packaging type in my maven plugin so that I can deploy files in this custom format. E.g. I have a project that uses this format for packaging. The pom.xml has: I am able to deploy successfully to a repository. But now I want to use this as a dependency in another project. E.g. by addin…

Maven compiler cannot resolve import

I’m trying to build multiple eclipse products with maven and tycho. I’m currently stuck on an issue, where a Bundle A is dependent on a class from Bundle B. Bundle B has a package structure similar to: When I now try to build A I get a compile error that looks somewhat like this: If you look close…

Choose which dependency to use in class

I want to use a class and in my pom there are two dependencies that support it: dependency1 and dependency2. Using the class with dependency1 crashed my program, so I deleted it completely from pom …