HI Harsha, Sajith,
Thanks for the reply, as you mentioned adding <ignore/> for the
maven-antrun-plugin,
in m2e plugin configurations fixed the problem.

On Tue, Sep 30, 2014 at 6:46 PM, Sajith Ravindra <saji...@wso2.com> wrote:

> Hi Shasika,,
>
> Adding <pluginExecution> to m2e pluing configurations in your pom.xml for
> maven-antrun-plugin with <action> as <ignore/> should fix your problem.
>
> E.g:
> <pluginExecution>
>   <pluginExecutionFilter>
>          <groupId> org.apache.maven.plugins </groupId>
>          <artifactId>maven-antrun-plugin </artifactId>
>          <versionRange> [1.1,) </versionRange>
>          <goals>
>            <goal>run</goal>
>          </goals>
>    </pluginExecutionFilter>
>    <action>
>         <ignore/>
>    </action>
> </pluginExecution>
>
> Thanks
> *,Sajith Ravindra*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273550
> blog: http://sajithr.blogspot.com/
> <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
>
> On Tue, Sep 30, 2014 at 5:23 PM, Shashika Karunatilaka <shashi...@wso2.com
> > wrote:
>
>> Hi
>> I was referring to this [1] article, At the stage of writing the service
>> stub in my pom.xml shows an error in the "execution" tag it says
>>
>> "Plugin execution not covered by lifecycle configuration:
>> org.apache.maven.plugins:maven-antrun-plugin:1.1:run (execution:
>> source-code-generation, phase: process-resources)"
>>
>> but when i run using "mvn clean install" it run without and error and
>> generates the stub classes without a issue. I wonder why it runs without a
>> issue and shows error.Does any body know why there is a issue in my pom.xml
>>
>> Here with i have attached my pom.xml
>>
>> [1]
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to