[Carbon-dev] Problem building trunk
Lahiru Gunathilake
lahiru at wso2.com
Wed Jul 29 23:55:48 PDT 2009
Hi Anjana,
Unless you build ode in 2.0 branch [1] you won't be able to build bpel
module in carbon-components. If you need to build a specific product its
quit easy to use -Dproduct option. Please have a look in to pom.xml in
carbon-components.
Ex: if your requirement is to build governance this is how you have to build
carbon-components
mvn clean install -Dproduct=greg
This won't build unwanted modules for governance which will save time for
you. Likewise you can find what are the other options for other product if
you go through the pom.xml.
[1] https://svn.wso2.org/repos/wso2/branches/carbon-platform/2.0/ode/
Lahiru
On Thu, Jul 30, 2009 at 11:33 AM, Anjana Fernando <anjana at wso2.com> wrote:
> Hello,
>
> I was building carbon-components, and I get the following message, where
> they cant find a dependency,
>
> Missing:
> ----------
> 1) org.apache.ode.wso2:ode:jar:2.1.0.SNAPSHOT-wso2v1
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.ode.wso2
> -DartifactId=ode -Dversion=2.1.0.SNAPSHOT-wso2v1 -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.apache.ode.wso2 -DartifactId=ode
> -Dversion=2.1.0.SNAPSHOT-wso2v1 -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.wso2.carbon:org.wso2.carbon.bpel:bundle:2.0.0.SNAPSHOT
> 2) org.apache.ode.wso2:ode:jar:2.1.0.SNAPSHOT-wso2v1
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.wso2.carbon:org.wso2.carbon.bpel:bundle:2.0.0.SNAPSHOT
>
> from the specified remote repositories:
> m2-snapshot-repository (
> http://people.apache.org/repo/m2-snapshot-repository),
> central (http://repo1.maven.org/maven2),
> wso2-maven2-repository (http://dist.wso2.org/maven2),
> apache-Incubating-repo (
> http://people.apache.org/repo/m2-incubating-repository),
> tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
> java.net (http://download.java.net/maven/1/),
> apache-repo (http://repo1.maven.org/maven2),
> ws-zones-repository (http://ws.zones.apache.org/repository2),
> pxe-repo (http://pxe.intalio.org/public/maven2),
> apache-maven2-repo (http://repo1.maven.org/maven2/)
>
> Cheers,
> Anjana.
>
>
> On Thu, Jul 30, 2009 at 10:25 AM, Chamara Silva <chamara at wso2.com> wrote:
>
>> carbon component nightly build fails under same issue
>>
>> regards,
>> Chamara
>>
>>
>> Ruwan Linton wrote:
>> > Samisa Abeysinghe wrote:
>> >
>> >> I went past caching problem by making it snapshot. Now there is
>> >> another problem with rules:
>> >>
>> > Seems like you haven't taken a svn update after I fixed the earlier
>> issue...
>> >
>> > Thanks,
>> > Ruwan
>> >
>> >> Missing:
>> >> ----------
>> >> 1) org.wso2.carbon.rule:org.wso2.carbon.rule.core:jar:1.0.0.SNAPSHOT
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.wso2.carbon.rule
>> >> -DartifactId=org.wso2.carbon.rule.core -Dversion=1.0.0.SNAPSHOT
>> >> -Dpackaging=jar -Dfile=/path/to/file
>> >>
>> >> Alternatively, if you host your own repository you can deploy the
>> >> file there:
>> >> mvn deploy:deploy-file -DgroupId=org.wso2.carbon.rule
>> >> -DartifactId=org.wso2.carbon.rule.core -Dversion=1.0.0.SNAPSHOT
>> >> -Dpackaging=jar -Dfile=/path/to/file -D
>> >> url=[url] -DrepositoryId=[id]
>> >>
>> >> Path to dependency:
>> >> 1)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.mediator:bundle:1.0.0.SNAPSHOT
>> >> 2)
>> >> org.wso2.carbon.rule:org.wso2.carbon.rule.core:jar:1.0.0.SNAPSHOT
>> >>
>> >> 2)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.engine.drools:jar:1.0.0.SNAPSHOT
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.wso2.carbon.rule
>> >> -DartifactId=org.wso2.carbon.rule.engine.drools
>> >> -Dversion=1.0.0.SNAPSHOT -Dpackaging=jar -Dfile=/path
>> >> /to/file
>> >>
>> >> Alternatively, if you host your own repository you can deploy the
>> >> file there:
>> >> mvn deploy:deploy-file -DgroupId=org.wso2.carbon.rule
>> >> -DartifactId=org.wso2.carbon.rule.engine.drools
>> >> -Dversion=1.0.0.SNAPSHOT -Dpackaging=jar -Dfile=/path/t
>> >> o/file -Durl=[url] -DrepositoryId=[id]
>> >>
>> >> Path to dependency:
>> >> 1)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.mediator:bundle:1.0.0.SNAPSHOT
>> >> 2)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.engine.drools:jar:1.0.0.SNAPSHOT
>> >>
>> >> 3)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.engine.jsr94:jar:1.0.0.SNAPSHOT
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.wso2.carbon.rule
>> >> -DartifactId=org.wso2.carbon.rule.engine.jsr94
>> >> -Dversion=1.0.0.SNAPSHOT -Dpackaging=jar -Dfile=/path/
>> >> to/file
>> >>
>> >> Alternatively, if you host your own repository you can deploy the
>> >> file there:
>> >> mvn deploy:deploy-file -DgroupId=org.wso2.carbon.rule
>> >> -DartifactId=org.wso2.carbon.rule.engine.jsr94
>> >> -Dversion=1.0.0.SNAPSHOT -Dpackaging=jar -Dfile=/path/to
>> >> /file -Durl=[url] -DrepositoryId=[id]
>> >>
>> >> Path to dependency:
>> >> 1)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.mediator:bundle:1.0.0.SNAPSHOT
>> >> 2)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.engine.jsr94:jar:1.0.0.SNAPSHOT
>> >>
>> >> 4) org.apache.synapse:synapse-core:jar:SNAPSHOT
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.apache.synapse
>> >> -DartifactId=synapse-core -Dversion=SNAPSHOT -Dpackaging=jar
>> >> -Dfile=/path/to/file
>> >>
>> >> Alternatively, if you host your own repository you can deploy the
>> >> file there:
>> >> mvn deploy:deploy-file -DgroupId=org.apache.synapse
>> >> -DartifactId=synapse-core -Dversion=SNAPSHOT -Dpackaging=jar
>> >> -Dfile=/path/to/file -Durl=[url] -Drepositor
>> >> yId=[id]
>> >>
>> >> Path to dependency:
>> >> 1)
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.mediator:bundle:1.0.0.SNAPSHOT
>> >> 2) org.apache.synapse:synapse-core:jar:SNAPSHOT
>> >>
>> >> ----------
>> >> 4 required artifacts are missing.
>> >>
>> >> for artifact:
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.mediator:bundle:1.0.0.SNAPSHOT
>> >>
>> >> from the specified remote repositories:
>> >> wso2-m2 (http://dist.wso2.org/maven2/),
>> >> apache-snapshots
>> >> (http://people.apache.org/repo/m2-snapshot-repository/),
>> >> JBoss-m2 (http://repository.jboss.com/maven2/),
>> >> central (http://repo1.maven.org/maven2)
>> >>
>> >>
>> >>
>> >> On Wed, Jul 29, 2009 at 6:55 PM, Samisa Abeysinghe <samisa at wso2.com
>> >> <mailto:samisa at wso2.com>> wrote:
>> >>
>> >> I am not done ye :)
>> >>
>> >> Now the caching is failing. Note that I have built commons caching
>> >>
>> >> Missing:
>> >> ----------
>> >> 1) org.wso2.caching:wso2caching-core:jar:3.1-SNAPSHOT
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.wso2.caching
>> >> -DartifactId=wso2caching-core -Dversion=3.1-SNAPSHOT
>> >> -Dpackaging=jar -Dfile=/path/to/file
>> >>
>> >> Alternatively, if you host your own repository you can deploy
>> >> the file there:
>> >> mvn deploy:deploy-file -DgroupId=org.wso2.caching
>> >> -DartifactId=wso2caching-core -Dversion=3.1-SNAPSHOT
>> >> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drep
>> >> ositoryId=[id]
>> >>
>> >> Path to dependency:
>> >> 1)
>> >> org.wso2.carbon:org.wso2.carbon.caching:bundle:2.0.0.SNAPSHOT
>> >> 2) org.wso2.caching:wso2caching-core:jar:3.1-SNAPSHOT
>> >>
>> >> 2) org.wso2.caching:wso2caching-mar:jar:3.1-SNAPSHOT
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.wso2.caching
>> >> -DartifactId=wso2caching-mar -Dversion=3.1-SNAPSHOT
>> >> -Dpackaging=jar -Dfile=/path/to/file
>> >>
>> >> Alternatively, if you host your own repository you can deploy
>> >> the file there:
>> >> mvn deploy:deploy-file -DgroupId=org.wso2.caching
>> >> -DartifactId=wso2caching-mar -Dversion=3.1-SNAPSHOT
>> >> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo
>> >> sitoryId=[id]
>> >>
>> >> Path to dependency:
>> >> 1)
>> >> org.wso2.carbon:org.wso2.carbon.caching:bundle:2.0.0.SNAPSHOT
>> >> 2) org.wso2.caching:wso2caching-mar:jar:3.1-SNAPSHOT
>> >>
>> >> ----------
>> >> 2 required artifacts are missing.
>> >>
>> >> for artifact:
>> >> org.wso2.carbon:org.wso2.carbon.caching:bundle:2.0.0.SNAPSHOT
>> >>
>> >> from the specified remote repositories:
>> >> wso2-maven2-repository (http://dist.wso2.org/maven2),
>> >> apache-Incubating-repo
>> >> (http://people.apache.org/repo/m2-incubating-repository),
>> >> apache-maven2-repo (http://repo1.maven.org/maven2/),
>> >> central (http://repo1.maven.org/maven2)
>> >>
>> >>
>> >> On Wed, Jul 29, 2009 at 6:20 PM, Ruwan Linton <ruwan at wso2.com
>> >> <mailto:ruwan at wso2.com>> wrote:
>> >>
>> >> There were few more issues on that...
>> >>
>> >> I have fixed them and svn up should work now. (Only tested
>> rules)
>> >>
>> >> Thanks,
>> >> Ruwan
>> >>
>> >> Isuru Suriarachchi wrote:
>> >> > Current rule-parent version is as follows..
>> >> >
>> >> > <version>1.0.0.SNAPSHOT</version>
>> >> >
>> >> > This should be 2.0.0.SNAPSHOT. It will fix this issue..
>> >> >
>> >> > Thanks,
>> >> > ~Isuru
>> >> >
>> >> >
>> >> > On Wed, Jul 29, 2009 at 5:36 PM, Samisa Abeysinghe
>> >> <samisa at wso2.com <mailto:samisa at wso2.com>
>> >> > <mailto:samisa at wso2.com <mailto:samisa at wso2.com>>> wrote:
>> >> >
>> >> > Now I get i for Rules :( I tried few hacks, but I am no
>> pom
>> >> > expert. Can someone please shed some light?
>> >> >
>> >> > Samisa...
>> >> >
>> >> > [INFO] Error building POM (may not be this project's
>> POM).
>> >> >
>> >> >
>> >> > Project ID:
>> >> >
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.core:bundle:2.0.0.SNAPSHOT
>> >> >
>> >> > Reason: Cannot find parent:
>> >> org.wso2.carbon.rule:rule-parent for
>> >> > project:
>> >> >
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.core:bundle:2.0.0.SNAPSHOT
>> >> > for project org.ws <http://org.ws> <http://org.ws>
>> >> >
>> .carbon.rule:org.wso2.carbon.rule.core:bundle:2.0.0.SNAPSHOT
>> >> >
>> >> >
>> >> > [INFO]
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > [INFO] Trace
>> >> > org.apache.maven.reactor.MavenExecutionException: Cannot
>> >> find
>> >> > parent: org.wso2.carbon.rule:rule-parent for project:
>> >> > org.wso2.carbon.rule:org.wso2.carbon.rule.cor
>> >> > bundle:2.0.0.SNAPSHOT for project
>> >> >
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.core:bundle:2.0.0.SNAPSHOT
>> >> > at
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>> >> > at
>> >> >
>> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
>> >> > at
>> >> >
>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> >> > at
>> >> org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>> >> > at
>> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> > at
>> >> >
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >> > at
>> >> >
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >> > at
>> java.lang.reflect.Method.invoke(Method.java:597)
>> >> > at
>> >> >
>> >>
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >> > at
>> >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >> > at
>> >> >
>> >>
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >> > at
>> >> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >> > Caused by:
>> >> org.apache.maven.project.ProjectBuildingException:
>> >> > Cannot find parent: org.wso2.carbon.rule:rule-parent for
>> >> project:
>> >> > org.wso2.carbon.rule:org.wso2.car
>> >> > n.rule.core:bundle:2.0.0.SNAPSHOT for project
>> >> >
>> >>
>> org.wso2.carbon.rule:org.wso2.carbon.rule.core:bundle:2.0.0.SNAPSHOT
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1369)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:820)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
>> >> > at
>> >> >
>> >> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>> >> > ... 11 more
>> >> > Caused by:
>> >> org.apache.maven.project.ProjectBuildingException: POM
>> >> > 'org.wso2.carbon.rule:rule-parent' not found in
>> >> repository: Unable
>> >> > to download the artifact fro
>> >> > any repository
>> >> >
>> >> > org.wso2.carbon.rule:rule-parent:pom:2.0.0.SNAPSHOT
>> >> >
>> >> > from the specified remote repositories:
>> >> > central (http://repo1.maven.org/maven2)
>> >> >
>> >> > for project org.wso2.carbon.rule:rule-parent
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1365)
>> >> > ... 19 more
>> >> > Caused by:
>> >> >
>> >> org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>> >> > Unable to download the artifact from any repository
>> >> >
>> >> > org.wso2.carbon.rule:rule-parent:pom:2.0.0.SNAPSHOT
>> >> >
>> >> > from the specified remote repositories:
>> >> > central (http://repo1.maven.org/maven2)
>> >> >
>> >> >
>> >> > at
>> >> >
>> >>
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)
>> >> > ... 20 more
>> >> > Caused by:
>> >> org.apache.maven.wagon.ResourceDoesNotExistException:
>> >> > Unable to download the artifact from any repository
>> >> > at
>> >> >
>> >>
>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
>> >> > ... 22 more
>> >> > [INFO]
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> >
>> >> > On Wed, Jul 29, 2009 at 4:48 PM, Isuru Suriarachchi
>> >> > <isuru at wso2.com <mailto:isuru at wso2.com>
>> >> <mailto:isuru at wso2.com <mailto:isuru at wso2.com>>> wrote:
>> >> >
>> >> >
>> >> >
>> >> > On Wed, Jul 29, 2009 at 4:43 PM, Ruwan Linton
>> >> <ruwan at wso2.com <mailto:ruwan at wso2.com>
>> >> > <mailto:ruwan at wso2.com <mailto:ruwan at wso2.com>>>
>> wrote:
>> >> >
>> >> > Tyrell Perera wrote:
>> >> > > Well actually we are planning on going with
>> 2.0.1
>> >> > branch. But the GS
>> >> > > specific components are developed in the trunk
>> >> so there
>> >> > versions
>> >> > > remain as 2.0.0.SNAPSHOT
>> >> > >
>> >> > Our pom files are wrong... either all of the pom
>> >> files has
>> >> > to carry the
>> >> > wso2-m2 repo or we cannot have the component
>> trunk
>> >> > referring to a
>> >> > released version of the parent.
>> >> >
>> >> >
>> >> > Yes. If any of the components in trunk needs a
>> released
>> >> > version as the parent, at least those should have to
>> >> repo in
>> >> > the pom.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > BTW: can we change the trunk versions to
>> >> 0.0.0.SNAPSHOT
>> >> > using the
>> >> > 2.0.0.SNAPSHOT as the trunk version is
>> >> technically incorrect.
>> >> >
>> >> >
>> >> > +1 for 0.0.0.SNAPSHOT. It is the best option we have.
>> >> >
>> >> > Thanks,
>> >> > ~Isuru
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Thanks,
>> >> > Ruwan
>> >> > >
>> >> > > Tyrell
>> >> > >
>> >> > > On Wed, Jul 29, 2009 at 4:30 PM, Isuru
>> >> > Suriarachchi<isuru at wso2.com
>> >> <mailto:isuru at wso2.com> <mailto:isuru at wso2.com
>> >> <mailto:isuru at wso2.com>>> wrote:
>> >> > >
>> >> > >> I think the next release which includes
>> dashboard
>> >> > component is planned to do
>> >> > >> on Carbon 2.0.0. That's why they have kept it
>> >> as 2.0.0.
>> >> > Tyrell is that the
>> >> > >> case?..
>> >> > >>
>> >> > >> So if that is the case, adding the repo into
>> >> the pom is
>> >> > the correct thing to
>> >> > >> do..
>> >> > >>
>> >> > >> Thanks,
>> >> > >> ~Isuru
>> >> > >>
>> >> > >>
>> >> > >> On Wed, Jul 29, 2009 at 3:29 PM, Samisa
>> >> Abeysinghe
>> >> > <samisa at wso2.com <mailto:samisa at wso2.com>
>> >> <mailto:samisa at wso2.com <mailto:samisa at wso2.com>>> wrote:
>> >> > >>
>> >> > >>> What is the right think to do? Change to
>> >> snapshot or
>> >> > change the repo?
>> >> > >>> Samisa...
>> >> > >>>
>> >> > >>> On Wed, Jul 29, 2009 at 3:26 PM, Ruwan Linton
>> >> > <ruwan at wso2.com <mailto:ruwan at wso2.com>
>> >> <mailto:ruwan at wso2.com <mailto:ruwan at wso2.com>>> wrote:
>> >> > >>>
>> >> > >>>> By looking at the error it seems to be due
>> >> to the
>> >> > fact that the
>> >> > >>>> governance component refers to the 2.0.0
>> >> version of
>> >> > the carbon parent as
>> >> > >>>> the parent.
>> >> > >>>>
>> >> > >>>> Please change the version to
>> >> 2.0.0.SNAPSHOT, or you
>> >> > could add the
>> >> > >>>> following section to the dashboard
>> >> component root pom.
>> >> > >>>>
>> >> > >>>> <repositories>
>> >> > >>>> </repository>
>> >> > >>>> <repository>
>> >> > >>>> <id>wso2-m2</id>
>> >> > >>>> <name>WSO2 Maven 2
>> >> Repository</name>
>> >> > >>>>
>> >> > <url>http://dist.wso2.org/maven2/</url>
>> >> > >>>> <releases>
>> >> > >>>>
>> >> <updatePolicy>never</updatePolicy>
>> >> > >>>> </releases>
>> >> > >>>> <snapshots>
>> >> > >>>>
>> >> > <updatePolicy>interval:60</updatePolicy>
>> >> > >>>> </snapshots>
>> >> > >>>> </repository>
>> >> > >>>> </repositories>
>> >> > >>>>
>> >> > >>>> Thanks,
>> >> > >>>> Ruwan
>> >> > >>>>
>> >> > >>>> Samisa Abeysinghe wrote:
>> >> > >>>>
>> >> > >>>>> I built orbit and then core successfully.
>> >> > >>>>>
>> >> > >>>>> Then when I try to build components, I get
>> the
>> >> > following, any clue on
>> >> > >>>>> what I may be doing wrong:
>> >> > >>>>>
>> >> > >>>>> [INFO] Scanning for projects...
>> >> > >>>>> Downloading:
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> http://repo1.maven.org/maven2/org/wso2/carbon/carbon-parent/2.0.0/carbon-parent-2.0.0.pom
>> >> > >>>>> [INFO]
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >>>>> [ERROR] FATAL ERROR
>> >> > >>>>> [INFO]
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >>>>> [INFO] Error building POM (may not be this
>> >> project's
>> >> > POM).
>> >> > >>>>>
>> >> > >>>>>
>> >> > >>>>> Project ID:
>> >> org.wso2.carbon:dashboard:pom:2.0.0.SNAPSHOT
>> >> > >>>>>
>> >> > >>>>> Reason: Cannot find parent:
>> >> > org.wso2.carbon:carbon-parent for project:
>> >> > >>>>>
>> >> org.wso2.carbon:dashboard:pom:2.0.0.SNAPSHOT for project
>> >> > >>>>> org.wso2.carbon:dashboard:pom:2.0.0
>> >> > >>>>> .SNAPSHOT
>> >> > >>>>>
>> >> > >>>>>
>> >> > >>>>> [INFO]
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >>>>> [INFO] Trace
>> >> > >>>>>
>> >> org.apache.maven.reactor.MavenExecutionException:
>> >> > Cannot find parent:
>> >> > >>>>> org.wso2.carbon:carbon-parent for project:
>> >> > >>>>>
>> >> org.wso2.carbon:dashboard:pom:2.0.0.SNAPSHOT for p
>> >> > >>>>> roject
>> >> org.wso2.carbon:dashboard:pom:2.0.0.SNAPSHOT
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
>> >> > >>>>> at
>> >> >
>> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> >> > >>>>> at
>> >> >
>> >> org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>> >> > >>>>> at
>> >> >
>> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >> > >>>>> at
>> >> > java.lang.reflect.Method.invoke(Method.java:597)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >>
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >> > >>>>> at
>> >> >
>> >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >>
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >> > >>>>> at
>> >> >
>> >> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >> > >>>>> Caused by:
>> >> >
>> >> org.apache.maven.project.ProjectBuildingException: Cannot
>> >> > >>>>> find parent: org.wso2.carbon:carbon-parent
>> >> for project:
>> >> > >>>>> org.wso2.carbon:dashboard:pom:2.0.0.SN
>> >> <http://2.0.0.SN>
>> >> > <http://2.0.0.SN> <http://2.0.0.SN>
>> >> > >>>>> APSHOT for project
>> >> > org.wso2.carbon:dashboard:pom:2.0.0.SNAPSHOT
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1369)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:820)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>> >> > >>>>> at
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>> >> > >>>>> ... 11 more
>> >> > >>>>> Caused by:
>> >> >
>> >> org.apache.maven.project.ProjectBuildingException: POM
>> >> > >>>>> 'org.wso2.carbon:carbon-parent' not found
>> in
>> >> > repository: Unable to
>> >> > >>>>> download the artifact from any
>> >> > >>>>> repository
>> >> > >>>>>
>> >> > >>>>> org.wso2.carbon:carbon-parent:pom:2.0.0
>> >> > >>>>>
>> >> > >>>>> from the specified remote repositories:
>> >> > >>>>> central (http://repo1.maven.org/maven2)
>> >> > >>>>>
>> >> > >>>>> for project org.wso2.carbon:carbon-parent
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1365)
>> >> > >>>>> ... 18 more
>> >> > >>>>> Caused by:
>> >> > >>>>>
>> >> >
>> >> org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>> >> > Unable
>> >> > >>>>> to download the artifact from any
>> repository
>> >> > >>>>>
>> >> > >>>>> org.wso2.carbon:carbon-parent:pom:2.0.0
>> >> > >>>>>
>> >> > >>>>> from the specified remote repositories:
>> >> > >>>>> central (http://repo1.maven.org/maven2)
>> >> > >>>>>
>> >> > >>>>>
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)
>> >> > >>>>> ... 19 more
>> >> > >>>>> Caused by:
>> >> >
>> >> org.apache.maven.wagon.ResourceDoesNotExistException:
>> >> > >>>>> Unable to download the artifact from any
>> >> repository
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)
>> >> > >>>>> at
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
>> >> > >>>>> ... 21 more
>> >> > >>>>> [INFO]
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >>>>> [INFO] Total time: 31 seconds
>> >> > >>>>> [INFO] Finished at: Wed Jul 29 14:09:00
>> >> IST 2009
>> >> > >>>>> [INFO] Final Memory: 48M/87M
>> >> > >>>>> [INFO]
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >>>>>
>> >> > >>>>> Thanks,
>> >> > >>>>> Samisa...
>> >> > >>>>>
>> >> > >>>>> --
>> >> > >>>>> Samisa Abeysinghe
>> >> > >>>>> Director, Engineering - WSO2 Inc.
>> >> > >>>>>
>> >> > >>>>> http://www.wso2.com/ - "The Open Source
>> >> SOA Company"
>> >> > >>>>>
>> >> > >>>>>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >>>>>
>> >> > >>>>>
>> >> _______________________________________________
>> >> > >>>>> Carbon-dev mailing list
>> >> > >>>>> Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org> <mailto:Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org>>
>> >> > >>>>>
>> >> >
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> > >>>>>
>> >> > >>>>>
>> >> > >>>> --
>> >> > >>>> Ruwan Linton
>> >> > >>>> Technical Lead & Product Manager; WSO2 ESB;
>> >> > http://wso2.org/esb
>> >> > >>>> WSO2 Inc.; http://wso2.org
>> >> > >>>> email: ruwan at wso2.com
>> >> <mailto:ruwan at wso2.com> <mailto:ruwan at wso2.com
>> >> <mailto:ruwan at wso2.com>>; cell:
>> >> > +94 77 341 3097
>> >> > >>>> blog: http://ruwansblog.blogspot.com
>> >> > >>>>
>> >> > >>>>
>> >> > >>>>
>> >> > >>>>
>> _______________________________________________
>> >> > >>>> Carbon-dev mailing list
>> >> > >>>> Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org> <mailto:Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org>>
>> >> > >>>>
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> > >>>>
>> >> > >>>
>> >> > >>> --
>> >> > >>> Samisa Abeysinghe
>> >> > >>> Director, Engineering - WSO2 Inc.
>> >> > >>>
>> >> > >>> http://www.wso2.com/ - "The Open Source SOA
>> >> Company"
>> >> > >>>
>> >> > >>>
>> _______________________________________________
>> >> > >>> Carbon-dev mailing list
>> >> > >>> Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org> <mailto:Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org>>
>> >> > >>>
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> > >>>
>> >> > >>>
>> >> > >>
>> _______________________________________________
>> >> > >> Carbon-dev mailing list
>> >> > >> Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org> <mailto:Carbon-dev at wso2.org
>> >> <mailto:Carbon-dev at wso2.org>>
>> >> > >>
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> > --
>> >> > Ruwan Linton
>> >> > Technical Lead & Product Manager; WSO2 ESB;
>> >> > http://wso2.org/esb
>> >> > WSO2 <http://wso2.org/esb%0AWSO2> Inc.;
>> >> http://wso2.org
>> >> > email: ruwan at wso2.com <mailto:ruwan at wso2.com>
>> >> <mailto:ruwan at wso2.com <mailto:ruwan at wso2.com>>; cell: +94
>> >> > 77 341 3097
>> >> > blog: http://ruwansblog.blogspot.com
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Carbon-dev mailing list
>> >> > Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>
>> >> <mailto:Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>>
>> >> >
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Carbon-dev mailing list
>> >> > Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>
>> >> <mailto:Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>>
>> >> >
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Samisa Abeysinghe
>> >> > Director, Engineering - WSO2 Inc.
>> >> >
>> >> > http://www.wso2.com/ - "The Open Source SOA Company"
>> >> >
>> >> > _______________________________________________
>> >> > Carbon-dev mailing list
>> >> > Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>
>> >> <mailto:Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>>
>> >> >
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> >
>> >> >
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> >
>> >> > _______________________________________________
>> >> > Carbon-dev mailing list
>> >> > Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>
>> >> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >> >
>> >>
>> >>
>> >> --
>> >> Ruwan Linton
>> >> Technical Lead & Product Manager; WSO2 ESB;
>> http://wso2.org/esb
>> >> WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
>> >> email: ruwan at wso2.com <mailto:ruwan at wso2.com>; cell: +94 77
>> >> 341 3097
>> >> blog: http://ruwansblog.blogspot.com
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Carbon-dev mailing list
>> >> Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Samisa Abeysinghe
>> >> Director, Engineering - WSO2 Inc.
>> >>
>> >> http://www.wso2.com/ - "The Open Source SOA Company"
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Samisa Abeysinghe
>> >> Director, Engineering - WSO2 Inc.
>> >>
>> >> http://www.wso2.com/ - "The Open Source SOA Company"
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >> _______________________________________________
>> >> Carbon-dev mailing list
>> >> Carbon-dev at wso2.org
>> >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
--
Lahiru Gunathilake
Software Engineer - WSO2 Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.wso2.org/pipermail/carbon-dev/attachments/20090730/f6421168/attachment-0001.htm
More information about the Carbon-dev
mailing list