i forgot, get rid of not used maven repositories that are maybe set up in
your settings.xml or pom. Use profiles for that if you need them for
different projects.

On Thu, Jan 15, 2009 at 2:34 PM, Toni Menzel <t...@okidokiteam.com> wrote:

> Hi David,
>
> actually, use idea.
> well apart from that, time is spend heavily on network requests (--offline
> helps when you don't rely on snapshots heavily, or if you build them
> yourself anyway)
>
> Then, probably splitting this up into maven profiles could help reducing
> the involved sub projects (if many).
>
> Can you measure the impact of tests run in builds ? maybe you can split out
> long running tests into a separate profile. (say, if you <would> use pax
> exam for integrationtests)
>
> Then, things like bnd are quite computation intense if you mash up many/big
> libraries into bundles. Probably a new computer (sounds poor recommendation
> but its true.. somehow)
>
> Maybe you got some tipps that you haven't tried?
> Can you give us some numbers so that we know what you consider "soooooooooo
> sloooooow" ?
>
> cheers.
> Toni
>
>
>
> On Thu, Jan 15, 2009 at 5:38 AM, David Leangen <op...@leangen.net> wrote:
>
>>
>> "Yo" to all,
>>
>> Question regarding maven build and OSGi stuff.
>>
>> I am now using maven-bundle-plugin along with maven-pax-plugin for
>> almost all my projects. It works great!
>>
>> My only complaint is that the build is soooooooooo sloooooow. The
>> culprit is mostly the generation of the manifests and the Eclipse stuff.
>>
>>
>> Any ideas how I could speed things up?
>>
>> What do peeps here usually do?
>>
>> (And no Eclipse wisecracks this time, please, I KNOW many of you think I
>> should switch to IDEA. ;-)
>>
>> Below are my plugin and pluginManagement sections of my master pom.
>>
>>
>> Thanks!
>> =David
>>
>>      <plugin>
>>        <groupId>org.ops4j</groupId>
>>        <artifactId>maven-pax-plugin</artifactId>
>>        <executions>
>>          <execution>
>>            <id>ide-support</id>
>>            <goals>
>>              <goal>eclipse</goal>
>>            </goals>
>>          </execution>
>>        </executions>
>>      </plugin>
>>
>>
>>    <pluginManagement>
>>      <plugins>
>>        <plugin>
>>          <groupId>org.apache.felix</groupId>
>>          <artifactId>maven-bundle-plugin</artifactId>
>>          <version>1.4.1</version>
>>          <extensions>true</extensions>
>>          <configuration>
>>            <instructions>
>>              <Bundle-DocURL>${pom.url}</Bundle-DocURL>
>>              <_include>osgi.bundle</_include>
>>              <Embed-Dependency>*;scope=compile|
>> runtime</Embed-Dependency>
>>            </instructions>
>>          </configuration>
>>        </plugin>
>>        <plugin>
>>          <groupId>org.ops4j</groupId>
>>          <artifactId>maven-pax-plugin</artifactId>
>>          <extensions>true</extensions>
>>          <version>1.3</version>
>>          <configuration>
>>            <classpathContainers>
>>
>>
>> <classpathContainer>org.eclipse.pde.core.requiredPlugins</classpathContainer>
>>              <classpathContainer>
>>
>>
>> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1
>> .5
>>              </classpathContainer>
>>            </classpathContainers>
>>          </configuration>
>>        </plugin>
>>        <plugin>
>>          <groupId>org.apache.felix</groupId>
>>          <artifactId>maven-obr-plugin</artifactId>
>>        </plugin>
>>      </plugins>
>>    </pluginManagement>
>>
>>
>>
>>
>> _______________________________________________
>> general mailing list
>> general@lists.ops4j.org
>> http://lists.ops4j.org/mailman/listinfo/general
>>
>
>
>
> --
> Toni Menzel
> Software Developer
> t...@okidokiteam.com
> http://www.ops4j.org     - New Energy for OSS Communities - Open
> Participation Software.
>



-- 
Toni Menzel
Software Developer
t...@okidokiteam.com
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to