Hi,
I have some problems when I want to use aspectj library. When I try to add aop dependencies as follows in my project. Maven is said that
"Failed to execute goal com.atlassian.maven.plugins:jira-maven-plugin:8.2.0:validate-banned-dependencies".
Is there a way applying aop with AspectJ in jira server plugin?
By the way how can I can see provided dependecies from jira-server project?
Because When I specify scope of dependencies as provided, they are missing.
Added Dependencies ;
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.8.7</version>
</dependency>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<complianceLevel>1.8</complianceLevel>
<source>1.8</source>
<target>1.8</target>
</configuration>
</execution>
</executions>
</plugin>
Welcome to the community.
As you can see from the error message it is listed as one of the banned dependencies.
The easiest way to see which libraries can be used is documented on OSGi Browser page.
I used to check https://packages.atlassian.com/mvn/maven-atlassian-external/ for the external dependencies as well.
Hope it was helpful.
Tuncay
Thank you for your clear explanation, Tuncay. I have not tried to add any implementation but this information is very useful for me. I can see there is an aspectjweaver jar in the dependencies. I think I can use the dependency.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.