Hi Sergey,

could you provide your POM where you execute features-maven-plugin ?

Regards
JB

On 07/14/2011 01:05 PM, Zhemzhitsky Sergey wrote:
Hi there,

I have the following problem: The features-maven-plugin 2.1.3 forces
build phases till the compile phase to execute twice.

I have also tried to use features-maven-plugin 2.2.2 but behavior is the
same.

Could you suggest how to fix this issue?

Here is a brief maven build log:

[INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ ---

[INFO]

[INFO] --- maven-jaxb2-plugin:0.8.0:generate (generate-jaxb-classes) @ ---

[INFO] Started execution.

[INFO] ---

[INFO] --- maven-antrun-plugin:1.5:run (default) @ ---

[INFO] Executing tasks

main:

[move] Moving 10 files to
C:\workspace\projects\myproj\trunk\provider\http\target\generated-sources\xjc.bak

[copy] Copying 10 files to
C:\workspace\projects\myproj\trunk\provider\http\target\generated-sources\xjc

[delete] Deleting directory
C:\workspace\projects\myproj\trunk\provider\http\target\generated-sources\xjc.bak

[INFO] Executed tasks

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ ---

[INFO]

[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ ---

[INFO] Compiling 17 source files to

[INFO]

[INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ ---

[INFO] Copying 0 resource

[INFO]

[INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile)
@ ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ ---

[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ ---

[INFO]

[INFO] --- maven-install-plugin:2.3.1:install-file (install-features) @ ---

[INFO]

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ ---

[INFO]

[INFO] --- maven-bundle-plugin:2.3.4:install (default-install) @ ---

[INFO]

[INFO] >>> features-maven-plugin:2.1.3:add-features-to-repo (make-repo)
@ >>>

[INFO]

[INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @
ru.troika.cto.sms.provider.beeline.http ---

[INFO]

[INFO] --- maven-jaxb2-plugin:0.8.0:generate (generate-jaxb-classes) @
ru.troika.cto.sms.provider.beeline.http ---

[INFO]

[INFO] --- maven-antrun-plugin:1.5:run (default) @
ru.troika.cto.sms.provider.beeline.http ---

[INFO] Executing tasks

main:

[move] Moving 10 files to
C:\workspace\projects\myproj\trunk\provider\http\target\generated-sources\xjc.bak

[copy] Copying 10 files to
C:\workspace\projects\myproj\trunk\provider\http\target\generated-sources\xjc

[delete] Deleting directory
C:\workspace\projects\myproj\trunk\provider\http\target\generated-sources\xjc.bak

[INFO] Executed tasks

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ ---

[debug] execute contextualize

[INFO]

[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ ---

[INFO]

[INFO] <<< features-maven-plugin:2.2.2:add-features-to-repo (make-repo)
@ ru.troika.cto.sms.provider.beeline.http <<<

[INFO]

[INFO] --- features-maven-plugin:2.2.2:add-features-to-repo (make-repo)
@ ru.troika.cto.sms.provider.beeline.http ---

[INFO] Copying bundle:
org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance:jar:1.0_4

----

Best Regards,

Sergey Zhemzhitsky

Information Technology Division

Troika Dialog, 4, Romanov lane, Moscow 125009, Russia

Phone. +7 495 2580500 ext. 1246

_______________________________________________________

The information contained in this message may be privileged and conf
idential and protected from disclosure. If you are not the original
intended recipient, you are hereby notified that any review,
retransmission, dissemination, or other use of, or taking of any action
in reliance upon, this information is prohibited. If you have received
this communication in error, please notify the sender immediately by
replying to this message and delete it from your computer. Thank you for
your cooperation. Troika Dialog, Russia.

If you need assistance please contact our Contact Center (+7495) 258
0500 or go to www.troika.ru/eng/Contacts/system.wbp


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to