Maven SCR-plugin over version 1.7.4? | Community
Skip to main content
New Participant
October 16, 2015
Solved

Maven SCR-plugin over version 1.7.4?

  • October 16, 2015
  • 3 replies
  • 1879 views

Hi,

is there anyone that has used the maven-scr-plugin and the org.apache.felix.scr.annotations higher than 1.7.4 with AEM5.6.1?

Whenever I try to step the version of the plugin or the annotation, I get the error "Bad type on operand stack in arraylength".

 

/Ove

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ove_Lindström

Hi,

no, it turned out to be a "I did more than one change at the time without knowing about it"-error. The faults we got when we changed the maven-scr-plugin was actually due to a Java 7 error. Our mocking framwork needed some extra parameters. Not it seems to be working.

/Ove

3 replies

smacdonald2008
New Participant
October 16, 2015

I have sent an email about this subject. We will see if this is a known issue. 

Employee
October 16, 2015

FWIW  - I just tried with plugin 1.9.0 w/ annotation 1.9.8 and didn't get this error.

Are you maybe using Java 8?

Ove_LindströmAuthorAccepted solution
New Participant
October 16, 2015

Hi,

no, it turned out to be a "I did more than one change at the time without knowing about it"-error. The faults we got when we changed the maven-scr-plugin was actually due to a Java 7 error. Our mocking framwork needed some extra parameters. Not it seems to be working.

/Ove