[ 
https://issues.apache.org/jira/browse/MCOMPILER-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403440#comment-16403440
 ] 

Michael Osipov commented on MCOMPILER-194:
------------------------------------------

The project does not build anymore:

{noformat}
[INFO] Scanning for projects...
[INFO]
[INFO] -------< de.scrum-master.stackoverflow:aspectj-soft-exceptions >--------
[INFO] Building AspectJ sample with declare soft 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from OneJAR googlecode.com: 
http://onejar-maven-plugin.googlecode.com/svn/mavenrepo/org/dstovall/onejar-maven-plugin/1.4.4/onejar-maven-plugin-1.4.4.pom
Downloading from central: 
https://repo.maven.apache.org/maven2/org/dstovall/onejar-maven-plugin/1.4.4/onejar-maven-plugin-1.4.4.pom
[WARNING] The POM for org.dstovall:onejar-maven-plugin:jar:1.4.4 is missing, no 
dependency information available
Downloading from OneJAR googlecode.com: 
http://onejar-maven-plugin.googlecode.com/svn/mavenrepo/org/dstovall/onejar-maven-plugin/1.4.4/onejar-maven-plugin-1.4.4.jar
Downloading from central: 
https://repo.maven.apache.org/maven2/org/dstovall/onejar-maven-plugin/1.4.4/onejar-maven-plugin-1.4.4.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.407 s
[INFO] Finished at: 2018-03-17T14:17:35+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.dstovall:onejar-maven-plugin:1.4.4 or one of its 
dependencies could not be resolved: Could not find artifact 
org.dstovall:onejar-maven-plugin:jar:1.4.4 in OneJAR googlecode.com 
(http://onejar-maven-plugin.googlecode.com/svn/mavenrepo) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
PS C:\Users\mosipov\Downloads\SO_AJ_MavenSoftExceptions>
{noformat}

What now?

> Strange effects with springs @Configurable (AspectJ) and new compiler plugin 
> version 3.0
> ----------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-194
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-194
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>         Environment: jdk 1.6.0_38, jdk 1.6.0_37
>            Reporter: Andreas Höhmann
>            Priority: Blocker
>         Attachments: SO_AJ_MavenSoftExceptions.zip
>
>
> I have no details I can only report the "effects" ..
> I have a maven project with compiler-plugin 2.5.1,
> aspectj-plugin 1.4, java 1.6 and a lot of @Configurable 
> annotations in my code. Aspectj will decorate these classes
> so @Autowired dependencies injected during runtime. 
> All is working fine.
> Now I switch to compiler-plugin 3.0 ... nothing else changed!
> Then "sometimes" I got NPE's because the injected service etc. are
> not available. I guess aspectj was not successfull. I have no
> errors etc. anywhere during build.
> Strang :)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to