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.
git-svn-id: file:///opt/svn/repositories/sonatype.org/nexus/trunk@5201 2aa8b3fc-8ebb-4439-a84f-95066eaea8ab
- Loading branch information
toni
committed
Oct 7, 2009
1 parent
67c98bd
commit f7bb81e
Showing
4,230 changed files
with
420,270 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Sonatype Nexus (TM) Open Source Version. | ||
Copyright (c) 2008 Sonatype, Inc. All rights reserved. | ||
Includes the third-party code listed at http://nexus.sonatype.org/dev/attributions.html | ||
This program is licensed to you under Version 3 only of the GNU General Public License as published by the Free Software Foundation. | ||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | ||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
See the GNU General Public License Version 3 for more details. | ||
You should have received a copy of the GNU General Public License Version 3 along with this program. | ||
If not, see http://www.gnu.org/licenses/. | ||
Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. | ||
"Sonatype" and "Sonatype Nexus" are trademarks of Sonatype, Inc. |
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,92 @@ | ||
<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"> | ||
|
||
<!-- Parent POM --> | ||
<parent> | ||
<groupId>org.sonatype.nexus</groupId> | ||
<artifactId>nexus</artifactId> | ||
<version>1.4.1-SNAPSHOT</version> | ||
</parent> | ||
|
||
<!-- the version of maven's project object model --> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<!-- a unique name for this project --> | ||
<artifactId>nexus-api</artifactId> | ||
|
||
<!-- POM packaging --> | ||
<packaging>jar</packaging> | ||
|
||
<!-- a short but descriptive name for the project --> | ||
<name>Nexus (API)</name> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.sonatype.nexus</groupId> | ||
<artifactId>nexus-utils</artifactId> | ||
</dependency> | ||
|
||
<!-- Here for "compatibility" reason only! --> | ||
<dependency> | ||
<groupId>org.codehaus.plexus</groupId> | ||
<artifactId>plexus-component-annotations</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.sonatype.plexus.appevents</groupId> | ||
<artifactId>plexus-app-events-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sonatype.plexus</groupId> | ||
<artifactId>plexus-task-scheduler</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sonatype.spice</groupId> | ||
<artifactId>spice-timeline</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sonatype.configuration</groupId> | ||
<artifactId>base-configuration</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.sonatype.nexus</groupId> | ||
<artifactId>nexus-indexer</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>rome</groupId> | ||
<artifactId>rome</artifactId> | ||
</dependency> | ||
|
||
<!-- for marking extensions --> | ||
<dependency> | ||
<groupId>org.sonatype.plugin</groupId> | ||
<artifactId>plugin-host-api</artifactId> | ||
<version>1.0.1</version> | ||
</dependency> | ||
|
||
<!-- Testing --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.plexus</groupId> | ||
<artifactId>plexus-component-metadata</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
26 changes: 26 additions & 0 deletions
26
sandbox/snownexus/nexus-api/src/main/java/org/sonatype/nexus/ApplicationStatusSource.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,26 @@ | ||
/** | ||
* Sonatype Nexus (TM) Open Source Version. | ||
* Copyright (c) 2008 Sonatype, Inc. All rights reserved. | ||
* Includes the third-party code listed at http://nexus.sonatype.org/dev/attributions.html | ||
* This program is licensed to you under Version 3 only of the GNU General Public License as published by the Free Software Foundation. | ||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | ||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* See the GNU General Public License Version 3 for more details. | ||
* You should have received a copy of the GNU General Public License Version 3 along with this program. | ||
* If not, see http://www.gnu.org/licenses/. | ||
* Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. | ||
* "Sonatype" and "Sonatype Nexus" are trademarks of Sonatype, Inc. | ||
*/ | ||
package org.sonatype.nexus; | ||
|
||
/** | ||
* The source of common data from App. | ||
* | ||
* @author cstamas | ||
*/ | ||
public interface ApplicationStatusSource | ||
{ | ||
SystemStatus getSystemStatus(); | ||
|
||
boolean setState( SystemState state ); | ||
} |
32 changes: 32 additions & 0 deletions
32
sandbox/snownexus/nexus-api/src/main/java/org/sonatype/nexus/OperationMode.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,32 @@ | ||
/** | ||
* Sonatype Nexus (TM) Open Source Version. | ||
* Copyright (c) 2008 Sonatype, Inc. All rights reserved. | ||
* Includes the third-party code listed at http://nexus.sonatype.org/dev/attributions.html | ||
* This program is licensed to you under Version 3 only of the GNU General Public License as published by the Free Software Foundation. | ||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | ||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* See the GNU General Public License Version 3 for more details. | ||
* You should have received a copy of the GNU General Public License Version 3 along with this program. | ||
* If not, see http://www.gnu.org/licenses/. | ||
* Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. | ||
* "Sonatype" and "Sonatype Nexus" are trademarks of Sonatype, Inc. | ||
*/ | ||
package org.sonatype.nexus; | ||
|
||
/** | ||
* The enum of possible operation modes in which Nexus Application may reside. | ||
* | ||
* @author cstamas | ||
*/ | ||
public enum OperationMode | ||
{ | ||
/** | ||
* Nexus is in standalone mode. | ||
*/ | ||
STANDALONE, | ||
|
||
/** | ||
* Nexus is config slave. | ||
*/ | ||
CONFIGURATION_SLAVE; | ||
} |
52 changes: 52 additions & 0 deletions
52
sandbox/snownexus/nexus-api/src/main/java/org/sonatype/nexus/SystemState.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,52 @@ | ||
/** | ||
* Sonatype Nexus (TM) Open Source Version. | ||
* Copyright (c) 2008 Sonatype, Inc. All rights reserved. | ||
* Includes the third-party code listed at http://nexus.sonatype.org/dev/attributions.html | ||
* This program is licensed to you under Version 3 only of the GNU General Public License as published by the Free Software Foundation. | ||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | ||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* See the GNU General Public License Version 3 for more details. | ||
* You should have received a copy of the GNU General Public License Version 3 along with this program. | ||
* If not, see http://www.gnu.org/licenses/. | ||
* Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. | ||
* "Sonatype" and "Sonatype Nexus" are trademarks of Sonatype, Inc. | ||
*/ | ||
package org.sonatype.nexus; | ||
|
||
/** | ||
* The enum of possible states in which Nexus Application may reside. | ||
* | ||
* @author cstamas | ||
*/ | ||
public enum SystemState | ||
{ | ||
/** | ||
* Nexus is in process of starting. Should not be bothered until it is RUNNING. | ||
*/ | ||
STARTING, | ||
|
||
/** | ||
* Nexus is running and is healthy. It is fully functional. | ||
*/ | ||
STARTED, | ||
|
||
/** | ||
* Nexus tried to start up, but is failed due to broken user configuration. It is nonfunctional. | ||
*/ | ||
BROKEN_CONFIGURATION, | ||
|
||
/** | ||
* Nexus tried to start up, but is failed due to some unexpected IO error. It is nonfunctional. | ||
*/ | ||
BROKEN_IO, | ||
|
||
/** | ||
* Nexus is being shutdown. | ||
*/ | ||
STOPPING, | ||
|
||
/** | ||
* Nexus is shut down. | ||
*/ | ||
STOPPED; | ||
} |
Oops, something went wrong.