Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
ROO-983: Refactor Maven project structure to allow projects to select…
Browse files Browse the repository at this point in the history
… if they require OSGi Declarative Services (SCR) or not
  • Loading branch information
Ben Alex committed Jun 10, 2010
1 parent 14696f6 commit b4b5cc0
Show file tree
Hide file tree
Showing 45 changed files with 135 additions and 116 deletions.
4 changes: 2 additions & 2 deletions addon-backup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.backup</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-beaninfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.beaninfo</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-configurable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.configurable</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-dbre/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.dbre</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-dod/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.dod</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-email/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.email</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-entity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.entity</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-finder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.finder</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-gwt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.gwt</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-javabean/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.javabean</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-jms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.jms</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.jpa</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.logging</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.maven</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-plural/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.plural</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-property-editor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.property.editor</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-propfiles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.propfiles</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.security</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-serializable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.serializable</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-solr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.solr</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.test</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-tostring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.tostring</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-web-flow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.web.flow</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-web-mvc-controller/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.web.mvc.controller</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-web-mvc-jsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.web.mvc.jsp</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions addon-web-selenium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.addon.web.selenium</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.bootstrap</artifactId>
<!-- JAR packaging is correct; this is not an OSGi bundle 0-->
Expand Down
18 changes: 6 additions & 12 deletions bootstrap/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,30 +134,24 @@
</fileSet>
<fileSet>
<outputDirectory>/bin</outputDirectory>
<directory>bootstrap/target</directory>
<directory>${project.build.directory}/all</directory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>org.springframework.roo.bootstrap-*.jar</include>
</includes>
<excludes>
<exclude>*-sources.jar</exclude>
</excludes>
</fileSet>
<fileSet>
<outputDirectory>/bin</outputDirectory>
<directory>bootstrap/target/dependency</directory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>org.apache.felix.framework-*.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/bundle</outputDirectory>
<directory>${project.build.directory}/bundle</directory>
<directory>${project.build.directory}/all</directory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>*.jar</include>
</includes>
<excludes>
<exclude>org.springframework.roo.bootstrap-*.jar</exclude>
<exclude>org.apache.felix.framework-*.jar</exclude>
</excludes>
</fileSet>
</fileSets>

Expand Down
4 changes: 2 additions & 2 deletions classpath-javaparser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.classpath.javaparser</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions classpath/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.classpath</artifactId>
<packaging>bundle</packaging>
Expand Down
4 changes: 2 additions & 2 deletions felix/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.parent</artifactId>
<artifactId>org.springframework.roo.osgi.roo.bundle</artifactId>
<version>1.1.0.M2</version>
<relativePath>../parent</relativePath>
<relativePath>../osgi-roo-bundle</relativePath>
</parent>
<artifactId>org.springframework.roo.felix</artifactId>
<packaging>bundle</packaging>
Expand Down
Loading

0 comments on commit b4b5cc0

Please sign in to comment.