开发者

Can i add Aspect J jar into a Maven project through pom.xml?

开发者 https://www.devze.com 2023-03-14 02:57 出处:网络
i was wondering whether i can add Aspect J to a Maven project because there doesn\'t seem to be a public repository for it to be added to pom.xml.

i was wondering whether i can add Aspect J to a Maven project because there doesn't seem to be a public repository for it to be added to pom.xml.

<dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
   开发者_开发问答   <scope>test</scope>
    </dependency>


    <dependency>
        <groupId>aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>${aspectjrt.version}</version>
    </dependency>
    <dependency>
        <groupId>aspectj</groupId>
        <artifactId>aspectjweaver</artifactId>
        <version>${aspectjweaver.version}</version>
    </dependency>

Where version is 1.5.3 and dependent on which one you wish to use.

0

精彩评论

暂无评论...
验证码 换一张
取 消