Skip to content
Advertisement

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 adding

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 closely, you see

Integration test fails when upgrading failsafe but passes within intellij

I have a multi maven module project. The project runs fine and everything passes, but if I upgrade failsafe plugin from 2.22.2 to the latest version 3.0.0-M5 the integration test within two of the maven modules(client and server-with-jersey) fails. I have tried different configuration, but I am not quite sure what to do anymore… So I am hoping that the

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 …

Advertisement