This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Plugin execution not covered by lifecycle configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Plugin execution not covered by lifecycle configuration " Watch "Plugin execution not covered by lifecycle configuration " New topic
Author

Plugin execution not covered by lifecycle configuration

dhoni Gibson
Ranch Hand

Joined: Feb 10, 2011
Posts: 30
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
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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.


JBoss In Action
dhoni Gibson
Ranch Hand

Joined: Feb 10, 2011
Posts: 30
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
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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

Joined: Feb 10, 2011
Posts: 30
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Plugin execution not covered by lifecycle configuration
 
Similar Threads
Jsr168 portlet deployment problem in Apache Pluto...
Could not resolve dependencies
linking my own application jar file to my maven build.
Richfaces + Spring + Maven Setup help
Could not resolve dependencies for maven project