On Tue, Mar 27, 2012 at 1:30 PM, Kasun Gajasinghe <[email protected]> wrote:
> Hi,
>
> Doesn't just adding this plugin version to the service-stubs/pom.xml is
> enough? The child modules will pick it up then. If this is added to every
> single module in service-stubs, it'll make maintenance harder.
>
>
+1. Sounds a better approach. By committing the below, it will fix all the
version missing issues for builder-helper. Similarly, will have to add each
of the plugins used to the service-stubs/pom.xml, along with their version.
pradeeban@pradeeban:~/carbon/platform/service-stubs$ svn diff pom.xml
Index: pom.xml
===================================================================
--- pom.xml (revision 124073)
+++ pom.xml (working copy)
@@ -215,6 +215,16 @@
</dependencies>
</dependencyManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ </plugin>
+ </plugins>
+ </build>
+
<dependencies>
<dependency>
<groupId>wsdl4j.wso2</groupId>
Regards,
Pradeeban.
> On Tue, Mar 27, 2012 at 12:37 PM, Kathiravelu Pradeeban <
> [email protected]> wrote:
>
>> $Subject, noticed in the platform/service-stubs poms.
>>
>> Hence the repeating warnings as below during the build time.
>> [WARNING]
>> [WARNING] Some problems were encountered while building the effective
>> model for
>> org.wso2.carbon:org.wso2.carbon.admin.mgt.stub:bundle:4.0.0-SNAPSHOT
>> [WARNING] 'build.plugins.plugin.version' for
>> org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 65, column 21
>> [WARNING]
>> [WARNING] It is highly recommended to fix these problems because they
>> threaten the stability of your build.
>> [WARNING]
>> [WARNING] For this reason, future Maven versions might no longer support
>> building such malformed projects.
>> [WARNING]
>>
>> Can be fixed by adding the version (currently, 1.7) to the build-helper
>> plugin respectively, as below.
>>
>> Index: org.wso2.carbon.admin.mgt.stub/pom.xml
>> ===================================================================
>> --- org.wso2.carbon.admin.mgt.stub/pom.xml (revision 124006)
>> +++ org.wso2.carbon.admin.mgt.stub/pom.xml (working copy)
>> @@ -65,6 +65,7 @@
>> <plugin>
>> <groupId>org.codehaus.mojo</groupId>
>> <artifactId>build-helper-maven-plugin</artifactId>
>> *+ <version>1.7</version>
>> * <executions>
>> <execution>
>> <id>add-source</id>
>> <phase>generate-sources</phase>
>> <goals>
>> <goal>add-source</goal>
>> </goals>
>> <configuration>
>> <sources>
>> <source>
>> target/generated-code/src
>> </source>
>> </sources>
>> </configuration>
>> </execution>
>> </executions>
>> </plugin>
>>
>>
>> Thank you.
>> Regards,
>> Pradeeban.
>> --
>> Kathiravelu Pradeeban.
>> Software Engineer.
>> Cloud Technologies Team.
>> WSO2 Inc.
>>
>> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>> M: +94 776 477 976
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com
>
> ,
> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe*
> *
> *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org>
>
> *
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
> *
> *
>
>
--
Kathiravelu Pradeeban.
Software Engineer.
Cloud Technologies Team.
WSO2 Inc.
Blog: [Llovizna] http://kkpradeeban.blogspot.com/
M: +94 776 477 976
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev