strange, please file an issue with test project

On 1/16/07, Ben Alex <[EMAIL PROTECTED]> wrote:
Hi everyone

I can't get maven-compiler-plugin to work with AspectJ or Jikes. I've
followed the official directions at http://tinyurl.com/woqoa but always
receive:

[INFO] No such compiler 'aspectj'.

Or:

[INFO] No such compiler 'jikes'.

This error is from the following line of AbstractCompilerMojo source:

  compilerManager.getCompiler(compilerId);

I have registered the plugin as follows:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <version>2.1-SNAPSHOT</version>
  <configuration>
    <compilerId>aspectj</compilerId>
    <verbose>true</verbose>
    <failOnError>false</failOnError>
    <source>1.3</source>
    <target>1.3</target>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-compiler-aspectj</artifactId>
      <version>1.3</version>
    </dependency>
  </dependencies>
</plugin>

BTW I know I can use the AspectJ plugin instead, but I need
<failOnError>false</failOnError> support with AspectJ and/or Jikes.

Any suggestions appreciated.

Cheers
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to