Updated pom file to install dependencies upon clean rather than using
system reference
This commit is contained in:
parent
80c913a851
commit
1f13f73093
2 changed files with 94 additions and 35 deletions
|
|
@ -10,6 +10,97 @@
|
|||
<relativePath>../</relativePath>
|
||||
</parent>
|
||||
<packaging>jar</packaging>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Install dependencies to local repository -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-libSBOLj</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<file>${basedir}/../lib/libSBOLj-2.1.2-SNAPSHOT-withDependencies.jar</file>
|
||||
<repositoryLayout>default</repositoryLayout>
|
||||
<groupId>org.sbolstandard</groupId>
|
||||
<artifactId>libSBOLj</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>install-libsbmlj</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<file>${basedir}/../lib/libsbmlj.jar</file>
|
||||
<repositoryLayout>default</repositoryLayout>
|
||||
<groupId>org.sbml.libsbml</groupId>
|
||||
<artifactId>libsbml</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>install-jafama</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<file>${basedir}/../lib/jafama.jar</file>
|
||||
<repositoryLayout>default</repositoryLayout>
|
||||
<groupId>odk.lang</groupId>
|
||||
<artifactId>odk</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>install-flanagan</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<file>${basedir}/../lib/flanagan.jar</file>
|
||||
<repositoryLayout>default</repositoryLayout>
|
||||
<groupId>flanagan.math</groupId>
|
||||
<artifactId>flanagan</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>install-jlibsedml</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<file>${basedir}/../lib/jlibsedml.jar</file>
|
||||
<repositoryLayout>default</repositoryLayout>
|
||||
<groupId>org.jlibsedml</groupId>
|
||||
<artifactId>jlibsedml</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>ebi</id>
|
||||
|
|
@ -60,39 +151,31 @@
|
|||
<dependency>
|
||||
<groupId>org.sbolstandard</groupId>
|
||||
<artifactId>libSBOLj</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.sbml.libsbml</groupId>
|
||||
<artifactId>libsbml</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${basedir}/../lib/libsbmlj.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>odk.lang</groupId>
|
||||
<artifactId>odk</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${basedir}/../lib/jafama.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>flanagan.math</groupId>
|
||||
<artifactId>flanagan</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${basedir}/../lib/flanagan.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jlibsedml</groupId>
|
||||
<artifactId>jlibsedml</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${basedir}/../lib/jlibsedml.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
|||
28
pom.xml
28
pom.xml
|
|
@ -30,10 +30,10 @@
|
|||
</properties>
|
||||
|
||||
<modules>
|
||||
<module>frontend</module>
|
||||
<module>conversion</module>
|
||||
<module>dataModels</module>
|
||||
<module>conversion</module>
|
||||
<module>backend</module>
|
||||
<module>frontend</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
|
|
@ -88,30 +88,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Install dependencies to local repository -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-external</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<file>${basedir}/../lib/libSBOLj-2.1.2-SNAPSHOT-withDependencies.jar</file>
|
||||
<repositoryLayout>default</repositoryLayout>
|
||||
<groupId>org.sbolstandard</groupId>
|
||||
<artifactId>libSBOLj</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<!-- todo: add any other plugins needed here -->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue