|
1 |
| -# VisualVM (master) sources repository |
| 1 | +# VisualVM (2.1.9) sources repository |
2 | 2 |
|
3 | 3 | VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities. See https://visualvm.github.io for details, downloads and documentation.
|
4 | 4 |
|
@@ -28,6 +28,43 @@ To run VisualVM, use `ant run` command in the `visualvm/visualvm` directory.
|
28 | 28 |
|
29 | 29 | To build or run the plugins suite, use `ant build` or `ant run` in the `visualvm/plugins` directory. This will automatically build the zip distribution of the core VisualVM tool into `visualvm/visualvm/dist/visualvm.zip` and extract it into the `visualvm/plugins/visualvm` directory. After that the build of the plugins suite continues to build each of the individual plugins. Running the plugins suite means starting VisualVM with all the plugins installed.
|
30 | 30 |
|
| 31 | +## Generate the Maven artifacts |
| 32 | + |
| 33 | +First prepare the binaries: |
| 34 | + |
| 35 | + 1. Build VisualVM tool as described above |
| 36 | + 2. Expand/decompress the generated `visualvm.zip` file in `visualvm/dist`. |
| 37 | + 3. Generate the NBMs by running: `ant nbms`. This will generate a folder `build/updates` containing all the NBMs. |
| 38 | + |
| 39 | +To generate the artifacts use [`org.apache.netbeans.utilities:nb-repository-plugin`](https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html). Make sure the current directory is still `visualvm/visualvm`. |
| 40 | + |
| 41 | +To install the artifacts into your local repository use the following command: |
| 42 | + |
| 43 | +``` |
| 44 | +mvn \ |
| 45 | +-DnetbeansInstallDirectory=dist/visualvm \ |
| 46 | +-DnetbeansNbmDirectory=build/updates \ |
| 47 | +-DgroupIdPrefix=org.graalvm.visualvm \ |
| 48 | +-DforcedVersion=RELEASE219 \ |
| 49 | +org.apache.netbeans.utilities:nb-repository-plugin:populate |
| 50 | +``` |
| 51 | + |
| 52 | +To publish the artifacts into a remote repository use the following command: |
| 53 | + |
| 54 | +``` |
| 55 | +mvn |
| 56 | +-DnetbeansInstallDirectory=dist/visualvm \ |
| 57 | +-DnetbeansNbmDirectory=build/updates \ |
| 58 | +-DgroupIdPrefix=org.graalvm.visualvm \ |
| 59 | +-DforcedVersion=RELEASE219 \ |
| 60 | +-DdeployUrl=<URL to the remote repo> \ |
| 61 | +-DdeployId=<repository id referenced in your settings.xml> \ |
| 62 | +-DskipInstall=true \ |
| 63 | +org.apache.netbeans.utilities:nb-repository-plugin:populate |
| 64 | +``` |
| 65 | + |
| 66 | +For more information about `nb-repository-plugin` see https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html |
| 67 | + |
31 | 68 | ## Contributing
|
32 | 69 |
|
33 | 70 | We highly appreciate any feedback! Please let us know your ideas, missing features, or bugs found. Either [file a RFE/bug](https://github.com/oracle/visualvm/issues/new/choose) or [leave us a message](https://visualvm.github.io/feedback.html). For legal reasons, we cannot accept external pull requests. See
|
|
0 commit comments