Updated the maven artifacts packaging

This commit is contained in:
Fedor Isakov 2015-12-28 10:35:40 +01:00
parent 2f38824ed5
commit 406c8c3af1
5 changed files with 36 additions and 23 deletions

View File

@ -18,13 +18,6 @@
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
<profile default="false" name="Annotation profile for Test" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="true" />
<module name="Test" />
</profile>
<profile default="false" name="Annotation profile for Core" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
@ -39,6 +32,13 @@
<processorPath useClasspath="true" />
<module name="API" />
</profile>
<profile default="false" name="Annotation profile for Test" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="true" />
<module name="Test" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="API" target="1.6" />

View File

@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>main</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-main</artifactId>
<version>0.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>api</artifactId>
<artifactId>memreactor-api</artifactId>
<packaging>jar</packaging>
<build>

View File

@ -5,19 +5,19 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>main</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-main</artifactId>
<version>0.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>core</artifactId>
<artifactId>memreactor-core</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>api</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-api</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>

View File

@ -5,8 +5,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>main</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-main</artifactId>
<version>0.1</version>
<relativePath>..</relativePath>
</parent>
@ -16,13 +16,13 @@
<dependencies>
<dependency>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>api</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-api</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>core</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>

View File

@ -11,8 +11,8 @@
<kotlin.version>1.0.0-beta-4583</kotlin.version>
</properties>
<groupId>jetbrains.mps.logic.reactor</groupId>
<artifactId>main</artifactId>
<groupId>jetbrains.mps.logic.memreactor</groupId>
<artifactId>memreactor-main</artifactId>
<version>0.1</version>
<packaging>pom</packaging>
@ -72,6 +72,19 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>