On Jun 20, 2007, at 9:10 PM, Paul Smith wrote:

I've been tweaking the jul-log4j-bridge pom to experiment with the distribution mechanism, and have placed a site and repo sample here:

http://people.apache.org/~psmith/logging.apache.org/

I'm not sure why the source distribution doesn't go with it. Any ideas appreciated.

Paul

You need to specify a maven-source-plugin in your builds section. Here is a section borrowed from the component's pom.xml.


Index: pom.xml
===================================================================
--- pom.xml     (revision 549346)
+++ pom.xml     (working copy)
@@ -126,6 +126,27 @@
                                        </executions>
                                </configuration>
                        </plugin>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <executions>
+            <execution>
+                <goals>
+                    <goal>jar</goal>
+                    <goal>javadoc</goal>
+                </goals>
+            </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+            <execution>
+                <goals>
+                    <goal>jar</goal>
+                </goals>
+            </execution>
+        </executions>
+      </plugin>
                </plugins>
        </build>
        <dependencies>

Reply via email to