This is an automated email from the ASF dual-hosted git repository.

Harbs pushed a commit to branch codegraph
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/codegraph by this push:
     new 2913df9a9d Add codegraph profile and update assembly to include public 
API code graphs
2913df9a9d is described below

commit 2913df9a9d7e08bdff5d690cfa837d73c9e2d868
Author: Harbs <[email protected]>
AuthorDate: Sat Aug 1 22:20:47 2026 +0300

    Add codegraph profile and update assembly to include public API code graphs
---
 distribution/pom.xml                               | 36 ++++++++++++++++++++++
 .../src/main/assembly/component-royale.xml         |  9 ++++++
 2 files changed, 45 insertions(+)

diff --git a/distribution/pom.xml b/distribution/pom.xml
index 1a6558bba0..56bb93037b 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -45,6 +45,7 @@
     <assembly.bin>bin-without-swf.xml</assembly.bin>
     <assembly.dir>dir-without-swf.xml</assembly.dir>
     
<assembly.sdk-description>royale-sdk-description.xml</assembly.sdk-description>
+    
<codegraphs.directory>${project.build.directory}/no-codegraphs</codegraphs.directory>
   </properties>
 
   <modules>
@@ -674,6 +675,41 @@
   </dependencies>
 
   <profiles>
+    <profile>
+      <id>codegraphs</id>
+      <properties>
+        
<codegraphs.directory>${project.build.directory}/codegraphs</codegraphs.directory>
+      </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>3.1.0</version>
+            <executions>
+              <execution>
+                <id>stage-codegraphs</id>
+                <phase>prepare-package</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target>
+                    <ant antfile="${project.basedir}/../frameworks/build.xml"
+                         target="codegraph-index"
+                         inheritAll="false"/>
+                    <copy todir="${project.build.directory}/codegraphs">
+                      <fileset 
dir="${project.basedir}/../frameworks/target/codegraphs"/>
+                    </copy>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
     <profile>
       <id>apache-release</id>
       <build>
diff --git a/distribution/src/main/assembly/component-royale.xml 
b/distribution/src/main/assembly/component-royale.xml
index 3d324d7f77..a13311942e 100644
--- a/distribution/src/main/assembly/component-royale.xml
+++ b/distribution/src/main/assembly/component-royale.xml
@@ -261,6 +261,15 @@
             </includes>
         </fileSet>
 
+        <!-- Copy public API code graphs staged by the codegraphs profile -->
+        <fileSet>
+            <outputDirectory>frameworks/codegraphs</outputDirectory>
+            <directory>${codegraphs.directory}</directory>
+            <includes>
+                <include>**</include>
+            </includes>
+        </fileSet>
+
         <!-- Copy the js-projects -->
         <fileSet>
             <outputDirectory>frameworks/js/projects</outputDirectory>

Reply via email to