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

alien11689 pushed a commit to branch 
ARIES-2253-build-blueprint-bundle-with-sources-and-javadoc
in repository https://gitbox.apache.org/repos/asf/aries.git

commit d689e72f9e5e2b20a022a140d5e4107ddd49c68d
Author: Dominik Przybysz <[email protected]>
AuthorDate: Mon Nov 30 20:59:23 2026 +0100

    ARIES-2253: Inline deploy profile for blueprint-bundle into standard build
---
 blueprint/blueprint-bundle/pom.xml | 206 +++++++++++++++++--------------------
 1 file changed, 97 insertions(+), 109 deletions(-)

diff --git a/blueprint/blueprint-bundle/pom.xml 
b/blueprint/blueprint-bundle/pom.xml
index ddf766b9c..dfdd8399b 100644
--- a/blueprint/blueprint-bundle/pom.xml
+++ b/blueprint/blueprint-bundle/pom.xml
@@ -103,6 +103,7 @@
             true
         </aries.osgi.failok>
         <lastReleaseVersion>1.1.0</lastReleaseVersion>
+        <createSourcesJar>true</createSourcesJar>
 
         <asm.version>9.11.1</asm.version>
         <blueprint.cm.version>1.3.3-SNAPSHOT</blueprint.cm.version>
@@ -278,118 +279,105 @@
                     </instructions>
                 </configuration>
             </plugin>
-        </plugins>
-    </build>
-
-    <profiles>
-        <profile>
-            <id>deploy</id>
-            <properties>
-                <createSourcesJar>true</createSourcesJar>
-            </properties>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/*.java</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>unpack-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
                         <configuration>
-                            <excludes>
-                                <exclude>**/*.java</exclude>
-                            </excludes>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.osgi</groupId>
+                                    
<artifactId>org.osgi.service.blueprint</artifactId>
+                                    <classifier>sources</classifier>
+                                </artifactItem>
+                                <artifactItem>
+                                    
<groupId>org.apache.aries.blueprint</groupId>
+                                    
<artifactId>org.apache.aries.blueprint.core</artifactId>
+                                    <classifier>sources</classifier>
+                                </artifactItem>
+                                <artifactItem>
+                                    
<groupId>org.apache.aries.blueprint</groupId>
+                                    
<artifactId>org.apache.aries.blueprint.cm</artifactId>
+                                    <classifier>sources</classifier>
+                                </artifactItem>
+                            </artifactItems>
+                            
<outputDirectory>${project.build.directory}/sources</outputDirectory>
+                            
<excludes>**/META-INF/NOTICE*,**/META-INF/LICENSE*</excludes>
                         </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-dependency-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>unpack-sources</id>
-                                <phase>generate-sources</phase>
-                                <goals>
-                                    <goal>unpack</goal>
-                                </goals>
-                                <configuration>
-                                    <artifactItems>
-                                        <artifactItem>
-                                            <groupId>org.osgi</groupId>
-                                            
<artifactId>org.osgi.service.blueprint</artifactId>
-                                            <classifier>sources</classifier>
-                                        </artifactItem>
-                                        <artifactItem>
-                                            
<groupId>org.apache.aries.blueprint</groupId>
-                                            
<artifactId>org.apache.aries.blueprint.core</artifactId>
-                                            <classifier>sources</classifier>
-                                        </artifactItem>
-                                        <artifactItem>
-                                            
<groupId>org.apache.aries.blueprint</groupId>
-                                            
<artifactId>org.apache.aries.blueprint.cm</artifactId>
-                                            <classifier>sources</classifier>
-                                        </artifactItem>
-                                    </artifactItems>
-                                    
<outputDirectory>${project.build.directory}/sources</outputDirectory>
-                                    
<excludes>**/META-INF/NOTICE*,**/META-INF/LICENSE*</excludes>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>build-helper-maven-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>add-unpacked-sources-and-resources</id>
-                                <phase>generate-sources</phase>
-                                <goals>
-                                    <goal>add-source</goal>
-                                    <goal>add-resource</goal>
-                                </goals>
-                                <configuration>
-                                    <sources>
-                                        
<source>${project.build.directory}/sources</source>
-                                    </sources>
-                                    <resources>
-                                        <resource>
-                                            
<directory>${project.build.directory}/sources</directory>
-                                        </resource>
-                                    </resources>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-source-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>attach-sources</id>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>jar</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-javadoc-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>package</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>jar</goal>
-                                </goals>
-                            </execution>
-                        </executions>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-unpacked-sources-and-resources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                            <goal>add-resource</goal>
+                        </goals>
                         <configuration>
-                            <minmemory>128m</minmemory>
-                            <maxmemory>512m</maxmemory>
-                            
<sourcepath>${project.build.directory}/sources</sourcepath>
+                            <sources>
+                                
<source>${project.build.directory}/sources</source>
+                            </sources>
+                            <resources>
+                                <resource>
+                                    
<directory>${project.build.directory}/sources</directory>
+                                </resource>
+                            </resources>
                         </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>package</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <minmemory>128m</minmemory>
+                    <maxmemory>512m</maxmemory>
+                    <sourcepath>${project.build.directory}/sources</sourcepath>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
 </project>

Reply via email to