Refer service builder jar in many portlet in Liferay 6.2 using mavenRefer service builder jar in many portlet in Liferay 6.2 using mavenhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1124214412024-03-29T11:25:01Z2024-03-29T11:25:01ZRE: Refer service builder jar in many portlet in Liferay 6.2 using mavenAnji Ehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1124230322019-02-21T04:29:21Z2019-02-21T04:29:21ZHello David,<br /><br />Thanks a lot for your quick reply .... <br /><br />Its was a basic mistake from my end. I did not do the maven update for my project.<br />I did , now I could see the jar in maven dependency. <br /><br />Anji E2019-02-21T04:29:21ZRE: Refer service builder jar in many portlet in Liferay 6.2 using mavenDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1124227142019-02-21T04:21:38Z2019-02-21T04:21:38ZIt should not be there either at compile time nor runtime, there is nothing magical about service builder with respect to maven.<br /><br />Maven looks up and includes artifacts from a repository.<br /><br />To share your service jar, you need to publish it to a local repository. If you are a sole developer, you can just use the mvn install command to push the artifacts to the .m2 local cache. If you are a team, then you need a nexus or artifactory to be your local repository.<br /><br />David H Nebinger2019-02-21T04:21:38ZRefer service builder jar in many portlet in Liferay 6.2 using mavenAnji Ehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1124214402019-02-21T04:04:10Z2019-02-21T04:04:10ZHello All,<br /><br />Am trying to refer the service builder jar in other portlet module.<br /><br /><strong>project-a</strong><br /> project-a-portlet<br /> project-a-portlet-service.<br /><br /><br />in project <strong>project-b </strong>pom.xml i have provided below dependency.<br /> <br /> <dependency><br /> <groupId>some group id</groupId><br /> <artifactId>project-a-portlet-service</artifactId><br /> <version>1.0.0</version><br /> </dependency><br /> <br />I observed a strage behaviour. project-a-portlet-service.jar is including at runtime but not at compile time. <br />When I extract the <strong>project-b.war </strong>could see the<strong> </strong>project-a-portlet-service.jar in web-inf/lib folder. But