summaryrefslogtreecommitdiffstats
path: root/maven/trivial-test/README.txt
blob: fdc4b3f93793b18a5a5299129971d90c0dc7e2b5 (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
First, because the project isn't in the Central Repository yet, Maven
needs to be told to look at http://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>http://www.jogamp.org/deployment/maven/</url>
          <layout>default</layout>
        </repository>
      </repositories>
    </profile>
  </profiles>
</settings>

Then, run:

  $ mvn 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.