Maven encryption passwords
----------------------------------------
mvn --encrypt-master-password <password>
mvn --encrypt-password <EIN’s password>
To execute test unit test cases from only single class
-----------------------------------------------------------------------
mvn -Dtest=ExtendedOutboundTest test
Maven useful commands
----------------------------------
mvn findbugs:findbugs
mvn findbugs:gui
mvn archetype:generate
mvn jetty:run
To increase surefire plug-in memory size
mvn clean install -DsurefireArgLine=-Xmx512m
Eclipse importable maven command
mvn eclipse:eclipse <-Dwtpversion=2.0>
mvn deploy:deploy-file -Durl=https://collaborate.bt.com/artefacts/content/repositories/ccs-icr-snapshots -DrepositoryId=ccs-icr-snapshots -Dfile=<absolute path> -DgroupId=netdev.icr -DartifactId=netdev-icr-sbb-inap.du.290 -Dversion=1.7.1-SNAPSHOT -Dpackaging=jar
To Execute main method with execute plug-in
----------------------------------------
mvn --encrypt-master-password <password>
mvn --encrypt-password <EIN’s password>
To execute test unit test cases from only single class
-----------------------------------------------------------------------
mvn -Dtest=ExtendedOutboundTest test
Maven useful commands
----------------------------------
mvn findbugs:findbugs
mvn findbugs:gui
mvn archetype:generate
mvn jetty:run
To increase surefire plug-in memory size
mvn clean install -DsurefireArgLine=-Xmx512m
Eclipse importable maven command
mvn eclipse:eclipse <-Dwtpversion=2.0>
mvn deploy:deploy-file -Durl=https://collaborate.bt.com/artefacts/content/repositories/ccs-icr-snapshots -DrepositoryId=ccs-icr-snapshots -Dfile=<absolute path> -DgroupId=netdev.icr -DartifactId=netdev-icr-sbb-inap.du.290 -Dversion=1.7.1-SNAPSHOT -Dpackaging=jar
To Execute main method with execute plug-in
mvn compile
exec
:java -Dexec.mainClass=com.mastertheboss.jpa.JpaTest
Installing jar in your local repository/project folder
mvn install:install-file -DlocalRepositoryPath=lib -DcreateChecksum=true -Dpackaging=jar -Dfile=<USER_HOME>/db2jcc_license_cu.jar -DgroupId=com.ibm.db2.jcc -DartifactId=db2jcc_license_cu -Dversion=3.8.47
No comments:
Post a Comment