Adding [Dev] to the subject. On Mon, Mar 10, 2014 at 2:42 PM, Rushmin Fernando <[email protected]> wrote:
> > Hi, > > When I tried to build the Student Manager sample which comes with Carbon > 4.2.0 binary, I got an error. > > The build of the 'WSO2 Carbon - Student Manager Server Feature' module > fails since the plugin 'org.wso2.maven:carbon-p2-plugin:1.5.3' cannot be > found. > > The reason is, maven tries to download the plugin from the maven central > repo [1] rather than from wso2 maven repo > > When I went trough the top level pom of the project (WSO2 Carbon - student > Manager Sample) only a dependency repo has been defined, but not a plugin > repo. > > The inclusion of the following plugin repo definition solved the issue. > > <pluginRepositories> > <pluginRepository> > <id>wso2-nexus-plugin</id> > <name>WSO2 Plugin Repository</name> > <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url> > <releases> > <enabled>true</enabled> > <updatePolicy>daily</updatePolicy> > <checksumPolicy>ignore</checksumPolicy> > </releases> > </pluginRepository> > </pluginRepositories> > > > Any reasons for why the plugin repo definition is not included in the pom ? > > [1] - http://repo.maven.apache.org/maven2 > > Thank you > -- > Rushmin Fernando > Technical Lead > Mobile : +94772310855 > -- Rushmin Fernando Technical Lead Mobile : +94772310855
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
