Skip to content

Commit

Permalink
NO JIRA. Fix the run*.sh and deploy script setup (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanmansum authored and rvanheest committed Dec 10, 2019
1 parent ee9810e commit 42aaa14
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 37 deletions.
2 changes: 1 addition & 1 deletion command/debug-init-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HOMEDIR=home
DATADIR=data

echo "Copying test data to $DATADIR..."
cp -r src/test/resources/deposits $DATADIR/deposits
cp -r ../lib/src/test/resources/dataset-bags $DATADIR/deposits

echo "Copying licenses to $HOMEDIR/cfg..."
mvn generate-resources
Expand Down
33 changes: 33 additions & 0 deletions command/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,38 @@
</plugins>
</build>
</profile>
<profile>
<id>stageDataset</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>stageFileItem</id>
<activation>
<property>
<name>stageFileItem</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<mainClass>nl.knaw.dans.easy.stage.command.fileitem.EasyStageFileItemCommand</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
36 changes: 0 additions & 36 deletions lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,40 +194,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>stageDataset</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>stageFileItem</id>
<activation>
<property>
<name>stageFileItem</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<mainClass>nl.knaw.dans.easy.stage.fileitem.EasyStageFileItem</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 42aaa14

Please sign in to comment.