File tree Expand file tree Collapse file tree 7 files changed +33
-236
lines changed Expand file tree Collapse file tree 7 files changed +33
-236
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,21 @@ OO-atom project is designed on the following principles:
39
39
40
40
## Quick start with Maven
41
41
42
- Make your project parent from ` atom-starter ` .
42
+ Add ` atom-maven-plugin ` to your project's pom file:
43
43
44
44
```
45
- <parent>
46
- <groupId>com.pragmaticobjects.oo.atom</groupId>
47
- <artifactId>atom-starter</artifactId>
48
- <version>x.y.z</version>
49
- </parent>
45
+ <plugin>
46
+ <groupId>com.pragmaticobjects.oo.atom</groupId>
47
+ <artifactId>atom-maven-plugin</artifactId>
48
+ <version>x.y.z</version>
49
+ <executions>
50
+ <execution>
51
+ <goals>
52
+ <goal>generate-annotations</goal>
53
+ <goal>instrument</goal>
54
+ <goal>instrument-tests</goal>
55
+ </goals>
56
+ </execution>
57
+ </executions>
58
+ </plugin>
50
59
```
Original file line number Diff line number Diff line change 3
3
<modelVersion >4.0.0</modelVersion >
4
4
<parent >
5
5
<groupId >com.pragmaticobjects.oo.atom</groupId >
6
- <artifactId >atom-starter </artifactId >
6
+ <artifactId >oo-atom </artifactId >
7
7
<version >0.0.0-SNAPSHOT</version >
8
- <relativePath >../atom-starter</relativePath >
9
8
</parent >
10
9
<artifactId >atom-it</artifactId >
11
10
<packaging >tabularasa</packaging >
67
66
</execution >
68
67
</executions >
69
68
</plugin >
69
+ <plugin >
70
+ <groupId >com.pragmaticobjects.oo.atom</groupId >
71
+ <artifactId >atom-maven-plugin</artifactId >
72
+ <version >${project.version} </version >
73
+ <executions >
74
+ <execution >
75
+ <goals >
76
+ <goal >generate-annotations</goal >
77
+ <goal >instrument</goal >
78
+ <goal >instrument-tests</goal >
79
+ </goals >
80
+ </execution >
81
+ </executions >
82
+ </plugin >
70
83
</plugins >
71
84
</build >
72
85
</project >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
9
9
git checkout $( git rev-parse HEAD)
10
10
mvn versions:set " -DnewVersion=${TAG} "
11
- cd atom-starter
12
- mvn versions:set " -DnewVersion=${TAG} "
13
- mvn versions:set-property -Dproperty=atom.version " -DnewVersion=${TAG} "
14
- cd -
15
11
mvn clean deploy -Pextras,ossrh
16
12
git commit -am " [release] oo-atom-${TAG} "
17
13
git tag -f ${TAG}
Original file line number Diff line number Diff line change @@ -343,6 +343,9 @@ SOFTWARE.
343
343
<executions >
344
344
<execution >
345
345
<configuration >
346
+ <sourceDirectories >
347
+ <sourceDirectory >src/main/java</sourceDirectory >
348
+ </sourceDirectories >
346
349
<logViolationsToConsole >true</logViolationsToConsole >
347
350
<configLocation >checkstyle.xml</configLocation >
348
351
<encoding >UTF-8</encoding >
@@ -390,7 +393,6 @@ SOFTWARE.
390
393
</profiles >
391
394
<modules >
392
395
<module >atom-basis</module >
393
- <module >atom-starter</module >
394
396
<module >atom-maven-plugin</module >
395
397
<module >atom-it</module >
396
398
<!-- @todo #178 currently, atomizer is broken: really-executable-jar-maven-plugin doesn't support attaching external dependencies. Ustub the module after fixing or working around this issue.
You can’t perform that action at this time.
0 commit comments