summaryrefslogtreecommitdiffstats
path: root/maven/trivial-test/README.txt
blob: 3914c5cb43fe00e9307aa290d1652cd796bd905d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Note: This sub-project's pom.xml file already includes the
below general setting for 'jogamp-remote'.

First, because the project isn't in the Central Repository yet, Maven
needs to be told to look at https://www.jogamp.org. Edit ~/.m2/settings.xml:

<settings>
  <profiles>
    <profile>
      <id>jogamp</id>
      <activation>
        <!-- Change this to false, if you don't like to have it on by default -->
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>jogamp-remote</id>
          <name>jogamp test mirror</name>
          <url>https://www.jogamp.org/deployment/maven/</url>
          <layout>default</layout>
        </repository>
      </repositories>
    </profile>
  </profiles>
</settings>

Then, run:

  $ mvn -U clean test

It should download all of the required packages (which may be quite a few
if you've not run Maven before) and then compile and run the included test
program.

The '-U' option somewhat was required to force an update.