Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • First, install Maven:
    • For most Linux distributions, you should be able to just install the Maven client available in your distribution's repositories.
    • For all other operating systems, you can install the latest version from the Apache Maven site.
  • Configure Netbeans to use your external Maven:
    • Go to the "Tools" menu, and select "Options" (on OS/X, this is "NetBeans" -> "Preferences")
    • Select the "Miscellaneous" section.
    • Select the "Maven" tab.
    • Directly under the "External Maven Home" field, you'll see a line that says "Using Default Maven Version:____". It's possible that Netbeans will already see your external version of Maven (if it's in your PATH). However, if it says that it is using the "bundled maven", then you'll want to fill out the "_External Maven Home" field with the location of your external installation of Maven.
    • In the middle of this page, you may also need to fill out the location of your "Local Repository". This should be the location of the ".m2" directory under your user's home directory.
      • On Linux and OS/X, it should be located at ~/.m2/
      • On Windows, it should be located at C:\Documents and Settings\username\.m2 (Windows XP) or C:\Users\username\.m2 (Windows 7)
    • All the other Maven settings should be fine as their defaults. Press "OK" to save your changes.

...

           <plugins>
                 <!-- overall project assembly -->
                 <plugin>
                            <artifactId>maven-assembly-plugin</artifactId>
                           <version>2.2-beta-1</version>
                           <configuration>
                           <descriptors>
                              <descriptor>src/assemble/assembly.xml</descriptor>
                           </descriptors>
                           </configuration>
                           <executions>
                           <execution>
                           <phase>package</phase>
                           <goals>
                           <goal>directory-single</goal>
                           </goals>
                           </execution>
                           </executions>
                 </plugin>

...

  • Right click on DSpace Assembly and Configuration and select Generate Javadoc
  • After build is successful, select right click dependencies folder within DSpace Assembly and Configuration and select download Javadoc
  • Javadoc for DSPace should be available within Netbeans.