2

私はscala 2.10、sbt 0.12.2、およびSpringを使用しています。

SBT を使用して Spring-AspectJ のコンパイル時ウィービングを有効にしたいと考えています。優れたMavenプラグインがそれを機能させることを私は知っています:

         <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>aspectj-maven-plugin</artifactId>
            <configuration>
                <complianceLevel>1.6</complianceLevel>
                <aspectLibraries>
                    <aspectLibrary>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-aspects</artifactId>
                    </aspectLibrary>
                </aspectLibraries>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

SBT側で同じことを行う効率的な方法はありますか?

4

1 に答える 1