Skip to content

Commit

Permalink
feat: Configure AspectJ weaving with Portal Common Artifact - Meeds-i…
Browse files Browse the repository at this point in the history
…o/meeds#2417

This change will auto-configure for JAR maven modules the AOP Weave library to include.
  • Loading branch information
boubaker committed Sep 25, 2024
1 parent 5a9df84 commit a8fb19b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,46 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<!-- **************************************** -->
<exo.snapshots.repo.url>https://repository.exoplatform.org/content/repositories/meeds-snapshots</exo.snapshots.repo.url>
</properties>

<profiles>
<profile>
<id>aspectj-weave-portal-common</id>
<activation>
<property>
<name>packaging</name>
<value>jar</value>
</property>
<file>
<missing>src/main/resources/no-aop</missing>
</file>
</activation>
<dependencies>
<dependency>
<groupId>io.meeds.social</groupId>
<artifactId>social-component-api</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<configuration>
<aspectLibraries>
<aspectLibrary>
<groupId>io.meeds.portal</groupId>
<artifactId>portal.component.common</artifactId>
</aspectLibrary>
<aspectLibrary>
<groupId>io.meeds.social</groupId>
<artifactId>social-component-api</artifactId>
</aspectLibrary>
</aspectLibraries>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit a8fb19b

Please sign in to comment.