• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Plugin execution not covered by lifecycle configuration

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI All,

I stuck with the problem "Plugin execution not covered by lifecycle configuration" while using flexmojos-maven-plugin and getting below warning when doing maven build

[WARNING] Some problems were encountered while building the effective model for com.cccis.appraiser-management:appraiser-management:swf:2.1
[WARNING] 'dependencies.dependency.scope' for com.adobe.flex.framework:spark:swc must be one of [provided, compile, runtime, test, system] but is 'theme'. @ line 80, column 11
[WARNING] 'dependencies.dependency.scope' for com.adobe.flex.framework:halo:swc:theme must be one of [provided, compile, runtime, test, system] but is 'theme'. @ line 88, column 11

i checked my maven central repositry and we have flex-maven-plugin and dependecy jars. but somehow the maven is not recognizing flex mojo dependency. i really appreciate the help
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The error message says it all:

[WARNING] 'dependencies.dependency.scope' for com.adobe.flex.framework:spark:swc must be one of [provided, compile, runtime, test, system] but is 'theme'. @ line 80, column 11
[WARNING] 'dependencies.dependency.scope' for com.adobe.flex.framework:halo:swc:theme must be one of [provided, compile, runtime, test, system] but is 'theme'. @ line 88, column 11

It appears that your POM has two dependencies (at line 80 and 88) that define a scope of "theme" and there is no such scope. Change the scope to one of the allowed values, as listed in the error message.
 
dhoni Gibson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

thanks for your reply, as the error message says to change the scope to either provided, compile, runtime, test or system which are specific to maven-plugin, where as i am using flexmojos-maven-plugin which has its own scope called "theme".

i am trying to make maven to execute flexmojos-maven-plugin which will execute the build instead of using default maven-pluign.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please provide the URL for the page in the flexmojos-maven-plugin documentation that says that it support "theme" as a scope. I suspect that "scope" in this case is a parameter to one of the flexmojos-maven-plugin goals, and not the same scope as defined in dependencies. But I need to see the docs.
 
dhoni Gibson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI Peter,

I am newly using flexmojos maven plugin for my flex project and in the process of learning ... forgive me for asking some basic question .. because i couldnt find proper documentation for flexmojos plugin. some how i got below link which may have answer for you question..

http://stackoverflow.com/questions/7664068/how-do-i-set-the-theme-using-flexmojos

I appreciate you response.

Thanks
Dhoni
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic