Skip to content

Commit

Permalink
[maven-release-plugin] copy for tag cloudsim-3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolayg committed Oct 17, 2012
1 parent 91bb167 commit b38fc0a
Show file tree
Hide file tree
Showing 11,993 changed files with 3,423,203 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
79 changes: 79 additions & 0 deletions trunk/distribution/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>cloudsim-package</artifactId>
<groupId>org.cloudbus.cloudsim</groupId>
<version>3.0.1</version>
</parent>
<artifactId>distribution</artifactId>
<packaging>pom</packaging>
<name>distribution</name>


<build>
<finalName>cloudsim-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cloudsim</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cloudsim</artifactId>
<version>${project.version}</version>
<type>jar</type>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cloudsim</artifactId>
<version>${project.version}</version>
<type>jar</type>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cloudsim-examples</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cloudsim-examples</artifactId>
<version>${project.version}</version>
<type>jar</type>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>documentation</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
</dependencies>

</project>
66 changes: 66 additions & 0 deletions trunk/distribution/src/main/assembly/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<assembly>
<id>package</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
</formats>
<dependencySets>
<dependencySet>
<outputDirectory>jars</outputDirectory>
<includes>
<include>${project.groupId}:cloudsim:jar</include>
<include>${project.groupId}:cloudsim:jar:sources</include>
<include>${project.groupId}:cloudsim-examples:jar</include>
<include>${project.groupId}:cloudsim-examples:jar:sources</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory>sources</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/</exclude>
</excludes>
</unpackOptions>
<includes>
<include>${project.groupId}:cloudsim:jar:sources</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory>examples</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/</exclude>
</excludes>
</unpackOptions>
<includes>
<include>${project.groupId}:cloudsim-examples:jar:sources</include>
</includes>
</dependencySet>
<dependencySet>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/</exclude>
</excludes>
</unpackOptions>
<outputDirectory>/</outputDirectory>
<includes>
<include>${project.groupId}:documentation</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory>docs</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/</exclude>
</excludes>
</unpackOptions>
<includes>
<include>${project.groupId}:cloudsim:jar:javadoc</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
10 changes: 10 additions & 0 deletions trunk/documentation/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>cloudsim-package</artifactId>
<groupId>org.cloudbus.cloudsim</groupId>
<version>3.0.1</version>
</parent>
<artifactId>documentation</artifactId>
<name>documentation</name>
</project>
81 changes: 81 additions & 0 deletions trunk/documentation/src/main/resources/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0"?>

<!--
July 2010
Build file or Makefile for CloudSim.
Note:
Make sure you have installed 'ant' and put the location of it into
your path so you can access it anywhere.
'ant' can be downloadable from http://ant.apache.org/
Usage:
* Type 'ant' to compile all cloudsim source files, put them into the
classes/ directory and to create a cloudsim-new.jar file in the jars/ directory
* Type 'ant clean' to delete all the compiled classes and the classes/
directory itself. The generated cloudsim-new.jar is not deleted.
Note:
* You need to set up PATH for ant in Windows and/or Unix.
Acknowledgement:
Thank to Uros Cibej for providing this file and instruction on
how to use it.
-->


<project name="CloudSim" basedir="." default="makejar">
<description>
This is the build file for CloudSim
</description>

<!-- location of libraries -->
<property name="classpath" location="./jars/flanagan.jar" />

<!-- location to store Java classes -->
<property name="class.dir" location="./classes" />

<!-- location to store CloudSim source files -->
<property name="src.dir" location="./sources" />

<!-- location to store jar files -->
<property name="jar.dir" location="./jars" />

<target name="prepare">
<mkdir dir="${class.dir}" />
</target>

<!-- rule to compile CloudSim source files -->
<target name="build" depends="prepare">
<javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}"
includeantruntime="false" />
</target>

<!-- Rule for making a jar file.
Note:
* The new jar file is named as "cloudsim-new.jar" to avoid overriding
the existing jar file.
* The new jar file only contains cloudsim classes only.
-->

<target name="makejar" depends="build">
<echo>Compiling a new jar file, named: "cloudsim-new.jar".</echo>
<echo>This jar file contains CloudSim classes only.</echo>
<jar destfile="${jar.dir}/cloudsim-new.jar" basedir="${class.dir}" />
</target>

<target name="clean" description="clean up" >
<delete dir="${class.dir}" />
</target>

</project>
Loading

0 comments on commit b38fc0a

Please sign in to comment.