Create a new directory to hold all of the assignments for your compilers project. All examples will assume the project directory is named cmpu-331
Clone this repository into your cmpu-331
directory.
$> mkdir cmpu-331
$> cd cmpu-331
$> git clone <URL> LexicalAnalyzer
This will clone your private repository into cmpu-331/LexicalAnalyzer
The <URL>
above is the URL to your private GitHub repository that was created when you accepted the assignment. You can also find this URL in the GitHub UI.
Move the settings.xml file to your ~/.m2 directory. If the .m2/ directory does not exist it means you have not run Maven (mvn) yet. You can either:
- Run
mvn clean
on a Maven project, or - Simply create the .m2/ directory.
You can remove the settings.xml file from your project directory.
Run mvn compile
to ensure everything is working.
Write code until mvn package
reports BUILD SUCCESS
.