[ 
https://jira.codehaus.org/browse/MASPECTJ-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MASPECTJ-103.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4
         Assignee: Robert Scholte

Fixed in [rev. 14601|http://fisheye.codehaus.org/changelog/mojo/?cs=14601]

> Empty <classifier> in <aspectLibrary> cause error
> -------------------------------------------------
>
>                 Key: MASPECTJ-103
>                 URL: https://jira.codehaus.org/browse/MASPECTJ-103
>             Project: Mojo AspectJ Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3.1
>         Environment: Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
> Java version: 1.6.0_18
> OS name: "windows 7" version: "6.1" arch: "x86"
>            Reporter: Petr Diblik
>            Assignee: Robert Scholte
>             Fix For: 1.4
>
>         Attachments: test.zip
>
>
> I upgraded aspectj-maven-plugin from 1.3 to 1.3.1 version which supports 
> classifier in aspectLibrary. 
> It works fine until the classifier is empty and that cause error: "The 
> artifact xyz referenced in aspectj plugin as an aspect library, is not found 
> the project dependencies."
> Look at the attached simple example (it's simplified our projects hiearchy).
> Description:
> There are three projects:
> mvn-parent - parent for other projects, it defines ${release-classifier} 
> property (value depends on build -Dperform-release parameter)
> aspectJ-Lib - empty project for aspectLibrary dependency
> aspectJ-Test - test project where is defined aspectj-maven-plugin and in 
> aspectLibrary is added aspectJ-Lib project
> Steps to Reproduce (requirements: Apache Maven):
> unpack test.zip and run batch file:
> - build_empty_classifier.bat - it will reproduce error (no -Dperform-release 
> param. cause empty value in classifier)
> - build_release_classifier.bat - it will build succesfully (-Dperform-release 
> param. cause "release" value in classifier) 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to