This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET BAT_FILE = %0 | |
SET FIRST_ARG = %1 | |
SET SECOND_ARG = %2 | |
SET FIRST_ARG_WITHOUT_QUOTES = %~1 | |
SET BAT_DRIVE = %~d0 | |
SET BAT_PATH = %~p0 | |
SET BAT_FOLDER = %~dp0 | |
REM Suppose batch-parameters is located in C:\BatFolder\ | |
REM When executing batch-parameters.bat "C:\First" "D:\Second" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM It is assumed that Java and Maven are installed in C:\Development | |
SET JAVA_HOME=C:\Development\Java | |
SET M2_HOME=C:\Development\Maven | |
SET PATH=%M2_HOME%\bin;%PATH% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pushd %1 | |
pushd .. | |
REM Do some work here. | |
popd | |
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.exe %MAVEN_OPTS% -classpath \boot\plexus-classworlds.jar ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn -Dmaven.repo.local=C:\repository clean install | |
... | |
mvn -Dmaven.repo.local=C:\repository clean install | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET MAVEN_OPTS=-Dmaven.repo.local=C:\repository | |
mvn clean install | |
... | |
mvn clean install | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET MAVEN_OPTS=-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn -s \location\of\user\settings clean install | |
mvn --settings \location\of\user\settings clean install | |
mvn -gs \location\of\global\settings clean install | |
mvn --global-settings \location\of\global\settings clean install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings> | |
<!-- Set the location using an absolute path --> | |
<localRepository>\location\of\local\repo</localRepository> | |
<!-- Set the location by evaluating an environment variable --> | |
<localRepository>${M2_LOCAL_REPO}</localRepository> | |
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -Project | |
| -Installation-Files | |
| -Java | |
| -Maven | |
| -Maven-Repository | |
| -Eclipse | |
| -Eclipse-Workspace | |
| -Environment | |
| -Shortcuts | |
| -environment.bat |
OlderNewer