![]() And the other easy way out is installing Maven within Eclipse. One which is a little difficult than the other is installing Maven through the command line. With assembly file: C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\target\ExtractDBProcess.There are two ways to install Maven. Replacing pre-existing project main-artifact file: C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\target\classes NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic! Instead of attaching the assembly file: C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\target\ExtractDBProcess.jar, it will become the file for main project artifact. Configuration option 'appendAssemblyId' is set to false. maven-assembly-plugin:3.1.0:single (default-cli) ExtractDBProcess. Compiling 4 source files to C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\target\classes Changes detected - recompiling the module! Deleting C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\target maven-clean-plugin:3.0.0:clean (default-clean) ExtractDBProcess. Here is another log on mvn clean compile assembly:singleĬ:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess>mvn clean compile assembly:single Building jar: C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\target\ExtractDBProcess.jar maven-jar-plugin:2.4:jar (default-jar) ExtractDBProcess. maven-surefire-plugin:2.20.1:test (default-test) ExtractDBProcess. maven-compiler-plugin:3.7.0:testCompile (default-testCompile) ExtractDBProcess. ![]() skip non existing resourceDirectory C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\src\test\resources maven-resources-plugin:3.0.2:testResources (default-testResources) ExtractDBProcess. Nothing to compile - all classes are up to date maven-compiler-plugin:3.7.0:compile (default-compile) ExtractDBProcess. skip non existing resourceDirectory C:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess\src\main\resources ![]() Using 'UTF-8' encoding to copy filtered resources. ![]() maven-resources-plugin:3.0.2:resources (default-resources) ExtractDBProcess. ![]() I am having below pom.xml which creates jar with dependencies perfectly if I use the below cmd:īut if I use below cmd jar gets created without dependencies.Anything wrong with my pom.xmlĬ:\GE\WorkSpaceCodes\CoStar\ExtractDBProcess>mvn package ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |