[
https://issues.jboss.org/browse/ISPN-1133?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1133:
----------------------------------------
Right, I've gone and done the following: I've taken all non-essential build
plugins which include:
- Enforcer
- Source Jar
- OSGI bundle (Apache Felix)
And put them on a active-by-default 'extras' profile. On top of that, I've
defined a property called 'packaging' that determines which packaging is built by
default which is 'bundle'.
Now, for all core developers out there, you can now speed up your builds by doing:
{code}mvn clean install -P-extras -Dpackaging=jar{code}
In fact, if you're only building jars and not testing, I'd suggest you get
yourself an alias set up for:
{code}mvn -Dmaven.test.skip.exec=true clean install -P-extras -Dpackaging=jar{code}
Basically, this stops the enforcer, stops creating source jar and avoids creating OSGI
bundles (instead creates just normal jars). For everyday activities in your own env,
you'll see a nice build speed up.
Core developer maven profile
----------------------------
Key: ISPN-1133
URL:
https://issues.jboss.org/browse/ISPN-1133
Project: Infinispan
Issue Type: Task
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Priority: Optional
Fix For: 5.0.0.CR4
It'd be nice to have a 'core-dev' profile in Maven that:
- Skips the enforcer plugin
- Skips generation of source jars
This would speed up builds in either continous build or our local envs.
Any more suggestions?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira