Attaching Source

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Attaching Source

Ming Fang
Please consider attaching the Karaf source to the Maven Repository.
This will enable tools such as Intellij to automatically download the source code for Karaf.
Having the source is invaluable for both learning Karaf and when stepping thru code.
Below is what I usually put in my main pom.xml

            <!--attach source-->
                <plugin>
                    <artifactId>maven-source-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>attach-sources</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

--ming
Reply | Threaded
Open this post in threaded view
|

Re: Attaching Source

Andreas Pieber
The code is already added AFAIK (take a look at e.g. [1])

kind regards,
andreas

[1] http://repo1.maven.org/maven2/org/apache/karaf/org.apache.karaf.main/2.1.0/

On Sun, Oct 03, 2010 at 11:52:57PM -0400, Ming Fang wrote:

> Please consider attaching the Karaf source to the Maven Repository.
> This will enable tools such as Intellij to automatically download the source code for Karaf.
> Having the source is invaluable for both learning Karaf and when stepping thru code.
> Below is what I usually put in my main pom.xml
>
>             <!--attach source-->
>                 <plugin>
>                     <artifactId>maven-source-plugin</artifactId>
>                     <executions>
>                         <execution>
>                             <id>attach-sources</id>
>                             <goals>
>                                 <goal>jar</goal>
>                             </goals>
>                         </execution>
>                     </executions>
>                 </plugin>
>
> --ming

attachment0 (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Attaching Source

Ming Fang
Ah, yes I see it being done by the apache-release profile in apache pom.
Thanks for pointing it out.

On Oct 4, 2010, at 12:20 AM, Andreas Pieber wrote:

> The code is already added AFAIK (take a look at e.g. [1])
>
> kind regards,
> andreas
>
> [1] http://repo1.maven.org/maven2/org/apache/karaf/org.apache.karaf.main/2.1.0/
>
> On Sun, Oct 03, 2010 at 11:52:57PM -0400, Ming Fang wrote:
>> Please consider attaching the Karaf source to the Maven Repository.
>> This will enable tools such as Intellij to automatically download the source code for Karaf.
>> Having the source is invaluable for both learning Karaf and when stepping thru code.
>> Below is what I usually put in my main pom.xml
>>
>>            <!--attach source-->
>>                <plugin>
>>                    <artifactId>maven-source-plugin</artifactId>
>>                    <executions>
>>                        <execution>
>>                            <id>attach-sources</id>
>>                            <goals>
>>                                <goal>jar</goal>
>>                            </goals>
>>                        </execution>
>>                    </executions>
>>                </plugin>
>>
>> --ming