Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Minerva"

Line 3: Line 3:
 
= Building =
 
= Building =
  
To build the project from the command line, simply run
+
To build the project from the command line after checking the code out, simply run
  
 
<pre style="width: 40em;">
 
<pre style="width: 40em;">
Line 9: Line 9:
 
</pre>
 
</pre>
  
The parent pom.xml looks like this:
+
In maven, the parent [https://github.com/caniszczyk/minerva/blob/master/pom.xml pom.xml] serves as the central point on adding things to the build.
 +
 
 +
The first part of the parent pom.xml we'll look at contains identifying information:
 +
 
 
<pre style="width: 40em;">
 
<pre style="width: 40em;">
 
...
 
...
Line 19: Line 22:
 
<name>Minvera Parent</name>
 
<name>Minvera Parent</name>
 
...
 
...
 +
</pre>
 +
 +
The second part contains profile information and where to get dependencies.
 +
 +
<pre style="width: 40em;">
 +
  <properties>
 +
    <tycho-version>0.10.0</tycho-version>
 +
    <platform-version-name>helios</platform-version-name>
 +
    <eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
 +
    <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-site>
 +
    <swtbot-site>http://download.eclipse.org/technology/swtbot/${platform-version-name}/dev-build/update-site</swtbot-site>
 +
  </properties>
 +
 +
  <profiles>
 +
    <profile>
 +
      <id>platform-helios</id>
 +
      <activation>
 +
        <property>
 +
          <name>platform-version-name</name>
 +
          <value>helios</value>
 +
        </property>
 +
      </activation>
 +
      <properties>
 +
        <eclipse-site>http://download.eclipse.org/releases/helios</eclipse-site>
 +
        <platform-version>[3.6,3.7)</platform-version>
 +
        <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site>
 +
      </properties>
 +
    </profile>
 +
    <profile>
 +
      <id>platform-indigo</id>
 +
      <activation>
 +
        <property>
 +
          <name>platform-version-name</name>
 +
          <value>indigo</value>
 +
        </property>
 +
      </activation>
 +
      <properties>
 +
        <eclipse-site>http://download.eclipse.org/releases/indigo</eclipse-site>
 +
        <platform-version>[3.7,3.8)</platform-version>
 +
        <swtbot-site>http://download.eclipse.org/technology/swtbot/indigo/dev-build/update-site</swtbot-site>
 +
      </properties>
 +
    </profile>
 +
  </profiles>
 
</pre>
 
</pre>
  

Revision as of 16:13, 3 March 2011

Minerva is the Maven version of Athena.

Building

To build the project from the command line after checking the code out, simply run

mvn -Dskip.ui.tests clean install

In maven, the parent pom.xml serves as the central point on adding things to the build.

The first part of the parent pom.xml we'll look at contains identifying information:

...
<groupId>org.aniszczyk.minerva</groupId>
<artifactId>minerva-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Minvera Parent</name>
...

The second part contains profile information and where to get dependencies.

  <properties>
    <tycho-version>0.10.0</tycho-version>
    <platform-version-name>helios</platform-version-name>
    <eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
    <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-site>
    <swtbot-site>http://download.eclipse.org/technology/swtbot/${platform-version-name}/dev-build/update-site</swtbot-site>
  </properties>

  <profiles>
    <profile>
      <id>platform-helios</id>
      <activation>
        <property>
          <name>platform-version-name</name>
          <value>helios</value>
        </property>
      </activation>
      <properties>
        <eclipse-site>http://download.eclipse.org/releases/helios</eclipse-site>
        <platform-version>[3.6,3.7)</platform-version>
        <swtbot-site>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-site>
      </properties>
    </profile>
    <profile>
      <id>platform-indigo</id>
      <activation>
        <property>
          <name>platform-version-name</name>
          <value>indigo</value>
        </property>
      </activation>
      <properties>
        <eclipse-site>http://download.eclipse.org/releases/indigo</eclipse-site>
        <platform-version>[3.7,3.8)</platform-version>
        <swtbot-site>http://download.eclipse.org/technology/swtbot/indigo/dev-build/update-site</swtbot-site>
      </properties>
    </profile>
  </profiles>

Features

Plug-ins

Repositories (Update Sites)

Tests

TODO

Headless Tests

TODO

UI Tests

TODO

Documentation

TODO

Code Coverage

TODO

Signing

TODO

Publishing

TODO

Back to the top