Skip to content

Commit

Permalink
add 103 #498
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Jul 25, 2024
1 parent 9b7febb commit 1d452d2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions DEV_NOTE3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,32 @@ Here are two tutorials for importing a Maven project to IntelliJ :
- [Importing a Maven project](https://www.jetbrains.com/guide/java/tutorials/working-with-maven/importing-a-project/)
- [Add Maven support to an existing project](https://www.jetbrains.com/help/idea/convert-a-regular-project-into-a-maven-project.html)

## Build

First, you need to understand a [Build Lifecycle](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html).

## Test

When you want to reuse some classes in the unit tests in another project, such as utils,
you create a jar containing test-classes.

https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html

## Release

```bash
mvn clean package
```

The release will be available under the build directory `target`.

```bash
mvn clean package -Dmaven.test.skip
```

## Useful Links

- [Maven in 5 Minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)
- [List of predefined Maven properties](https://github.com/cko/predefined_maven_properties/blob/master/README.md)


0 comments on commit 1d452d2

Please sign in to comment.