All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.pom.xml Maven / Gradle / Ivy

Go to download

This archetype is useful to quick start Cecilia applications, having a source tree template already filled.

There is a newer version: 2.1-start-8763
Show newest version
<?xml version="1.0"?>
<!-- 
	Template pom.xml for Cecilia applications.
	
	Edit it to better fit your needs.
-->
<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>${groupId}</groupId>
	<artifactId>${artifactId}</artifactId>
	<packaging>cecilia-application</packaging>
	<version>${version}</version>

	<!-- ================================================ -->
	<!--       REPOSITORIES                               -->
	<repositories>
		<repository>
			<id>objectweb-release</id>
			<name>ObjectWeb Maven Repository</name>
			<url>http://maven.objectweb.org/maven2</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>objectweb-snapshot</id>
			<name>ObjectWeb Maven Repository</name>
			<url>http://maven.objectweb.org/maven2-snapshot</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>daily</updatePolicy>
			</snapshots>
		</repository>
	</repositories>

	<!-- ================================================= -->
	<!--       PLUGIN REPOSITORIES                               -->
	<pluginRepositories>
		<pluginRepository>
			<id>objectweb-release</id>
			<name>ObjectWeb Maven Repository</name>
			<url>http://maven.objectweb.org/maven2</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>objectweb-snapshot</id>
			<name>ObjectWeb Maven Repository</name>
			<url>http://maven.objectweb.org/maven2-snapshot</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>daily</updatePolicy>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>

	<!-- ============================================================ -->
	<!--             PROPERTIES                                       -->
	<properties>
		<!-- directory which will contain the unpacked Cecilia apis and implementation -->
		<cecilia.src>
			${project.build.directory}/cecilia-dependencies
		</cecilia.src>
		<cecilia.version>@version@</cecilia.version>
		<ceciliaadl.plugin.version>@version@</ceciliaadl.plugin.version>
	</properties>
	<!-- ============================================================ -->

	<!-- ============================================================ -->
	<!--             DEPENDENCIES                                     -->
	<dependencies>
		<dependency>
			<groupId>org.objectweb.fractal.cecilia</groupId>
			<artifactId>cecilia-baselib</artifactId>
			<version>${cecilia.version}</version>
			<type>car</type>
		</dependency>
	</dependencies>
	<!-- ============================================================ -->

	<build>

		<!-- ========================================================== -->
		<!--                 PLUGINS                                    -->
		<plugins>

			<plugin>
				<groupId>org.objectweb.fractal.cecilia</groupId>
				<artifactId>maven-cecilia-plugin</artifactId>
				<version>${cecilia.version}</version>
				<extensions>true</extensions>
			</plugin>

			<!-- ==================================================== -->
			<!-- to invoke Cecilia ADL Launcher -->
			<plugin>
				<groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
				<artifactId>maven-ceciliaadl-plugin</artifactId>
				<version>${ceciliaadl.plugin.version}</version>
				<configuration>
					<adl>unix.boot.BootstrappedApplication(Main)</adl>
					<arguments>
						<parameter>
							<name>src-path</name>
							<value>${cecilia.src}</value>
						</parameter>
						<parameter>
							<name>exec-name</name>
							<value>main</value>
						</parameter>
						<parameter>
							<name>c-flags</name>
							<value>-g -c -Wall</value>
						</parameter>
					</arguments>
				</configuration>
			</plugin>
			<!-- ==================================================== -->
		</plugins>
	</build>


</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy