Yes I did.  When I run it from root I get this:

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.storm:storm-hdfs:0.9.2-incubating-SNAPSHOT
(/opt/incubator-storm/external/storm-hdfs/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.apache.storm:storm:pom:0.9.2-incubating-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 21, column 13 ->
[Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

The POM error its refering to is this:

 <dependency>
            <groupId>org.apache.storm</groupId>
            <artifactId>storm-core</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>

This is what lead me to try to build storm-core first

Thanks,
Naresh


On Tue, Aug 12, 2014 at 12:56 PM, Harsha <[email protected]> wrote:

> Hi Naresh,
>            Did you try building from the root dir of the project (ex:
>            incubator-storm, mvn clean install)
> -Harsha
>
> On Tue, Aug 12, 2014, at 08:01 AM, Naresh Kosgi wrote:
> > I recently pulled the storm source code and started trying to build it
> > locally just to hack around and hopefully I can start committing some
> > code.
> >  I'm running into a problem doing a build.
> >
> > 1. First I ran "mvn clean install" in the root directory and got a error
> > that storm-hdfs is missing the storm-core jar.
> > 2.  So I tried to build storm-core first and ran into the following
> > issue:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-shade-plugin:2.2:shade (default) on
> > project
> > storm-core: Execution default of goal
> > org.apache.maven.plugins:maven-shade-plugin:2.2:shade failed: Plugin
> > org.apache.maven.plugins:maven-shade-plugin:2.2 or one of its
> > dependencies
> > could not be resolved: Could not find artifact
> >
> org.apache.storm:maven-shade-clojure-transformer:jar:0.9.3-incubating-SNAPSHOT
> > in apache.snapshots (http://repository.apache.org/snapshots)
> >
> > I looked at the maven repo site and see that the SNAPSHOT is missing (
> >
> http://repository.apache.org/content/groups/snapshots/org/apache/storm/maven-shade-clojure-transformer/
> ).
> >  I see the 0.9.2 and 0.9.1 but the 0.9.3 is missing.  Am I missing a step
> > in doing the build or does a new jar needs to be placed in the remote
> > maven
> > repo?
> >
> > Naresh
>

Reply via email to