Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Add jsdoc, announce it as the plugin documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nabcos committed Apr 30, 2013
1 parent 639b8dc commit bffddc0
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
19 changes: 19 additions & 0 deletions plugins/nexus-ui-extjs3-plugin/pom.xml
Expand Up @@ -136,6 +136,25 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>nl.secondfloor.mojo.jsduck</groupId>
<artifactId>jsduck-maven-plugin</artifactId>
<version>0.1.1-SNAPSHOT</version>
<configuration>
<javascriptDirectory>src/main/resources/static/js</javascriptDirectory>
<targetDirectory>${project.build.outputDirectory}/docs</targetDirectory>
</configuration>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>clean-jsduck</goal>
<goal>jsduck</goal>
</goals>
</execution>
</executions>

</plugin>
</plugins> </plugins>
</build> </build>


Expand Down
@@ -0,0 +1,39 @@
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2007-2012 Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
* which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
*
* Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
* of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
* Eclipse Foundation. All other trademarks are the property of their respective owners.
*/
package org.sonatype.nexus.plugins.ui.rest;

import javax.inject.Named;
import javax.inject.Singleton;

import org.sonatype.nexus.plugins.rest.AbstractDocumentationNexusResourceBundle;

/**
*
*/
@Named
@Singleton
public class UiDocumentationResourceBundle
extends AbstractDocumentationNexusResourceBundle
{
@Override
public String getDescription()
{
return "ExtJS3 UI";
}

@Override
public String getPluginId()
{
return "nexus-ui-extjs3-plugin";
}
}

0 comments on commit bffddc0

Please sign in to comment.