Skip to content

Commit

Permalink
Update build process
Browse files Browse the repository at this point in the history
  • Loading branch information
junwei-wang committed Mar 20, 2018
1 parent 179d5a3 commit 274606c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
4 changes: 3 additions & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Building CPABE


## Build
`mvn package`.
```
mvn package && script/mv_jars.sh
```

## Demo

Expand Down
2 changes: 1 addition & 1 deletion cpabe-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<dependency>
<groupId>co.junwei.cpabe</groupId>
<artifactId>cpabe-api</artifactId>
<version>${version}</version>
<version>${project.version}</version>
</dependency>
</dependencies>

Expand Down
18 changes: 0 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,6 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<inherited>false</inherited>
<executions>
<execution><!-- Run our version calculation script -->
<id>Version Calculation</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${project.basedir}/script/mv_jars.sh</executable>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 274606c

Please sign in to comment.