Revert "fixing path to spring aspect jar and updating antrun plugin"
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 12 Jan 2016 14:05:38 +0000 (15:05 +0100)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 12 Jan 2016 14:05:38 +0000 (15:05 +0100)
This reverts commit 621096729bf02d85279f4520d47fab9ea330edbe.

cdmlib-model/pom.xml

index 45c00ca0f863e433d6cea17d437f8a85c4b84cea..0b347cd74564072ef4df01620cc081f04f622a64 100644 (file)
@@ -18,7 +18,6 @@
     <plugins>
       <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.8</version>
         <executions>
           <execution>
             <id>aspectj-main</id>
@@ -27,8 +26,8 @@
               <goal>run</goal>
             </goals>
             <configuration>
-              <target>
-                <property name="spring.aspects.jar" value="${settings.localRepository}/org/springframework/spring-aspects/${spring.version}/spring-aspects-${spring.version}.jar" />
+              <tasks>
+                <property name="spring.aspects.jar" value="${settings.localRepository}/org/springframework/org.springframework.aspects/${spring.version}/org.springframework.aspects-${spring.version}.jar" />
                 <path id="aspectPath">
                   <pathelement location="${spring.aspects.jar}" />
                 </path>
@@ -42,7 +41,7 @@
                     <pathelement location="src/main/java" />
                   </sourceroots>
                 </iajc>
-              </target>
+              </tasks>
             </configuration>
           </execution>
           <execution>
@@ -52,7 +51,7 @@
               <goal>run</goal>
             </goals>
             <configuration>
-              <target>
+              <tasks>
                 <taskdef classname="org.aspectj.tools.ant.taskdefs.AjcTask" name="iajc">
                   <classpath refid="maven.plugin.classpath" />
                 </taskdef>
@@ -64,7 +63,7 @@
                     <pathelement location="src/test/java" />
                   </sourceroots>
                 </iajc>
-              </target>
+              </tasks>
           </configuration>
         </execution>
       </executions>