Author: mgrigorov
Date: Sun Aug 21 10:58:04 2011
New Revision: 1159963

URL: http://svn.apache.org/viewvc?rev=1159963&view=rev
Log:
WICKET-3976 Hide internal sub-modules from users by not deploying them in Maven 
repositories


Modified:
    
wicket/trunk/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
    wicket/trunk/pom.xml
    wicket/trunk/testing/wicket-threadtest/pom.xml
    wicket/trunk/wicket-auth-roles/pom.xml
    wicket/trunk/wicket-core/pom.xml
    wicket/trunk/wicket-datetime/pom.xml
    wicket/trunk/wicket-devutils/pom.xml
    wicket/trunk/wicket-examples/pom.xml
    wicket/trunk/wicket-extensions/pom.xml
    wicket/trunk/wicket-guice/pom.xml
    wicket/trunk/wicket-ioc/pom.xml
    wicket/trunk/wicket-jmx/pom.xml
    wicket/trunk/wicket-objectssizeof-agent/pom.xml
    wicket/trunk/wicket-request/pom.xml
    wicket/trunk/wicket-spring/pom.xml
    wicket/trunk/wicket-util/pom.xml
    wicket/trunk/wicket-velocity/pom.xml
    wicket/trunk/wicket/pom.xml

Modified: 
wicket/trunk/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- 
wicket/trunk/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
 (original)
+++ 
wicket/trunk/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
 Sun Aug 21 10:58:04 2011
@@ -27,7 +27,7 @@
                <!--  WICKET DEPENDENCIES -->
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                        <version>${wicket.version}</version>
                </dependency>
                <!-- OPTIONAL DEPENDENCY

Modified: wicket/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/pom.xml (original)
+++ wicket/trunk/pom.xml Sun Aug 21 10:58:04 2011
@@ -263,10 +263,6 @@
                                <groupId>org.apache.wicket</groupId>
                                <artifactId>wicket</artifactId>
                                <version>${project.version}</version>
-                               <!-- It seems there is a bug in Maven (2.2.1 & 
3.0.1) and
-                               type 'pom' is not properly inherited. I.e. the
-                               dependency management doesn't work -->
-                               <type>pom</type>
                        </dependency>
                        <dependency>
                                <groupId>org.apache.wicket</groupId>
@@ -276,28 +272,49 @@
                        </dependency>
                        <dependency>
                                <groupId>org.apache.wicket</groupId>
+                               <artifactId>wicket-core</artifactId>
+                               <version>${project.version}</version>
+                               <classifier>sources</classifier>
+                               <scope>provided</scope>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.apache.wicket</groupId>
                                <artifactId>wicket-devutils</artifactId>
                                <version>${project.version}</version>
                                <type>jar</type>
                        </dependency>
-           <dependency>
-                <groupId>org.apache.wicket</groupId>
-                <artifactId>wicket-request</artifactId>
-                <version>${project.version}</version>
-                <type>jar</type>
-            </dependency>
+                       <dependency>
+                               <groupId>org.apache.wicket</groupId>
+                               <artifactId>wicket-request</artifactId>
+                               <version>${project.version}</version>
+                               <type>jar</type>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.apache.wicket</groupId>
+                               <artifactId>wicket-request</artifactId>
+                               <version>${project.version}</version>
+                               <classifier>sources</classifier>
+                               <scope>provided</scope>
+                       </dependency>
                        <dependency>
                                <groupId>org.apache.wicket</groupId>
                                <artifactId>wicket-extensions</artifactId>
                                <version>${project.version}</version>
                                <type>jar</type>
                        </dependency>
-            <dependency>
-                <groupId>org.apache.wicket</groupId>
-                <artifactId>wicket-util</artifactId>
-                <version>${project.version}</version>
-                <type>jar</type>
-            </dependency>
+                       <dependency>
+                               <groupId>org.apache.wicket</groupId>
+                               <artifactId>wicket-util</artifactId>
+                               <version>${project.version}</version>
+                               <type>jar</type>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.apache.wicket</groupId>
+                               <artifactId>wicket-util</artifactId>
+                               <version>${project.version}</version>
+                               <classifier>sources</classifier>
+                               <scope>provided</scope>
+                       </dependency>
                        <dependency>
                                <groupId>org.apache.wicket</groupId>
                                <artifactId>wicket-guice</artifactId>
@@ -618,6 +635,11 @@
                                        </configuration>
                                </plugin>
                                <plugin>
+                                       
<groupId>org.apache.maven.plugins</groupId>
+                                       
<artifactId>maven-deploy-plugin</artifactId>
+                                       <version>2.6</version>
+                               </plugin>
+                               <plugin>
                                        <inherited>true</inherited>
                                        
<groupId>org.apache.maven.plugins</groupId>
                                        
<artifactId>maven-compiler-plugin</artifactId>
@@ -772,23 +794,7 @@
                                <plugin>
                                        <groupId>org.apache.felix</groupId>
                                        
<artifactId>maven-bundle-plugin</artifactId>
-                                       <version>2.2.0</version>
-                                       <executions>
-                                               <execution>
-                                                       <id>bundle-manifest</id>
-                                                       
<phase>process-classes</phase>
-                                                       <goals>
-                                                               
<goal>manifest</goal>
-                                                       </goals>
-                                                       <configuration>
-                                                               <instructions>
-                                                                       
<Import-Package>org.apache.wicket*</Import-Package>
-                                                                       
<DynamicImport-Package>*</DynamicImport-Package>
-                                                                       
<_nouses>true</_nouses>
-                                                               </instructions>
-                                                       </configuration>
-                                               </execution>
-                                       </executions>
+                                       <version>2.3.4</version>
                                </plugin>
                                <plugin>
                                        
<groupId>org.apache.maven.plugins</groupId>

Modified: wicket/trunk/testing/wicket-threadtest/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/testing/wicket-threadtest/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/testing/wicket-threadtest/pom.xml (original)
+++ wicket/trunk/testing/wicket-threadtest/pom.xml Sun Aug 21 10:58:04 2011
@@ -35,7 +35,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-auth-roles/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-auth-roles/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-auth-roles/pom.xml (original)
+++ wicket/trunk/wicket-auth-roles/pom.xml Sun Aug 21 10:58:04 2011
@@ -38,7 +38,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-core/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-core/pom.xml (original)
+++ wicket/trunk/wicket-core/pom.xml Sun Aug 21 10:58:04 2011
@@ -86,6 +86,14 @@
                                        
<licenseLocation>${basedir}/../../../common/lib/clover.license</licenseLocation>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-deploy-plugin</artifactId>
+                               <configuration>
+                                       <skip>true</skip>
+                               </configuration>
+                       </plugin>
                </plugins>
        </build>
 </project>
+

Modified: wicket/trunk/wicket-datetime/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-datetime/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-datetime/pom.xml (original)
+++ wicket/trunk/wicket-datetime/pom.xml Sun Aug 21 10:58:04 2011
@@ -31,7 +31,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                        <version>${project.version}</version>
                </dependency>
                <dependency>

Modified: wicket/trunk/wicket-devutils/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-devutils/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-devutils/pom.xml (original)
+++ wicket/trunk/wicket-devutils/pom.xml Sun Aug 21 10:58:04 2011
@@ -40,7 +40,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-examples/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/pom.xml (original)
+++ wicket/trunk/wicket-examples/pom.xml Sun Aug 21 10:58:04 2011
@@ -32,7 +32,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-extensions/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-extensions/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-extensions/pom.xml (original)
+++ wicket/trunk/wicket-extensions/pom.xml Sun Aug 21 10:58:04 2011
@@ -36,7 +36,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-guice/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-guice/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-guice/pom.xml (original)
+++ wicket/trunk/wicket-guice/pom.xml Sun Aug 21 10:58:04 2011
@@ -36,7 +36,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-ioc/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-ioc/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-ioc/pom.xml (original)
+++ wicket/trunk/wicket-ioc/pom.xml Sun Aug 21 10:58:04 2011
@@ -36,7 +36,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                        <version>${project.version}</version>
                </dependency>
                <dependency>

Modified: wicket/trunk/wicket-jmx/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-jmx/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-jmx/pom.xml (original)
+++ wicket/trunk/wicket-jmx/pom.xml Sun Aug 21 10:58:04 2011
@@ -36,7 +36,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.wicket</groupId>

Modified: wicket/trunk/wicket-objectssizeof-agent/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-objectssizeof-agent/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-objectssizeof-agent/pom.xml (original)
+++ wicket/trunk/wicket-objectssizeof-agent/pom.xml Sun Aug 21 10:58:04 2011
@@ -34,7 +34,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                        <version>${project.version}</version>
                </dependency>
        </dependencies>

Modified: wicket/trunk/wicket-request/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-request/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-request/pom.xml (original)
+++ wicket/trunk/wicket-request/pom.xml Sun Aug 21 10:58:04 2011
@@ -41,4 +41,16 @@
          <version>${project.version}</version>
        </dependency>
   </dependencies>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-deploy-plugin</artifactId>
+                               <configuration>
+                                       <skip>true</skip>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
 </project>
+

Modified: wicket/trunk/wicket-spring/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-spring/pom.xml (original)
+++ wicket/trunk/wicket-spring/pom.xml Sun Aug 21 10:58:04 2011
@@ -36,7 +36,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                        <version>${project.version}</version>
                </dependency>
                <dependency>

Modified: wicket/trunk/wicket-util/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-util/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-util/pom.xml (original)
+++ wicket/trunk/wicket-util/pom.xml Sun Aug 21 10:58:04 2011
@@ -28,4 +28,16 @@
   <version>1.5-SNAPSHOT</version>
   <name>Wicket Util</name>
   <url>http://maven.apache.org</url>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
+

Modified: wicket/trunk/wicket-velocity/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-velocity/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket-velocity/pom.xml (original)
+++ wicket/trunk/wicket-velocity/pom.xml Sun Aug 21 10:58:04 2011
@@ -39,7 +39,7 @@
        <dependencies>
                <dependency>
                        <groupId>org.apache.wicket</groupId>
-                       <artifactId>wicket-core</artifactId>
+                       <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.velocity</groupId>

Modified: wicket/trunk/wicket/pom.xml
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket/pom.xml?rev=1159963&r1=1159962&r2=1159963&view=diff
==============================================================================
--- wicket/trunk/wicket/pom.xml (original)
+++ wicket/trunk/wicket/pom.xml Sun Aug 21 10:58:04 2011
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements. See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
   <modelVersion>4.0.0</modelVersion>
   <parent>
@@ -8,38 +24,176 @@
     <relativePath>../pom.xml</relativePath>
   </parent>
   <artifactId>wicket</artifactId>
-  <packaging>pom</packaging>
+  <packaging>bundle</packaging>
   <name>Wicket</name>
   <description>
-       A module that provides dependencies to all core submodules
-       needed to run Wicket application. This way Maven users can
-       depend only on this module without bothering that Wicket core depends 
on several modules.
+    A module that provides dependencies to all core submodules needed to run 
Wicket application.
+    This way Maven users can depend only on this module without bothering that 
Wicket core depends
+    on several modules. In addition this artifact adds OSGi headers to the new 
artifact making
+    Wicket usable in an OSGi container. Still, this artifact alone wouldn't do 
any magic in an
+    OSGi container without also adding org.apache.wicket/wicket-osgi
   </description>
   <dependencies>
     <dependency>
       <groupId>org.apache.wicket</groupId>
       <artifactId>wicket-core</artifactId>
-      <version>${project.parent.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-util</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-request</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-core</artifactId>
+      <classifier>sources</classifier>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-util</artifactId>
+      <classifier>sources</classifier>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-request</artifactId>
+      <classifier>sources</classifier>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-core</artifactId>
+      <scope>provided</scope>
+      <classifier>tests</classifier>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-util</artifactId>
+      <scope>provided</scope>
+      <classifier>tests</classifier>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-request</artifactId>
+      <scope>provided</scope>
+      <classifier>tests</classifier>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-core</artifactId>
+      <classifier>test-sources</classifier>
+      <scope>provided</scope>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-util</artifactId>
+      <classifier>test-sources</classifier>
+      <scope>provided</scope>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-request</artifactId>
+      <classifier>test-sources</classifier>
+      <scope>provided</scope>
+      <version>${project.version}</version>
     </dependency>
   </dependencies>
   <build>
-       <plugins>
-               <plugin>
-                       <!-- Do not create (and deploy) -tests.jar for this 
project -->
-                       <groupId>org.apache.maven.plugins</groupId>
-                       <artifactId>maven-jar-plugin</artifactId>
-                       <version>2.3.1</version>
-                       <executions>
-                               <execution>
-                                       <goals>
-                                               <goal>test-jar</goal>
-                                       </goals>
-                                       <configuration>
-                                               <skip>true</skip>
-                                       </configuration>
-                               </execution>
-                       </executions>
-               </plugin>
-       </plugins>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <appendAssemblyId>true</appendAssemblyId>
+          <tarLongFileMode>gnu</tarLongFileMode>
+          <outputDirectory>target</outputDirectory>
+          <finalName>${project.artifactId}-${project.version}</finalName>
+        </configuration>
+        <executions>
+          <execution>
+            <id>make-main-sources</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          <configuration>
+            <descriptors>
+              <descriptor>src/assembly/sources.xml</descriptor>
+            </descriptors>
+          </configuration>
+          </execution>
+          <execution>
+            <id>make-test-package</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/assembly/tests.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+          <execution>
+            <id>make-test-sources</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/assembly/test-sources.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>org.apache.wicket</Bundle-SymbolicName>
+            <Bundle-Name>Apache Wicket :: Framework Core</Bundle-Name>
+            <Import-Package>junit.framework;resolution:=optional, 
*</Import-Package>
+            
<Export-Package>org.apache.wicket.*;version=${project.version};-split-package:=merge-first</Export-Package>
+            
<Embed-Dependency>groupId=org.apache.wicket;classifier=!sources;inline=true</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <_nouses>true</_nouses>
+            <_failok>true</_failok>
+            <_removeheaders>Embed-Dependency,Embed-Transitive</_removeheaders>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <!-- Do not create -tests.jar for this project. It is created with 
maven-assembly-plugin -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <configuration>
+              <skip>true</skip>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
 </project>
+


Reply via email to