diff options
Diffstat (limited to 'plugins')
37 files changed, 1883 insertions, 10 deletions
diff --git a/plugins/com.sun.jersey.client.apache/pom.xml b/plugins/com.sun.jersey.client.apache/pom.xml index 73c480160bd..9a557d06a69 100644 --- a/plugins/com.sun.jersey.client.apache/pom.xml +++ b/plugins/com.sun.jersey.client.apache/pom.xml @@ -4,10 +4,10 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.eclipse.ip</groupId> - <artifactId>org.eclipse.ip.parent</artifactId> - <version>1.0.0-SNAPSHOT</version> - <relativePath>../org.eclipse.ip.parent</relativePath> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> </parent> <artifactId>com.sun.jersey.client.apache</artifactId> diff --git a/plugins/com.sun.jersey/pom.xml b/plugins/com.sun.jersey/pom.xml index 601ec67e611..c943fa77a59 100644 --- a/plugins/com.sun.jersey/pom.xml +++ b/plugins/com.sun.jersey/pom.xml @@ -4,12 +4,12 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.eclipse.ip</groupId> - <artifactId>org.eclipse.ip.parent</artifactId> - <version>1.0.0-SNAPSHOT</version> - <relativePath>../org.eclipse.ip.parent</relativePath> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> </parent> - + <artifactId>com.sun.jersey</artifactId> <packaging>eclipse-plugin</packaging> <name>com.sun.jersey</name> diff --git a/plugins/org.eclipse.osee.display.presenter/pom.xml b/plugins/org.eclipse.osee.display.presenter/pom.xml new file mode 100644 index 00000000000..937af519d88 --- /dev/null +++ b/plugins/org.eclipse.osee.display.presenter/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.server.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.display.presenter</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Display Presenter - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.display.view.web/pom.xml b/plugins/org.eclipse.osee.display.view.web/pom.xml new file mode 100644 index 00000000000..eb1c0d71a26 --- /dev/null +++ b/plugins/org.eclipse.osee.display.view.web/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.server.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.display.view.web</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Display View Web - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.display/pom.xml b/plugins/org.eclipse.osee.display/pom.xml new file mode 100644 index 00000000000..849e148387f --- /dev/null +++ b/plugins/org.eclipse.osee.display/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.server.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.display</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Display - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.event.osgi/pom.xml b/plugins/org.eclipse.osee.event.osgi/pom.xml new file mode 100644 index 00000000000..97364b2e566 --- /dev/null +++ b/plugins/org.eclipse.osee.event.osgi/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.event.osgi</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Event Osgi - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.event/pom.xml b/plugins/org.eclipse.osee.event/pom.xml new file mode 100644 index 00000000000..fd06fe79705 --- /dev/null +++ b/plugins/org.eclipse.osee.event/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.event</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Event - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.framework.jdk.core/pom.xml b/plugins/org.eclipse.osee.framework.jdk.core/pom.xml new file mode 100644 index 00000000000..eca4da51f41 --- /dev/null +++ b/plugins/org.eclipse.osee.framework.jdk.core/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.framework.jdk.core</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE JDK Core - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.logback.config/pom.xml b/plugins/org.eclipse.osee.logback.config/pom.xml new file mode 100644 index 00000000000..3b072ce62f0 --- /dev/null +++ b/plugins/org.eclipse.osee.logback.config/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.server.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.logback.config</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Logback Config - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.logger.slf4j/pom.xml b/plugins/org.eclipse.osee.logger.slf4j/pom.xml new file mode 100644 index 00000000000..0f834df6ea7 --- /dev/null +++ b/plugins/org.eclipse.osee.logger.slf4j/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.logger.slf4j</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Logger SLF4J - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.logger/pom.xml b/plugins/org.eclipse.osee.logger/pom.xml new file mode 100644 index 00000000000..fe7d4863447 --- /dev/null +++ b/plugins/org.eclipse.osee.logger/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.logger</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Logger - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.mail/pom.xml b/plugins/org.eclipse.osee.mail/pom.xml new file mode 100644 index 00000000000..c902c0dfbe4 --- /dev/null +++ b/plugins/org.eclipse.osee.mail/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.mail</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Mail - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.rest.admin/pom.xml b/plugins/org.eclipse.osee.rest.admin/pom.xml new file mode 100644 index 00000000000..8707846ed1e --- /dev/null +++ b/plugins/org.eclipse.osee.rest.admin/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.rest.admin</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Rest Admin - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.vaadin.widgets/pom.xml b/plugins/org.eclipse.osee.vaadin.widgets/pom.xml new file mode 100644 index 00000000000..aed7115d5e1 --- /dev/null +++ b/plugins/org.eclipse.osee.vaadin.widgets/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.vaadin.widgets</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Vaadin Widgets - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.vaadin/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.vaadin/META-INF/MANIFEST.MF index a47b2942b2f..7df3536402d 100644 --- a/plugins/org.eclipse.osee.vaadin/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.osee.vaadin/META-INF/MANIFEST.MF @@ -7,7 +7,7 @@ Bundle-Vendor: Eclipse Open System Engineering Environment Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Service-Component: OSGI-INF/*.xml Import-Package: javax.servlet;version="2.5.0", - javax.servlet.http, + javax.servlet.http;version="2.5.0", org.eclipse.osee.event, org.eclipse.osee.logger, org.osgi.framework;version="1.6.0", diff --git a/plugins/org.eclipse.osee.vaadin/pom.xml b/plugins/org.eclipse.osee.vaadin/pom.xml new file mode 100644 index 00000000000..0cbcdf4ed41 --- /dev/null +++ b/plugins/org.eclipse.osee.vaadin/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.vaadin</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE Vaadin - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.x.core.p2/.project b/plugins/org.eclipse.osee.x.core.p2/.project new file mode 100644 index 00000000000..230877faa7a --- /dev/null +++ b/plugins/org.eclipse.osee.x.core.p2/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osee.x.core.p2</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.UpdateSiteBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.UpdateSiteNature</nature> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.osee.x.core.p2/category.xml b/plugins/org.eclipse.osee.x.core.p2/category.xml new file mode 100644 index 00000000000..2abecb01b50 --- /dev/null +++ b/plugins/org.eclipse.osee.x.core.p2/category.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<site> + <feature url="features/org.eclipse.osee.x.core.feature_0.9.9.qualifier.jar" id="org.eclipse.osee.x.core.feature" version="0.9.9.qualifier"> + <category name="org.eclipse.osee.x.core"/> + </feature> + <feature url="features/org.eclipse.osee.x.core.feature.source_0.9.9.qualifier.jar" id="org.eclipse.osee.x.core.feature.source" version="0.9.9.qualifier"> + <category name="org.eclipse.osee.x.core"/> + </feature> + <category-def name="org.eclipse.osee.x.core" label="Eclipse OSEE X Core - (Incubation)"> + <description> + Eclipse OSEE X Core - (Incubation) + </description> + </category-def> +</site> diff --git a/plugins/org.eclipse.osee.x.core.p2/pom.xml b/plugins/org.eclipse.osee.x.core.p2/pom.xml new file mode 100644 index 00000000000..f36e9a3887d --- /dev/null +++ b/plugins/org.eclipse.osee.x.core.p2/pom.xml @@ -0,0 +1,18 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.core.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.x.core.p2</artifactId> + <packaging>eclipse-repository</packaging> + <name>OSEE X Core - p2 Site (Incubation)</name> + <version>0.9.9-SNAPSHOT</version> + +</project> diff --git a/plugins/org.eclipse.osee.x.core.parent/.project b/plugins/org.eclipse.osee.x.core.parent/.project new file mode 100644 index 00000000000..e2f8f8dcbf0 --- /dev/null +++ b/plugins/org.eclipse.osee.x.core.parent/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osee.x.core.parent</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.osee.x.core.parent/pom.xml b/plugins/org.eclipse.osee.x.core.parent/pom.xml new file mode 100644 index 00000000000..a32140419b5 --- /dev/null +++ b/plugins/org.eclipse.osee.x.core.parent/pom.xml @@ -0,0 +1,497 @@ +<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> + + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.core.parent</artifactId> + <packaging>pom</packaging> + <name>OSEE X Core - Parent (Incubation)</name> + <version>0.9.9-SNAPSHOT</version> + + <modules> + <module>../../plugins/com.sun.jersey</module> + <module>../../plugins/com.sun.jersey.client.apache</module> + + <module>../../plugins/org.eclipse.osee.logger</module> + <module>../../plugins/org.eclipse.osee.logger.slf4j</module> + <module>../../plugins/org.eclipse.osee.logback.config</module> + + <module>../../plugins/org.eclipse.osee.event</module> + <module>../../plugins/org.eclipse.osee.event.osgi</module> + + <module>../../plugins/org.eclipse.osee.framework.jdk.core</module> + + <module>../../plugins/org.eclipse.osee.mail</module> + + <module>../../plugins/org.eclipse.osee.vaadin</module> + <module>../../plugins/org.eclipse.osee.vaadin.widgets</module> + + <module>../../plugins/org.eclipse.osee.rest.admin</module> + + <module>../../features/org.eclipse.osee.x.core.external.feature</module> + <module>../../features/org.eclipse.osee.x.core.feature</module> + <module>../../features/org.eclipse.osee.x.core.feature.source</module> + + <module>../../features/org.eclipse.osee.x.core.p2</module> + + </modules> + + <properties> + <tycho-version>0.12.0</tycho-version> + <maven-antrun-version>1.6</maven-antrun-version> + <ant-contrib-version>1.0b3</ant-contrib-version> + <build-alias>-DEV</build-alias> + <platform-version-name>indigo</platform-version-name> + + <orbit-version>R20110523182458</orbit-version> + + <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/${orbit-version}/repository</orbit-site> + <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> + + <eclipse-ip-site-path>file:../../../../org.eclipse.ip</eclipse-ip-site-path> + <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + </properties> + + <licenses> + <license> + <name>Eclipse Public License v1.0</name> + <comments> + All rights reserved. + + This program and the accompanying materials are made + available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.htm + </comments> + </license> + </licenses> + + <organization> + <name>Eclipse Open System Engineering Environment</name> + <url>http://www.eclipse.org/osee</url> + </organization> + + <repositories> + <repository> + <id>eclipse</id> + <layout>p2</layout> + <url>${eclipse-site}</url> + </repository> + <repository> + <id>swtbot</id> + <layout>p2</layout> + <url>${swtbot-site}</url> + </repository> + <repository> + <id>wikitext</id> + <layout>p2</layout> + <url>${wikitext-site}</url> + </repository> + <repository> + <id>orbit</id> + <layout>p2</layout> + <url>${orbit-site}</url> + </repository> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + + <!-- <repository> <id>polarion</id> <layout>p2</layout> <url>${polarion-site}</url> + </repository> <repository> <id>subversive</id> <layout>p2</layout> <url>${subversive-site}</url> + </repository> <repository> <id>nebula-cdatetime</id> <layout>p2</layout> + <url>${nebula-cdatetime-site}</url> </repository> <repository> <id>nebula-cwt</id> + <layout>p2</layout> <url>${nebula-cwt-site}</url> </repository> <repository> + <id>nebula-calendarcombo</id> <layout>p2</layout> <url>${nebula-calendarcombo-site}</url> + </repository> <repository> <id>nebula-xviewer</id> <layout>p2</layout> <url>${nebula-xviewer-site}</url> + </repository> <repository> <id>itemis</id> <layout>p2</layout> <url>${itemis-site}</url> + </repository> --> + + </repositories> + + <build> + <sourceDirectory>src</sourceDirectory> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-maven-plugin</artifactId> + <version>${tycho-version}</version> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-packaging-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <format>'v'yyyyMMddHHmm'${build-alias}'</format> + <archiveSite>true</archiveSite> + <environments> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86</arch> + </environment> + <environment> + <os>macosx</os> + <ws>carbon</ws> + <arch>x86</arch> + </environment> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86_64</arch> + </environment> + </environments> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <resolver>p2</resolver> + <environments> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86</arch> + </environment> + <environment> + <os>macosx</os> + <ws>carbon</ws> + <arch>x86</arch> + </environment> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86_64</arch> + </environment> + </environments> + </configuration> + </plugin> + </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-compiler-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <encoding>UTF-8</encoding> + </configuration> + </plugin> + <!-- enable source bundle generation --> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + <version>${tycho-version}</version> + <executions> + <execution> + <id>plugin-source</id> + <goals> + <goal>plugin-source</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.1</version> + <configuration> + <encoding>ISO-8859-1</encoding> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>${maven-antrun-version}</version> + <dependencies> + <dependency> + <groupId>ant-contrib</groupId> + <artifactId>ant-contrib</artifactId> + <version>${ant-contrib-version}</version> + <exclusions> + <exclusion> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.3.2</version> + <configuration> + <findbugsXmlOutput>true</findbugsXmlOutput> + <failOnError>false</failOnError> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>2.5</version> + <configuration> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>1.6</targetJdk> + <format>xml</format> + <failOnViolation>false</failOnViolation> + </configuration> + <executions> + <execution> + <goals> + <goal>cpd-check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> + + <profiles> + + <profile> + <id>osee-local-sites</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <eclipse-ip-path>file:../../../eclipse-ip-site-path</eclipse-ip-path> + <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + </properties> + </profile> + + <profile> + <id>osee-remote-sites</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <eclipse-ip-path>http://msa-linux-adm.msc.az.boeing.com/osee/sites</eclipse-ip-path> + <eclipse-ip-version>DEV/org.eclipse.ip</eclipse-ip-version> + <eclipse-ip-site>${eclipse-ip-site-path}/${eclipse-ip-version}/org.eclipse.ip.p2</eclipse-ip-site> + </properties> + </profile> + + <profile> + <id>helpGeneration</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <update.osee.doc>true</update.osee.doc> + </properties> + </profile> + + <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> + + <profile> + <id>checkstyle</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>check my sources</id> + <goals> + <goal>checkstyle</goal> + </goals> + <phase>verify</phase> + <configuration> + <failOnErrors>false</failOnErrors> + <consoleOutput>true</consoleOutput> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>coverage</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <modules> + <module>org.eclemma.runtime.equinox</module> + </modules> + </profile> + <profile> + <id>static-checks</id> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>hudson</id> + <activation> + <property> + <name>BUILD_NUMBER</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.sonatype.tycho</groupId> + <artifactId>maven-osgi-packaging-plugin</artifactId> + <version>${tychoVersion}</version> + <configuration> + <format>'v'yyyyMMdd-HHmm'-H${BUILD_NUMBER}-${build-alias}</format> + <archiveSite>true</archiveSite> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>local-mirror</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <mirrors-server>http://msa-linux-adm.msc.az.boeing.com</mirrors-server> + </properties> + <!--Enable snapshots for the built in central repo to direct --> + <!--all requests to nexus via the mirror --> + <repositories> + <repository> + <id>central</id> + <url>${mirrors-server}/nexus/content/groups/public/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>snapshots</id> + <url>${mirrors-server}/nexus/content/groups/public-snapshots/</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + <repository> + <id>eclipse</id> + <layout>p2</layout> + <url>${mirrors-server}/osee/sites/MIRRORS/eclipse/${platform-version-name}</url> + </repository> + <repository> + <id>orbit</id> + <layout>p2</layout> + <url>${mirrors-server}/osee/sites/MIRRORS/orbit/${orbit-version}/</url> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>central</id> + <url>${mirrors-server}/nexus/content/groups/public/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> + <id>snapshots</id> + <url>${mirrors-server}/nexus/content/groups/public-snapshots/</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + + </profiles> + +</project> diff --git a/plugins/org.eclipse.osee.x.server.application/.classpath b/plugins/org.eclipse.osee.x.server.application/.classpath new file mode 100644 index 00000000000..ad32c83a788 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.application/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/plugins/org.eclipse.osee.x.server.application/.project b/plugins/org.eclipse.osee.x.server.application/.project new file mode 100644 index 00000000000..c2341d0e97c --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.application/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osee.x.server.application</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.osee.x.server.application/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.x.server.application/META-INF/MANIFEST.MF new file mode 100644 index 00000000000..21728109f17 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.application/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: OSEE X Server Application +Bundle-SymbolicName: org.eclipse.osee.x.server.application +Bundle-Version: 0.9.9.qualifier +Bundle-Vendor: Eclipse Open System Engineering Environment +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Import-Package: org.eclipse.equinox.app diff --git a/plugins/org.eclipse.osee.x.server.application/build.properties b/plugins/org.eclipse.osee.x.server.application/build.properties new file mode 100644 index 00000000000..34d2e4d2dad --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.application/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/plugins/org.eclipse.osee.x.server.application/pom.xml b/plugins/org.eclipse.osee.x.server.application/pom.xml new file mode 100644 index 00000000000..d81589c2d8e --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.application/pom.xml @@ -0,0 +1,34 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.server.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.x.server.application</artifactId> + <packaging>eclipse-plugin</packaging> + <name>OSEE X Server Application - (Incubation)</name> + + <build> + <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> + <resources> + <resource> + <directory>src</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.x.server.application/src/org/eclipse/osee/x/server/application/ServerApplication.java b/plugins/org.eclipse.osee.x.server.application/src/org/eclipse/osee/x/server/application/ServerApplication.java new file mode 100644 index 00000000000..7994f811521 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.application/src/org/eclipse/osee/x/server/application/ServerApplication.java @@ -0,0 +1,37 @@ +/******************************************************************************* + * Copyright (c) 2004, 2007 Boeing. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Boeing - initial API and implementation + *******************************************************************************/ +package org.eclipse.osee.x.server.application; + +import org.eclipse.equinox.app.IApplication; +import org.eclipse.equinox.app.IApplicationContext; + +/** + * @author Roberto E. Escobar + */ +public class ServerApplication implements IApplication { + + private IApplicationContext context; + + @Override + public Object start(IApplicationContext context) throws Exception { + this.context = context; + // context.applicationRunning(); + return IApplicationContext.EXIT_ASYNC_RESULT; + } + + @Override + public void stop() { + if (context != null) { + context.setResult(IApplication.EXIT_OK, this); + } + } + +} diff --git a/plugins/org.eclipse.osee.x.server.p2/.project b/plugins/org.eclipse.osee.x.server.p2/.project new file mode 100644 index 00000000000..46c29702746 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osee.x.server.p2</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.UpdateSiteBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.UpdateSiteNature</nature> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.osee.x.server.p2/category.xml b/plugins/org.eclipse.osee.x.server.p2/category.xml new file mode 100644 index 00000000000..4e63a30d349 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/category.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<site> + <feature url="features/org.eclipse.osee.x.server.feature_0.9.9.qualifier.jar" id="org.eclipse.osee.x.server.feature" version="0.9.9.qualifier"> + <category name="org.eclipse.osee.x.server"/> + </feature> + <feature url="features/org.eclipse.osee.x.server.feature.source_0.9.9.qualifier.jar" id="org.eclipse.osee.x.server.feature.source" version="0.9.9.qualifier"> + <category name="org.eclipse.osee.x.server"/> + </feature> + <category-def name="org.eclipse.osee.x.server" label="Eclipse OSEE Application Server X - (Incubation)"> + <description> + Eclipse OSEE Application Server X - (Incubation) + </description> + </category-def> +</site> diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip b/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip Binary files differnew file mode 100644 index 00000000000..1ce359d8b92 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/h2.zip b/plugins/org.eclipse.osee.x.server.p2/demo/h2.zip Binary files differnew file mode 100644 index 00000000000..ce7a9a68af2 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/demo/h2.zip diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml b/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml new file mode 100644 index 00000000000..93ef2e2bcaa --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml @@ -0,0 +1,24 @@ +<DbConnection> + + <DatabaseInfo id="h2.db.info"> + <DatabaseHome key="#DBHOME#" value="demo/h2/" /> + <DatabaseName key="#DBNAME#" value="osee.h2.db" /> + <DatabaseType key="#TYPE#" value="h2" /> + <Prefix key="#PREFIX#" value="jdbc:h2:tcp" /> + <UserName key="#USERNAME#" value="osee" /> + <Password key="#PASSWORD#" value="osee" /> + <Host key="#HOST#" value="@AvailableDbServices.hostAddress" /> + <Port key="#PORT#" value="@AvailableDbServices.port" /> + </DatabaseInfo> + + <ConnectionDescription id="h2.db.connection"> + <Driver>org.h2.Driver</Driver> + <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#;IGNORECASE=TRUE;SCHEMA_SEARCH_PATH=OSEE,PUBLIC</Url> + </ConnectionDescription> + + <AvailableDbServices> + <Server id="osee.demo.h2" dbInfo="h2.db.info" hostAddress="127.0.0.1" + port="8088" connectsWith="h2.db.connection" /> + </AvailableDbServices> + +</DbConnection> diff --git a/plugins/org.eclipse.osee.x.server.p2/package-server-runtime.xml b/plugins/org.eclipse.osee.x.server.p2/package-server-runtime.xml new file mode 100644 index 00000000000..b3826d2ff09 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/package-server-runtime.xml @@ -0,0 +1,163 @@ +<project name="Generates OSEE Application Server Runtime Package" default="run"> + + <target name="setup"> + <echo>Packaging Server Runtime</echo> + <echo>Output-Path: ${output-path}</echo> + <echo>P2-Content-Path: ${p2-content-path}</echo> + <echo>Output-Name: ${output-name}</echo> + <echo>Server-Path: ${server-path}</echo> + <echo>Demo-Data-Path: ${demo-content-path}</echo> + <echo /> + + <condition property="os-separator-exp" value="\\" else="/"> + <os family="windows" /> + </condition> + + <mkdir dir="${server-path}" /> + + <property name="server-config-path" value="${server-path}/configuration" /> + <property name="server-plugins-path" value="${server-path}/plugins" /> + + <mkdir dir="${server-config-path}" /> + <mkdir dir="${server-plugins-path}" /> + + <copy todir="${server-plugins-path}"> + <fileset dir="${p2-content-path}/plugins" excludes="**/*source_*.jar" /> + </copy> + + <pathconvert property="launcherBundlePath" setonempty="false"> + <path> + <fileset dir="${server-plugins-path}"> + <include name="org.eclipse.equinox.launcher_*.jar" /> + </fileset> + </path> + </pathconvert> + <propertyregex property="equinox-launcher-jar" override="true" input="${launcherBundlePath}" regexp="[^${os-separator-exp}]+$" select="\0" casesensitive="false" /> + </target> + + <target name="pack"> + <zip destfile="${output-path}/${output-name}.zip"> + <fileset dir="${server-path}" /> + </zip> + </target> + + <target name="cleanup"> + <delete dir="${server-path}" quiet="true" /> + </target> + + <target name="generateConfig"> + <generateConfigIni configPath="${server-config-path}" pluginsPath="${server-plugins-path}" /> + </target> + + <!-- *************************************************************** --> + <!-- MAIN RUN --> + <!-- *************************************************************** --> + <target name="run" depends="setup,generateConfig,generateLaunchScripts,pack" /> + + <!-- *************************************************************** --> + <!-- LAUNCH CONFIGS --> + <!-- *************************************************************** --> + <target name="generateTemplate"> + <createLaunch filepath="${server-path}/runExample.sh" connection.id="[id from connection file]" serverport="8089" executable="false" launcher="${equinox-launcher-jar}" extraVMArgs="-Dosee.connection.info.uri=[custom connection file path] \${line.separator}-Dosee.application.server.data=[binary data path]" /> + </target> + + <target name="generateH2Launch"> + <createLaunch filepath="${server-path}/runH2.sh" connection.id="h2" serverport="8089" launcher="${equinox-launcher-jar}" extraVMArgs="-Dosee.db.embedded.server=0.0.0.0:8088" /> + </target> + + <target name="generateDemoLaunch"> + <createLaunch filepath="${server-path}/runDemo.sh" connection.id="osee.demo.h2" serverport="8089" launcher="${equinox-launcher-jar}" extraVMArgs="-Dosee.db.embedded.server=0.0.0.0:8088 \${line.separator}-Dosee.connection.info.uri="demo/osee.demo.db.connection.xml" \${line.separator}-Dosee.application.server.data="demo/binary_data"" /> + + <copy file="${server-path}/runDemo.sh" tofile="${server-path}/runDemo.bat" overwrite="true" /> + <replaceregexp file="${server-path}/runDemo.bat" match="\\" replace="^" flags="g" /> + + <!-- Copy Demo Files --> + <property name="server-demo-path" value="${server-path}/demo" /> + + <mkdir dir="${server-demo-path}" /> + <mkdir dir="${server-demo-path}/binary_data" /> + + <unzip src="${demo-content-path}/h2.zip" dest="${server-demo-path}" /> + <unzip src="${demo-content-path}/binary_data.zip" dest="${server-demo-path}/binary_data" /> + <copy file="${demo-content-path}/osee.demo.db.connection.xml" tofile="${server-demo-path}/osee.demo.db.connection.xml" /> + </target> + + <target name="generateLocalPostgresLaunch"> + <createLaunch filepath="${server-path}/runPostgresqlLocal.sh" connection.id="postgresqlLocalhost" serverport="8089" launcher="${equinox-launcher-jar}" /> + </target> + + <target name="generateLaunchScripts" depends="generateTemplate,generateDemoLaunch,generateH2Launch,generateLocalPostgresLaunch" /> + + <!-- *************************************************************** --> + <!-- GENERATE CONFIG.INI --> + <!-- *************************************************************** --> + <macrodef name="generateConfigIni"> + <attribute name="configPath" /> + <attribute name="pluginsPath" /> + <sequential> + <echo file="@{configPath}/config.ini" append="false" message="osgi.bundles= \${line.separator}\${line.separator}" /> + + <pathconvert property="serverBundles" setonempty="false" pathsep=";"> + <path> + <fileset dir="@{pluginsPath}"> + <exclude name="org.eclipse.osgi_*.jar" /> + <exclude name="org.eclipse.equinox.launcher_*.jar" /> + <exclude name="*source_*.jar" /> + </fileset> + </path> + </pathconvert> + + <var name="isFirst" value="false" /> + <for param="bundle" delimiter=";" list="${serverBundles}" trim="true"> + <sequential> + <propertyregex override="yes" property="jarFilename" input="@{bundle}" regexp="[^${os-separator-exp}]+$" select="\0" /> + + <propertyregex property="projectName" override="true" input="${jarFilename}" regexp="(.*?)_" select="\1" casesensitive="false" /> + <if> + <equals arg1="${isFirst}" arg2="true" /> + <then> + <echo file="@{configPath}/config.ini" message=", \${line.separator}" append="true" /> + <var name="isFirst" value="false" /> + </then> + </if> + <echo file="@{configPath}/config.ini" message="${projectName}@start" append="true" /> + <var name="isFirst" value="true" /> + </sequential> + </for> + <echo file="@{configPath}/config.ini" append="true"> +osgi.noShutdown=true +eclipse.ignoreApp=true +equinox.ds.debug=true +osee.log.default=INFO + </echo> + </sequential> + </macrodef> + + <!-- *************************************************************** --> + <!-- GENERATE LAUNCH --> + <!-- *************************************************************** --> + <macrodef name="createLaunch"> + <attribute name="filepath" /> + <attribute name="serverport" /> + <attribute name="connection.id" /> + <attribute name="launcher" /> + <attribute name="serverMaxMem" default="1024m" /> + <attribute name="executable" default="true" /> + <attribute name="extraVMArgs" default=" " /> + <sequential> + <echo file="@{filepath}" append="false">java \ +-Xmx@{serverMaxMem} \ +-Dorg.osgi.service.http.port=@{serverport} \ +-Dosee.db.connection.id=@{connection.id} \ +@{extraVMArgs} \ +-jar plugins/@{launcher} -console +</echo> + <if> + <equals arg1="@{executable}" arg2="true" /> + <then> + <chmod file="@{filepath}" perm="ugo+rx" /> + </then> + </if> + </sequential> + </macrodef> +</project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.x.server.p2/pom.xml b/plugins/org.eclipse.osee.x.server.p2/pom.xml new file mode 100644 index 00000000000..c49433c5655 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/pom.xml @@ -0,0 +1,56 @@ +<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.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <version>0.9.9-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.server.parent</relativePath> + </parent> + + <artifactId>org.eclipse.osee.x.server.p2</artifactId> + <packaging>eclipse-repository</packaging> + <name>OSEE X Server - p2 Site (Incubation)</name> + <version>0.9.9-SNAPSHOT</version> + + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>${maven-antrun-version}</version> + <executions> + <execution> + <id>build-osee-server</id> + <phase>package</phase> + <configuration> + <target> + <property name="plugin_classpath" refid="maven.plugin.classpath" /> + <taskdef resource="net/sf/antcontrib/antlib.xml"> + <classpath> + <pathelement path="${classpath}" /> + <pathelement path="${plugin_classpath}" /> + </classpath> + </taskdef> + + <property name="output-name" value="org.eclipse.osee.x.server.runtime" /> + <property name="p2-content-path" value="${project.build.directory}/repository" /> + <property name="output-path" value="${project.build.directory}" /> + <property name="server-path" value="${output-path}/server" /> + <property name="demo-content-path" value="${project.basedir}/demo" /> + + <ant antfile="package-server-runtime.xml" target="run" + inheritRefs="true" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> diff --git a/plugins/org.eclipse.osee.x.server.p2/x.server.product b/plugins/org.eclipse.osee.x.server.p2/x.server.product new file mode 100644 index 00000000000..45be50b76c2 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.p2/x.server.product @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?pde version="3.5"?> + +<product name="OSEE Application Server X (Incubation)" uid="org.eclipse.osee.x.server.product" version="0.9.9.qualifier" useFeatures="true" includeLaunchers="true"> + + + <configIni use="default"> + </configIni> + + <launcherArgs> + <programArgs>-consoleLog -console -clean</programArgs> + <vmArgs>-Declipse.ignoreApp=true +-Dosgi.noShutdown=true +-Dequinox.ds.print=true +-Dorg.osgi.service.http.port=8089 +-Dlogback.configurationFile=logback-dev.xml</vmArgs> + <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac> + </launcherArgs> + + <windowImages/> + + + <launcher name="osee_server"> + <solaris/> + <win useIco="false"> + <bmp/> + </win> + </launcher> + + + <vm> + </vm> + + + <plugins> + </plugins> + + <features> + <feature id="org.eclipse.osee.x.server.feature" version="0.9.9.qualifier"/> + </features> + + +</product> diff --git a/plugins/org.eclipse.osee.x.server.parent/.project b/plugins/org.eclipse.osee.x.server.parent/.project new file mode 100644 index 00000000000..7861807a495 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.parent/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osee.x.server.parent</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.osee.x.server.parent/pom.xml b/plugins/org.eclipse.osee.x.server.parent/pom.xml new file mode 100644 index 00000000000..8b693211317 --- /dev/null +++ b/plugins/org.eclipse.osee.x.server.parent/pom.xml @@ -0,0 +1,428 @@ +<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> + + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.server.parent</artifactId> + <packaging>pom</packaging> + <name>OSEE X Server - Parent (Incubation)</name> + <version>0.9.9-SNAPSHOT</version> + + <modules> + <module>../../plugins/org.eclipse.osee.x.core.parent</module> + + <module>../../plugins/org.eclipse.osee.display</module> + <module>../../plugins/org.eclipse.osee.display.view.web</module> + <module>../../plugins/org.eclipse.osee.display.presenter</module> + + <module>../../features/org.eclipse.osee.x.server.feature</module> + <module>../../features/org.eclipse.osee.x.server.feature.source</module> + + <module>../../features/org.eclipse.osee.x.server.p2</module> + </modules> + + <properties> + <tycho-version>0.12.0</tycho-version> + <maven-antrun-version>1.6</maven-antrun-version> + <ant-contrib-version>1.0b3</ant-contrib-version> + <build-alias>-DEV</build-alias> + <platform-version-name>indigo</platform-version-name> + <eclipse-ip-path>file:../../../../org.eclipse.ip</eclipse-ip-path> + <orbit-version>R20110523182458</orbit-version> + <xtext-version>2.0.0</xtext-version> + <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/${orbit-version}/repository</orbit-site> + <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> + + <eclipse-ip-site>${eclipse-ip-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + + <!-- + <subversive-site>http://download.eclipse.org/technology/subversive/0.7//update-site</subversive-site> + <polarion-site>http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site</polarion-site> + <nebula-cdatetime-site>http://download.eclipse.org/technology/nebula/cdatetime/update-N</nebula-cdatetime-site> + <nebula-cwt-site>http://download.eclipse.org/technology/nebula/cwt/update-N</nebula-cwt-site> + <nebula-calendarcombo-site>http://download.eclipse.org/technology/nebula/calendarcombo/update-N</nebula-calendarcombo-site> + <nebula-xviewer-site>http://download.eclipse.org/technology/nebula/xviewer/update-N/</nebula-xviewer-site> + <itemis-site>http://download.itemis.com/updates/releases/${xtext-version}/</itemis-site> + --> + </properties> + + <licenses> + <license> + <name>Eclipse Public License v1.0</name> + <comments> + All rights reserved. + + This program and the accompanying materials are made + available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.htm + </comments> + </license> + </licenses> + + <organization> + <name>Eclipse Open System Engineering Environment</name> + <url>http://www.eclipse.org/osee</url> + </organization> + + <repositories> + <repository> + <id>eclipse</id> + <layout>p2</layout> + <url>${eclipse-site}</url> + </repository> + <repository> + <id>swtbot</id> + <layout>p2</layout> + <url>${swtbot-site}</url> + </repository> + <repository> + <id>wikitext</id> + <layout>p2</layout> + <url>${wikitext-site}</url> + </repository> + <repository> + <id>orbit</id> + <layout>p2</layout> + <url>${orbit-site}</url> + </repository> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + +<!-- + <repository> + <id>polarion</id> + <layout>p2</layout> + <url>${polarion-site}</url> + </repository> + <repository> + <id>subversive</id> + <layout>p2</layout> + <url>${subversive-site}</url> + </repository> + <repository> + <id>nebula-cdatetime</id> + <layout>p2</layout> + <url>${nebula-cdatetime-site}</url> + </repository> + <repository> + <id>nebula-cwt</id> + <layout>p2</layout> + <url>${nebula-cwt-site}</url> + </repository> + <repository> + <id>nebula-calendarcombo</id> + <layout>p2</layout> + <url>${nebula-calendarcombo-site}</url> + </repository> + <repository> + <id>nebula-xviewer</id> + <layout>p2</layout> + <url>${nebula-xviewer-site}</url> + </repository> + <repository> + <id>itemis</id> + <layout>p2</layout> + <url>${itemis-site}</url> + </repository> --> + + </repositories> + + <build> + <sourceDirectory>src</sourceDirectory> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-maven-plugin</artifactId> + <version>${tycho-version}</version> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-packaging-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <format>'v'yyyyMMddHHmm'${build-alias}'</format> + <archiveSite>true</archiveSite> + <environments> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86</arch> + </environment> + <environment> + <os>macosx</os> + <ws>carbon</ws> + <arch>x86</arch> + </environment> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86_64</arch> + </environment> + </environments> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <resolver>p2</resolver> + <environments> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86</arch> + </environment> + <environment> + <os>macosx</os> + <ws>carbon</ws> + <arch>x86</arch> + </environment> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86_64</arch> + </environment> + </environments> + </configuration> + </plugin> + </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-compiler-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <encoding>UTF-8</encoding> + </configuration> + </plugin> + <!-- enable source bundle generation --> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-source-plugin</artifactId> + <version>${tycho-version}</version> + <executions> + <execution> + <id>plugin-source</id> + <goals> + <goal>plugin-source</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.1</version> + <configuration> + <encoding>ISO-8859-1</encoding> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>${maven-antrun-version}</version> + <dependencies> + <dependency> + <groupId>ant-contrib</groupId> + <artifactId>ant-contrib</artifactId> + <version>${ant-contrib-version}</version> + <exclusions> + <exclusion> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.3.2</version> + <configuration> + <findbugsXmlOutput>true</findbugsXmlOutput> + <failOnError>false</failOnError> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>2.5</version> + <configuration> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>1.6</targetJdk> + <format>xml</format> + <failOnViolation>false</failOnViolation> + </configuration> + <executions> + <execution> + <goals> + <goal>cpd-check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> + + <profiles> + <profile> + <id>helpGeneration</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <update.osee.doc>true</update.osee.doc> + </properties> + </profile> + + <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> + + <profile> + <id>checkstyle</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>check my sources</id> + <goals> + <goal>checkstyle</goal> + </goals> + <phase>verify</phase> + <configuration> + <failOnErrors>false</failOnErrors> + <consoleOutput>true</consoleOutput> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>coverage</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <modules> + <module>org.eclemma.runtime.equinox</module> + </modules> + </profile> + <profile> + <id>static-checks</id> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>hudson</id> + <activation> + <property> + <name>BUILD_NUMBER</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.sonatype.tycho</groupId> + <artifactId>maven-osgi-packaging-plugin</artifactId> + <version>${tychoVersion}</version> + <configuration> + <format>'v'yyyyMMdd-HHmm'-H${BUILD_NUMBER}-${build-alias}</format> + <archiveSite>true</archiveSite> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + </profiles> + +</project> |