summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/pom.xml32
-rw-r--r--pom.xml27
2 files changed, 48 insertions, 11 deletions
diff --git a/base/pom.xml b/base/pom.xml
index 5f5b6be..e8c0288 100644
--- a/base/pom.xml
+++ b/base/pom.xml
@@ -7,7 +7,7 @@
<version>1.0.0</version>
</parent>
- <artifactId>dice-lang</artifactId>
+ <artifactId>dicelang-base</artifactId>
<packaging>jar</packaging>
<properties>
@@ -24,20 +24,30 @@
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
- <configuration>
- <executable>java</executable>
+ <executions>
+ <execution>
+ <!-- Run the program -->
+ <id>dicelang-console</id>
+
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>java</executable>
- <arguments>
- <argument>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n</argument>
- <argument>-classpath</argument>
+ <arguments>
+ <argument>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n</argument>
+ <argument>-classpath</argument>
- <classpath/>
+ <classpath/>
- <argument>${main.class}</argument>
- </arguments>
+ <argument>${main.class}</argument>
+ </arguments>
- <mainClass>${main.class}</mainClass>
- </configuration>
+ <mainClass>${main.class}</mainClass>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
diff --git a/pom.xml b/pom.xml
index decd74c..9953c8a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,8 +18,35 @@
<target>1.8</target>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.5.0</version>
+
+ <executions>
+ <execution>
+ <!-- Run ctags -->
+ <id>source tagging</id>
+ <phase>generate-sources</phase>
+
+ <goals>
+ <goal>exec</goal>
+ </goals>
+
+ <configuration>
+ <executable>ctags</executable>
+
+ <arguments>
+ <argument>-R</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
+
<modules>
<module>base</module>
<module>dice</module>