This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPEN - issue NXCM-2124: Bundle Enunciate
https://issues.sonatype.org/browse/NXCM-2124 git-svn-id: file:///opt/svn/repositories/sonatype.org/nexus/trunk@6630 2aa8b3fc-8ebb-4439-a84f-95066eaea8ab
- Loading branch information
velo
committed
Jun 14, 2010
1 parent
3b66139
commit dbfd106
Showing
23 changed files
with
273 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
nexus/nexus-core-plugins/nexus-core-documentation-plugin/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" output="target/classes" path="src/main/java"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> | ||
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
23 changes: 23 additions & 0 deletions
23
nexus/nexus-core-plugins/nexus-core-documentation-plugin/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>nexus-core-documentation-plugin</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.maven.ide.eclipse.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.maven.ide.eclipse.maven2Nature</nature> | ||
</natures> | ||
</projectDescription> |
6 changes: 6 additions & 0 deletions
6
...s/nexus-core-plugins/nexus-core-documentation-plugin/.settings/org.eclipse.jdt.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Mon Jun 14 09:49:05 BRT 2010 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 | ||
org.eclipse.jdt.core.compiler.compliance=1.5 | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.source=1.5 |
9 changes: 9 additions & 0 deletions
9
.../nexus-core-plugins/nexus-core-documentation-plugin/.settings/org.maven.ide.eclipse.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#Mon Jun 14 09:49:04 BRT 2010 | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
fullBuildGoals=process-test-resources | ||
includeModules=false | ||
resolveWorkspaceProjects=true | ||
resourceFilterGoals=process-resources resources\:testResources | ||
skipCompilerPlugin=true | ||
version=1 |
47 changes: 47 additions & 0 deletions
47
nexus/nexus-core-plugins/nexus-core-documentation-plugin/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.sonatype.nexus.plugins</groupId> | ||
<artifactId>nexus-core-plugins</artifactId> | ||
<version>1.7.1-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>nexus-core-documentation-plugin</artifactId> | ||
<packaging>nexus-plugin</packaging> | ||
<name>Nexus Core Plugin :: Core Documentation</name> | ||
<description>Plugin only used to expose nexus core documentation</description> | ||
<url>http://nexus.sonatype.org/</url> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.sonatype.nexus</groupId> | ||
<artifactId>nexus-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sonatype.nexus</groupId> | ||
<artifactId>nexus-rest-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>app-lifecycle-maven-plugin</artifactId> | ||
<version>1.1</version> | ||
<extensions>true</extensions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>app-lifecycle-nexus</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
35 changes: 35 additions & 0 deletions
35
...ain/java/org/sonatype/nexus/plugin/coredocumentation/CoreDocumentationResourceBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package org.sonatype.nexus.plugin.coredocumentation; | ||
|
||
import java.io.IOException; | ||
import java.net.URL; | ||
import java.net.URLDecoder; | ||
import java.util.zip.ZipFile; | ||
|
||
import org.codehaus.plexus.component.annotations.Component; | ||
import org.sonatype.nexus.plugins.rest.AbstractDocumentationNexusResourceBundle; | ||
import org.sonatype.nexus.plugins.rest.NexusResourceBundle; | ||
import org.sonatype.nexus.rest.NexusApplication; | ||
|
||
@Component( role = NexusResourceBundle.class, hint = "CoreDocumentationResourceBundle" ) | ||
public class CoreDocumentationResourceBundle | ||
extends AbstractDocumentationNexusResourceBundle | ||
{ | ||
|
||
@Override | ||
protected String getPluginId() | ||
{ | ||
return "nexus-core-documentation-plugin"; | ||
} | ||
|
||
@Override | ||
protected ZipFile getZipFile() | ||
throws IOException | ||
{ | ||
URL baseClass = NexusApplication.class.getClassLoader().getResource( NexusApplication.class.getName().replace( '.', '/' ) + ".class" ); | ||
assert baseClass.getProtocol().equals( "jar" ); | ||
|
||
String jarPath = baseClass.getPath().substring( 6, baseClass.getPath().indexOf( "!" ) ); | ||
return new ZipFile( URLDecoder.decode( jarPath, "UTF-8" ) ); | ||
} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
...xus-core-plugins/nexus-core-documentation-plugin/target/classes/META-INF/nexus/plugin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<plugin> | ||
<modelVersion>1.0.0</modelVersion> | ||
<groupId>org.sonatype.nexus.plugins</groupId> | ||
<artifactId>nexus-core-documentation-plugin</artifactId> | ||
<version>1.7.1-SNAPSHOT</version> | ||
<name>Nexus Core Plugin :: Core Documentation</name> | ||
<description>Plugin only used to expose nexus core documentation</description> | ||
<pluginSite>http://nexus.sonatype.org/</pluginSite> | ||
<applicationId>nexus</applicationId> | ||
<applicationEdition>OSS</applicationEdition> | ||
<applicationMinVersion>1.4.0</applicationMinVersion> | ||
</plugin> |
Binary file added
BIN
+2.1 KB
...classes/org/sonatype/nexus/plugin/coredocumentation/CoreDocumentationResourceBundle.class
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
nexus/nexus-core-plugins/nexus-core-documentation-plugin/target/classpath.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Written on: Mon Jun 14 10:27:10 BRT 2010 | ||
#Mon Jun 14 10:27:10 BRT 2010 |
5 changes: 5 additions & 0 deletions
5
...s/nexus-core-plugins/nexus-core-documentation-plugin/target/maven-archiver/pom.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Generated by Maven | ||
#Mon Jun 14 10:27:10 BRT 2010 | ||
version=1.7.1-SNAPSHOT | ||
groupId=org.sonatype.nexus.plugins | ||
artifactId=nexus-core-documentation-plugin |
Binary file added
BIN
+3.07 KB
...ore-documentation-plugin/target/nexus-core-documentation-plugin-1.7.1-SNAPSHOT-bundle.zip
Binary file not shown.
Binary file added
BIN
+1.61 KB
...re-documentation-plugin/target/nexus-core-documentation-plugin-1.7.1-SNAPSHOT-sources.jar
Binary file not shown.
Binary file added
BIN
+1.92 KB
...core-documentation-plugin/target/nexus-core-documentation-plugin-1.7.1-SNAPSHOT-tests.jar
Binary file not shown.
Binary file added
BIN
+4.27 KB
...nexus-core-documentation-plugin/target/nexus-core-documentation-plugin-1.7.1-SNAPSHOT.jar
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
...rc/main/java/org/sonatype/nexus/security/ldap/realms/LdapDocumentationResourceBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.sonatype.nexus.security.ldap.realms; | ||
|
||
import org.codehaus.plexus.component.annotations.Component; | ||
import org.sonatype.nexus.plugins.rest.AbstractDocumentationNexusResourceBundle; | ||
import org.sonatype.nexus.plugins.rest.NexusResourceBundle; | ||
|
||
@Component( role = NexusResourceBundle.class, hint = "LdapDocumentationResourceBundle" ) | ||
public class LdapDocumentationResourceBundle | ||
extends AbstractDocumentationNexusResourceBundle | ||
{ | ||
|
||
@Override | ||
protected String getPluginId() | ||
{ | ||
return "nexus-ldap-realm-plugin"; | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...o-plugin/src/main/java/org/sonatype/nexus/plugins/lvo/LvoDocumentationResourceBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.sonatype.nexus.plugins.lvo; | ||
|
||
import org.codehaus.plexus.component.annotations.Component; | ||
import org.sonatype.nexus.plugins.rest.AbstractDocumentationNexusResourceBundle; | ||
import org.sonatype.nexus.plugins.rest.NexusResourceBundle; | ||
|
||
@Component( role = NexusResourceBundle.class, hint = "LvoDocumentationResourceBundle" ) | ||
public class LvoDocumentationResourceBundle | ||
extends AbstractDocumentationNexusResourceBundle | ||
{ | ||
|
||
@Override | ||
protected String getPluginId() | ||
{ | ||
return "nexus-lvo-plugin"; | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...b-plugin/src/main/java/org/sonatype/nexus/plugins/rrb/RRBDocumentationResourceBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.sonatype.nexus.plugins.rrb; | ||
|
||
import org.codehaus.plexus.component.annotations.Component; | ||
import org.sonatype.nexus.plugins.rest.AbstractDocumentationNexusResourceBundle; | ||
import org.sonatype.nexus.plugins.rest.NexusResourceBundle; | ||
|
||
@Component( role = NexusResourceBundle.class, hint = "RRBDocumentationResourceBundle" ) | ||
public class RRBDocumentationResourceBundle | ||
extends AbstractDocumentationNexusResourceBundle | ||
{ | ||
|
||
@Override | ||
protected String getPluginId() | ||
{ | ||
return "nexus-rrb-plugin"; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...src/main/java/org/sonatype/nexus/plugin/lucene/ui/IndexerDocumentationResourceBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package org.sonatype.nexus.plugin.lucene.ui; | ||
|
||
import java.io.IOException; | ||
import java.net.URL; | ||
import java.net.URLDecoder; | ||
import java.util.zip.ZipFile; | ||
|
||
import org.codehaus.plexus.component.annotations.Component; | ||
import org.sonatype.nexus.plugins.rest.AbstractDocumentationNexusResourceBundle; | ||
import org.sonatype.nexus.plugins.rest.NexusResourceBundle; | ||
import org.sonatype.nexus.rest.AbstractIndexerNexusPlexusResource; | ||
|
||
@Component( role = NexusResourceBundle.class, hint = "IndexerDocumentationResourceBundle" ) | ||
public class IndexerDocumentationResourceBundle | ||
extends AbstractDocumentationNexusResourceBundle | ||
{ | ||
|
||
@Override | ||
protected String getPluginId() | ||
{ | ||
return "nexus-indexer-lucene-plugin"; | ||
} | ||
|
||
@Override | ||
protected ZipFile getZipFile() | ||
throws IOException | ||
{ | ||
URL baseClass = AbstractIndexerNexusPlexusResource.class.getClassLoader().getResource( AbstractIndexerNexusPlexusResource.class.getName().replace( '.', '/' ) + ".class" ); | ||
assert baseClass.getProtocol().equals( "jar" ); | ||
|
||
String jarPath = baseClass.getPath().substring( 6, baseClass.getPath().indexOf( "!" ) ); | ||
return new ZipFile( URLDecoder.decode( jarPath, "UTF-8" ) ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters