wso2-extensions / archetypes Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Description:
The following lines in the CompositeExporter archetype cause the "package" phase to be executed twice:
https://github.com/wso2-extensions/archetypes/blob/master/esb-project-archetype/src/main/resources/archetype-resources/__rootArtifactId__CompositeExporter/pom.xml#L77-L85
This is because the "car" goal from maven-car-plugin is already configured for the "package" phase in the default lifecycle:
https://github.com/wso2/maven-tools/blob/v5.2.34/maven-car-plugin/src/main/resources/META-INF/plexus/components.xml#L35
Suggested Labels:
bug
Suggested Assignees:
pamodaaw
Affected Product Version:
From 2.0.17:
09c6383#diff-99ecab20addd5e5942e6a7616a1883a3f5e7c504c9849f5cf7b4ec25d01f6556
Steps to reproduce:
Generate an Integration Project, move to the XXXXCompositeApplication folder, run:
mvn package
See that the "car" goal is executed twice, once with (default-car) and once with (car).
Alternatively, execute from the same folder the following command:
mvn buildplan:list
And see that the output is like the one below:
[INFO] Build Plan for .....CompositeApplication:
--------------------------------------------------------------------------------------------------
PHASE | PLUGIN | VERSION | GOAL | EXECUTION ID
--------------------------------------------------------------------------------------------------
process-resources | maven-resources-plugin | 3.3.1 | resources | default-resources
compile | maven-compiler-plugin | 3.13.0 | compile | default-compile
process-test-resources | maven-resources-plugin | 3.3.1 | testResources | default-testResources
test-compile | maven-compiler-plugin | 3.13.0 | testCompile | default-testCompile
test | maven-surefire-plugin | 3.2.5 | test | default-test
package | maven-car-plugin | 2.1.1 | car | default-car
package | maven-car-plugin | 2.1.1 | car | car
install | maven-install-plugin | 3.1.1 | install | default-install
deploy | maven-car-deploy-plugin | 1.1.1 | deploy-car | default-deploy-car
deploy | maven-deploy-plugin | 3.1.1 | deploy | default-deploy
Related Issues:
wso2/maven-tools#118
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.