Re: Compiler problem when building with Maven (part1 solved)

View: New views
2 Messages — Rating Filter:   Alert me  

Re: Compiler problem when building with Maven (part1 solved)

by Ichthyostega :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andy Clement schrieb:
> I see you are on AspectJ1.6.5 - can you upgrade?
...
> There were one or two bugs fixed related to those during 1.6.6

On Aug 1, 2008, at 7:40 AM, Benjamin Bentmann wrote:
http://old.nabble.com/aspectj-maven-plugin-version-to18765856.html#a18765856
> you can add dependencies to the plugin's class path. These should
> come up front the normal plugin dependencies so in principle that
> should allow you to override the AspectJ version (as long as it's
> binary compatible).

Dave Whittaker schrieb:
> ...but in the past I've used specific dependencies for the plugin
> itself to override the version of the compiler it used.

Many thanks to all of you!
By applying this trick, the problem with the IllegalStateExeption
could be solved. Just for the record: We're now placing
aspecttools-1.6.6 on the classpath of the plugin

Cheers
Hermann V.

====================================================

    <plugin>
     <groupId>org.codehaus.mojo</groupId>
     <artifactId>aspectj-maven-plugin</artifactId>
     <version>1.3-SNAPSHOT</version>
     <dependencies>
       <dependency>
          <groupId>org.aspectj</groupId>
          <artifactId>aspectjrt</artifactId>
          <version>1.6.6</version>
       </dependency>
       <dependency>
          <groupId>org.aspectj</groupId>
          <artifactId>aspectjtools</artifactId>
          <version>1.6.6</version>
       </dependency>
     </dependencies>
     <executions>
_______________________________________________
aspectj-users mailing list
aspectj-users@...
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Re: Re: Compiler problem when building with Maven (part1 solved)

by Andy Clement :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Excellent... but I guess you still have that NPE? :(

Andy

2009/11/10 prg@... <prg@...>:

> Andy Clement schrieb:
>> I see you are on AspectJ1.6.5 - can you upgrade?
> ...
>> There were one or two bugs fixed related to those during 1.6.6
>
> On Aug 1, 2008, at 7:40 AM, Benjamin Bentmann wrote:
> http://old.nabble.com/aspectj-maven-plugin-version-to18765856.html#a18765856
>> you can add dependencies to the plugin's class path. These should
>> come up front the normal plugin dependencies so in principle that
>> should allow you to override the AspectJ version (as long as it's
>> binary compatible).
>
> Dave Whittaker schrieb:
>> ...but in the past I've used specific dependencies for the plugin
>> itself to override the version of the compiler it used.
>
> Many thanks to all of you!
> By applying this trick, the problem with the IllegalStateExeption
> could be solved. Just for the record: We're now placing
> aspecttools-1.6.6 on the classpath of the plugin
>
> Cheers
> Hermann V.
>
> ====================================================
>
>     <plugin>
>      <groupId>org.codehaus.mojo</groupId>
>      <artifactId>aspectj-maven-plugin</artifactId>
>      <version>1.3-SNAPSHOT</version>
>      <dependencies>
>        <dependency>
>           <groupId>org.aspectj</groupId>
>           <artifactId>aspectjrt</artifactId>
>           <version>1.6.6</version>
>        </dependency>
>        <dependency>
>           <groupId>org.aspectj</groupId>
>           <artifactId>aspectjtools</artifactId>
>           <version>1.6.6</version>
>        </dependency>
>      </dependencies>
>      <executions>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@...
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@...
https://dev.eclipse.org/mailman/listinfo/aspectj-users