From: <my...@us...> - 2009-04-11 00:55:40
|
Revision: 1907 http://aperture.svn.sourceforge.net/aperture/?rev=1907&view=rev Author: mylka Date: 2009-04-11 00:55:38 +0000 (Sat, 11 Apr 2009) Log Message: ----------- a preliminary version of the aperture sdk assembly Modified Paths: -------------- aperture/trunk/pom.xml Added Paths: ----------- aperture/trunk/src/ aperture/trunk/src/main/ aperture/trunk/src/main/assembly/ aperture/trunk/src/main/assembly/sdk.xml Modified: aperture/trunk/pom.xml =================================================================== --- aperture/trunk/pom.xml 2009-04-10 23:11:54 UTC (rev 1906) +++ aperture/trunk/pom.xml 2009-04-11 00:55:38 UTC (rev 1907) @@ -262,9 +262,8 @@ </dependency> <dependency> <groupId>org.slf4j</groupId> - <artifactId>jcl104-over-slf4j</artifactId> + <artifactId>jcl-over-slf4j</artifactId> <version>${slf4j.version}</version> - <scope>test</scope> </dependency> <!-- RDF2Go --> @@ -629,6 +628,16 @@ <encoding>utf8</encoding> </configuration> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <inherited>false</inherited> + <configuration> + <finalName>aperture-${project.version}</finalName> + <descriptors> + <descriptor>src/main/assembly/sdk.xml</descriptor> + </descriptors> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins> @@ -672,6 +681,11 @@ <pomFile>${basedir}/pom.xml</pomFile> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-3</version> + </plugin> </plugins> </pluginManagement> </build> @@ -681,11 +695,25 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> + <version>2.5</version> <configuration> <source>1.5</source> <encoding>utf8</encoding> <quiet>true</quiet> + <links> + <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> + <link>http://repository.aduna-software.org/docs/info.aduna/api/</link> + <link>http://mavenrepo.fzi.de/semweb4j.org/site/rdf2go.api/apidocs</link> + </links> </configuration> + <reportSets> + <reportSet> + <id>javadoc-report-set</id> + <reports> + <report>aggregate</report> + </reports> + </reportSet> + </reportSets> </plugin> </plugins> </reporting> Added: aperture/trunk/src/main/assembly/sdk.xml =================================================================== --- aperture/trunk/src/main/assembly/sdk.xml (rev 0) +++ aperture/trunk/src/main/assembly/sdk.xml 2009-04-11 00:55:38 UTC (rev 1907) @@ -0,0 +1,116 @@ +<assembly> + <id>sdk</id> + + <formats> + <format>tar.gz</format> + <format>zip</format> + </formats> + + <archiverConfig> + <duplicateBehavior>skip</duplicateBehavior> + </archiverConfig> + + <baseDirectory>aperture-${project.version}</baseDirectory> + + <moduleSets> + <!-- the first module set - the actual aperture code, core and default --> + <moduleSet> + <includeSubModules>true</includeSubModules> + + <!-- this module set contains all modules apart from test and examples --> + <!-- we can't specify it as an include statement, since we'd have to --> + <!-- enumerate all modules, it's easier to enumerate those that don't --> + <!-- belong here. Note that those modules will not be taken into account --> + <!-- during the calculation of the dependency sets defined below --> + <excludes> + <exclude>org.semanticdesktop.aperture:aperture-test</exclude> + <exclude>org.semanticdesktop.aperture:aperture-testcore</exclude> + <exclude>org.semanticdesktop.aperture:aperture-testdocs</exclude> + <exclude>org.semanticdesktop.aperture:aperture-example</exclude> + <exclude>org.semanticdesktop.aperture:aperture-example-cli</exclude> + <exclude>org.semanticdesktop.aperture:aperture-example-swing</exclude> + <exclude>org.semanticdesktop.aperture:aperture-datasource-maven-plugin</exclude> + <exclude>org.semanticdesktop.aperture:aperture-vocabulary-maven-plugin</exclude> + </excludes> + + <binaries> + <unpack>false</unpack> + <outputDirectory>lib/aperture-libs</outputDirectory> + <includeDependencies>true</includeDependencies> + + <!-- we divide the dependency closure of this module set into two parts --> + <dependencySets> + <!-- compile-libs - obligatory libraries, necessary in each aperture deployment --> + <!-- libraries required by the core part of aperture, sesame doesn't go in, since --> + <!-- aperture does not depend on sesame, both osgi jars don't go in either, since --> + <!-- aperture does not depend on a concrete osgi implementation, we provide the --> + <!-- equinox jar as an optional library --> + <dependencySet> + <scope>compile</scope> + <outputDirectory>lib/required-libs</outputDirectory> + <useProjectArtifact>false</useProjectArtifact> + <excludes> + <exclude>org.semanticdesktop.aperture:*</exclude> + <exclude>org.openrdf.sesame:*</exclude> + <exclude>org.osgi:osgi_R4_core</exclude> + <exclude>org.eclipse:osgi</exclude> + </excludes> + </dependencySet> + + <!-- optional libraries, the deployer can choose a different logging framework and RDF store --> + <!-- We want to provide a working self-contained environment with the release, therefore --> + <!-- the release must contain a full-featured rdf store (sesame), the rdf2go driver for that store --> + <!-- a logging implementation, and an osgi implementation (equinox) --> + <dependencySet> + <outputDirectory>lib/optional-libs</outputDirectory> + <scope>test</scope> + <includes> + <!-- all required sesame and aduna commons jars go here --> + <include>org.openrdf.sesame:*</include> + <include>info.aduna.commons:*</include> + <include>org.semweb4j:rdf2go.impl.sesame22</include> + + <!-- by default we ship with the java.util.logging slf4j adapter --> + <include>org.slf4j:slf4j-jdk14</include> + + <!-- by default we ship with an equinox jar --> + <include>org.eclipse:osgi</include> + </includes> + <useProjectArtifact>false</useProjectArtifact> + </dependencySet> + </dependencySets> + </binaries> + </moduleSet> + + <!-- the second module set - supporting code - tests, examples and maven plugins--> + <moduleSet> + <includeSubModules>true</includeSubModules> + <includes> + <include>org.semanticdesktop.aperture:aperture-test</include> + <include>org.semanticdesktop.aperture:aperture-testcore</include> + <include>org.semanticdesktop.aperture:aperture-testdocs</include> + <include>org.semanticdesktop.aperture:aperture-example</include> + <include>org.semanticdesktop.aperture:aperture-example-cli</include> + <include>org.semanticdesktop.aperture:aperture-example-swing</include> + <include>org.semanticdesktop.aperture:aperture-datasource-maven-plugin</include> + <include>org.semanticdesktop.aperture:aperture-vocabulary-maven-plugin</include> + </includes> + <binaries> + <unpack>false</unpack> + <outputDirectory>lib/aperture-supportlibs</outputDirectory> + <includeDependencies>true</includeDependencies> + <!-- the supportlibs folder must also contain the nrl validator --> + <dependencySets> + <dependencySet> + <includes> + <include>org.semanticdesktop.nepomuk:aperture-tools-rdf-*</include> + <include>org.apache.maven:maven-plugin-api</include> + </includes> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>lib/aperture-supportlibs</outputDirectory> + </dependencySet> + </dependencySets> + </binaries> + </moduleSet> + </moduleSets> +</assembly> Property changes on: aperture/trunk/src/main/assembly/sdk.xml ___________________________________________________________________ Added: svn:mime-type + text/plain This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |