Hi,
I could compile using the repository repo1.maven.org/eclipse
but later I found a problem. The plugins are in format pluginname-version
and in the eclipse plugins are in format pluginname_version.
because of change in plugin names my RCP didn't run. i still couldn't find
why the plugin jar name change affects it.
so currently I am building using ant without taking plugins from
respository.
But if you just want to have a look at how i compiled using maven, then here
is the part of the pom file-
<build>
<resources>
<resource>
<targetPath>icons/</targetPath>
<directory>icons/</directory>
<includes>
<include>**</include>
</includes>
</resource>
<resource>
<targetPath>/</targetPath>
<directory>${basedir}</directory>
<includes>
<include>plugin.xml</include>
<include>plugin.properties</include>
<include>META-INF/MANIFEST.MF</include>
</includes>
</resource>
</resources>
<finalName>${artifactId}_${version}</finalName>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>repo1.maven.org</id>
<name>Maven eclipse Repository</name>
<url>http://repo1.maven.org/eclipse</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>com.ibm.icu</artifactId>
<version>3.4.4</version>
<scope>compile</scope>
</dependency>
------------------
other dependencies
----------------
</dependencies>
<distributionManagement>
<status>deployed</status>
</distributionManagement>
<properties>
<topDirectoryLocation>../../</topDirectoryLocation>
</properties>
</project>
hope it helps
Bhupendra
On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
which maven plugin do you use for building your rcp application or eclipse
plugins? Do you have a sample pom.xml for me?
Best Regards,
Thorsten
>Thanks Tom,
>
>That was very helpful.
>
>Regards,
>Bhupendra
>
>
>On 12/2/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote:
>>
>> There is a Maven repository with the Eclipse bundles at
>> http://repo1.maven.org/eclipse/
>> I don't expect this to be around forever, but I guess it will
>> eventually be integrated in the central repository.
>>
>> On 12/2/06, Bhupendra Bhardwaj <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I have developed an eclipse RCP and it can run as an standalone
>> application.
>> > Now I need to do a maven build for it. This project will be part of
>> another
>> > open source project. As the eclipse plugins are not available in
maven
>> > repository, do I need to add those plugins like swt3.2.., jface3.2etc
>> etc
>> > in the repository?
>> > I know that eclipse doesn't ship these as seperate plugins.
>> > If the jars are available in maven repository, then I can just add
the
>> > dependency in the pom file, but for these eclipse plugin jars what
can
>> be
>> > done?
>> >
>> > any pointers in the right direction will be helpful.
>> >
>> > Regards,
>> > Bhupendra
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]