-
Notifications
You must be signed in to change notification settings - Fork 2
zhongdj/Lifecycle-StaticWeaver-maven-plugin
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
lifecycle has upgrade to 0.9.13 to support Spring compatibility, Please follow the follwing maven configuration. 1. define lifecycle.version and lifecycle.weaver.version <properties> <java.version>1.8</java.version> <lifecycle.version>0.9.13</lifecycle.version> <lifecycle.weaver.version>0.9.2</lifecycle.weaver.version> </properties> 2. add Lifecycle dependency <dependencies> <dependency> <groupId>net.imadz</groupId> <artifactId>Lifecycle</artifactId> <version>${lifecycle.version}</version> </dependency> </dependencies> 3. add lifecycle-static-weaving-maven-plugin plugin to weave code <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>net.imadz</groupId> <artifactId>lifecycle-static-weaving-maven-plugin</artifactId> <version>${lifecycle.weaver.version}</version> <executions> <execution> <goals> <goal>StaticWeave</goal> </goals> </execution> </executions> </plugin> </plugins> </build> 4. run mvn clean package to package jar
About
A maven plugin run at process classes phase to weave Lifecycle classes.
Resources
Stars
Watchers
Forks
Packages 0
No packages published