Skip to content

Commit 784217e

Browse files
committed
[#178] Removed atom-starter
1 parent 1fb79ca commit 784217e

File tree

7 files changed

+33
-236
lines changed

7 files changed

+33
-236
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,21 @@ OO-atom project is designed on the following principles:
3939

4040
## Quick start with Maven
4141

42-
Make your project parent from `atom-starter`.
42+
Add `atom-maven-plugin` to your project's pom file:
4343

4444
```
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>
5059
```

atom-it/pom.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
55
<groupId>com.pragmaticobjects.oo.atom</groupId>
6-
<artifactId>atom-starter</artifactId>
6+
<artifactId>oo-atom</artifactId>
77
<version>0.0.0-SNAPSHOT</version>
8-
<relativePath>../atom-starter</relativePath>
98
</parent>
109
<artifactId>atom-it</artifactId>
1110
<packaging>tabularasa</packaging>
@@ -67,6 +66,20 @@
6766
</execution>
6867
</executions>
6968
</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>
7083
</plugins>
7184
</build>
7285
</project>

atom-starter/pom.xml

Lines changed: 0 additions & 83 deletions
This file was deleted.

atomizer/pom.xml

Lines changed: 0 additions & 132 deletions
This file was deleted.

atomizer/src/templates/bootstrap.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ fi
88

99
git checkout $(git rev-parse HEAD)
1010
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 -
1511
mvn clean deploy -Pextras,ossrh
1612
git commit -am "[release] oo-atom-${TAG}"
1713
git tag -f ${TAG}

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ SOFTWARE.
343343
<executions>
344344
<execution>
345345
<configuration>
346+
<sourceDirectories>
347+
<sourceDirectory>src/main/java</sourceDirectory>
348+
</sourceDirectories>
346349
<logViolationsToConsole>true</logViolationsToConsole>
347350
<configLocation>checkstyle.xml</configLocation>
348351
<encoding>UTF-8</encoding>
@@ -390,7 +393,6 @@ SOFTWARE.
390393
</profiles>
391394
<modules>
392395
<module>atom-basis</module>
393-
<module>atom-starter</module>
394396
<module>atom-maven-plugin</module>
395397
<module>atom-it</module>
396398
<!-- @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.

0 commit comments

Comments
 (0)