<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
- <version>1.9.1</version>
<executions>
<execution>
<id>build.date</id>
<goal>timestamp-property</goal>
</goals>
<configuration>
+ <!-- Timestamp format: Thu Apr 8, 2021 -->
<name>build.date</name>
<pattern>E MMM d, YYYY</pattern>
<timeZone>America/Los_Angeles</timeZone>
<locale>en_US</locale>
- <!-- build.date: Monday Feb 4, 2019 -->
</configuration>
</execution>
<execution>
<goal>timestamp-property</goal>
</goals>
<configuration>
+ <!-- Timestamp format: Thursday Apr 8, 2021 at 20:20:16 PDT -->
<name>build.time</name>
- <!--
- <pattern>E MMM d, YYYY 'at' HH:MM:SS z</pattern>
- -->
<pattern>EEEE MMM d, yyyy 'at' HH:mm:ss z</pattern>
<timeZone>America/Los_Angeles</timeZone>
<locale>en_US</locale>
- <!-- build.time: Monday Feb 4, 2019 at 23:50:25 GMT -->
</configuration>
</execution>
<execution>
<goal>timestamp-property</goal>
</goals>
<configuration>
+ <!-- Timestamp format: 2021 -->
<name>build.year</name>
<pattern>YYYY</pattern>
<timeZone>America/Los_Angeles</timeZone>
<locale>en_US</locale>
- <!-- year: 2019 -->
</configuration>
</execution>
</executions>
<properties>
<revision>1.9.7.BUILD-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jdt.core.version>3.25.0-SNAPSHOT</jdt.core.version>
<lib.ant.version>1.6.3</lib.ant.version>
<lib.ant.xerces.version>2.6.2</lib.ant.xerces.version>
<module>bcel-builder</module>
<module>weaver</module>
<module>loadtime</module>
- <module>org.eclipse.jdt.core</module>
<module>org.aspectj.ajdt.core</module>
<module>ajde.core</module>
<module>ajde</module>
<artifactId>maven-help-plugin</artifactId>
<version>3.2.0</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>3.2.0</version>
+ <configuration>
+ <archive>
+ <addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test-jar</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <!-- TODO: upgrade after https://issues.apache.org/jira/browse/MSHADE-366 is fixed -->
+ <version>3.2.4</version>
+ <configuration>
+ <createSourcesJar>true</createSourcesJar>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <shadedArtifactAttached>false</shadedArtifactAttached>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.5.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.2.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.2.0</version>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- </configuration>
- <executions>
- <execution>
- <id>test-jar</id>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
- <version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<includes>
<include>**/ajcore.*.txt</include>
</includes>
-<!--
- <excludes>
- <exclude>**/important.log</exclude>
- <exclude>**/another-important.log</exclude>
- </excludes>
--->
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>aj-build</directory>
-<!--
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>.</directory>
<includes>
- <include>**/*.tmp</include>
- <include>**/*.log</include>
+ <include>**/ajcore.*.txt</include>
</includes>
- <excludes>
- <exclude>**/important.log</exclude>
- <exclude>**/another-important.log</exclude>
- </excludes>
--->
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ <fileset>
+ <directory>aj-build</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>