Hi Srinath,
As of my observations, whenever something is reported as a WARNING by
maven, it takes some time, as warning indicates a bad practice. For
example, when the start-up warnings were fixed, we noticed an improvement
in the build.

Similarly, I feel, if we fix the issues that are reported in the middle of
the build, that will further improve the build time.
Just taking two examples.
1) Invalid POMs. [1].
2) No matching referrals [2].

By fixing these warnings at component levels, we can improve the build-time
further. Though, as a whole it looks a considerable effort, if we take care
of our own components, it should be an-easy-to fix to make the build
WARNING-free.

I will look more into this.

[1]
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.simpleconfigurator:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.util:jar:1.0.100.v20090520-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.ds:jar:1.1.0.v20090520-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.jsp.jasper:jar:1.0.200.v20090520-1800
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:javax.servlet.jsp:jar:2.0.0.v200806031607 is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.apache.jasper:jar:5.5.17.v200806031609 is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.apache.commons.el:jar:1.0.0.v200806031608 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.app:jar:1.2.0.v20090520-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.concurrent:jar:1.0.0.v20090520-1800
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.frameworkadmin:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.frameworkadmin.equinox:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.artifact.repository:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.core:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.director:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.director.app:jar:1.0.100.v20090521-1912
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.directorywatcher:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.engine:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.exemplarysetup:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.extensionlocation:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.garbagecollector:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.jarprocessor:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.metadata.generator:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.metadata:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.metadata.repository:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.reconciler.dropins:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.publisher:jar:1.0.0.v20090521-1912
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.repository.tools:jar:1.0.0.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.repository:jar:1.0.0.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.touchpoint.natives:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.updatechecker:jar:1.1.0.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.preferences:jar:3.2.300.v20090520-1800
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.security:jar:1.0.100.v20090520-1800
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.simpleconfigurator.manipulator:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.equinox:org.eclipse.equinox.p2.updatesite:jar:1.0.100.v20090520-1905
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.core:org.eclipse.core.commands:jar:3.5.0.I20090429-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.core:org.eclipse.core.contenttype:jar:3.4.0.v20090429-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.core:org.eclipse.core.expressions:jar:3.4.100.v20090429-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.core:org.eclipse.core.net:jar:1.2.0.I20090522-1010
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.core:org.eclipse.core.runtime.compatibility.auth:jar:3.2.100.v20090413
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.ecf:org.eclipse.ecf:jar:3.0.0.v20090520-0800 is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details
[WARNING] The POM for
org.eclipse.ecf:org.eclipse.ecf.filetransfer:jar:3.0.0.v20090520-0800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.ecf:org.eclipse.ecf.identity:jar:3.0.0.v20090520-0800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for
org.eclipse.ecf:org.eclipse.ecf.provider.filetransfer:jar:3.0.0.v20090520-0800
is invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for org.eclipse:org.sat4j.core:jar:2.1.0.v20090520 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for org.eclipse:org.sat4j.pb:jar:2.1.0.v20090520 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for org.eclipse:com.ibm.icu:jar:4.0.1.v20090415 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details


[2]
[INFO] --- maven-bundle-plugin:2.3.5:bundle (default-bundle) @
org.wso2.carbon.register.ui ---
[WARNING] Bundle
org.wso2.carbon:org.wso2.carbon.register.ui:bundle:1.1.0-SNAPSHOT : Did not
find matching referal for !javax.xml.namespace
[WARNING] Bundle
org.wso2.carbon:org.wso2.carbon.register.ui:bundle:1.1.0-SNAPSHOT : Did not
find matching referal for org.apache.lucene.*
[WARNING] Bundle
org.wso2.carbon:org.wso2.carbon.register.ui:bundle:1.1.0-SNAPSHOT : Did not
find matching referal for org.wso2.carbon.captcha.mgt.*


Thank you.
Regards,
Pradeeban.

On Mon, Apr 16, 2012 at 12:14 PM, Srinath Perera <srin...@wso2.com> wrote:

> Do we know what parts takes most time or possibilities of making it faster?
>
> I was trying to google around ..
>
> http://stackoverflow.com/questions/6681968/profiling-maven
> http://bosy.dailydev.org/2009/02/speed-up-your-maven-build-four-times.html
>
> But these links are specific cases only
>
> --Srinath
>
> --
> ============================
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Faculty, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>   Photos: http://www.flickr.com/photos/hemapani/
>  Phone: 0772360902
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Kathiravelu Pradeeban.
Software Engineer.
Cloud Technologies Team.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
M: +94 776 477 976
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to