You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Shawn Wells <sh...@redhat.com> on 2015/06/29 23:14:14 UTC
build error: Failed to execute goal on project nifi-spark-receiver:
Could not resolve dependencies for project org.apache.nifi:nifi-spark-receiver:jar:0.2.0-incubating-SNAPSHOT
Receiving the following build error, looks like an artifact is missing
in the maven repo:
> [ERROR] Failed to execute goal on project nifi-spark-receiver: Could
> not resolve dependencies for project
> org.apache.nifi:nifi-spark-receiver:jar:0.2.0-incubating-SNAPSHOT:
> Could not find artifact com.esotericsoftware.minlog:minlog:jar:1.2 ->
> [Help 1]
> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR] mvn <goals> -rf :nifi-spark-receiver
Total maven noob here, but looks like the esotericsoftware artifact
isn't in the repo.
Working off the develop branch on https://github.com/apache/incubator-nifi/.
Using build guide @ http://nifi.incubator.apache.org/quickstart.html, aka:
1. Build the nifi parent. In the root dir of the source tree cd
to|nifi-parent|. Run|mvn clean install|
2. Build the nifi nar maven plugin. In the root dir of the source tree
cd to|nifi-nar-maven-plugin|. Run|mvn clean install|
3. Build the entire code base. In the root dir of the source tree cd
to|nifi|and run|mvn -T C2.0 clean install|You can tweak the maven
build settings as you like but the previous command will execute
with 2 threads per core.
Steps 1 (nifi-parent) and 2 (nifi-nar-maven-plugin) build fine.
Any pointers?
Re: build error: Failed to execute goal on project
nifi-spark-receiver: Could not resolve dependencies for project org.apache.nifi:nifi-spark-receiver:jar:0.2.0-incubating-SNAPSHOT
Posted by Joe Witt <jo...@gmail.com>.
Shawn
Great. Now you can also do the build faster using parallel builds with
mvn -T C2 clean install
...as an example.
Thanks
Joe
On Mon, Jun 29, 2015 at 5:38 PM, Shawn Wells <sh...@redhat.com> wrote:
>
>
> On 6/29/15 5:20 PM, Joe Witt wrote:
>>
>> Any chance your maven settings are pointing to a company / local
>> artifact repository? That dependency should be easily found as many
>> of us are building often. A good way to test this theory is to simply
>> remove your maven settings file and try rebuilding.
>
>
> Fresh dev VM, with just "yum install maven" (no plugins or special config).
>
> Interestingly, I blew away the repo and re-ran the mvn installs. Now
> everything works.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11:38.195s
> [INFO] Finished at: Mon Jun 29 17:36:41 EDT 2015
> [INFO] Final Memory: 162M/404M
> [INFO]
> ------------------------------------------------------------------------
Re: build error: Failed to execute goal on project nifi-spark-receiver:
Could not resolve dependencies for project org.apache.nifi:nifi-spark-receiver:jar:0.2.0-incubating-SNAPSHOT
Posted by Shawn Wells <sh...@redhat.com>.
On 6/29/15 5:20 PM, Joe Witt wrote:
> Any chance your maven settings are pointing to a company / local
> artifact repository? That dependency should be easily found as many
> of us are building often. A good way to test this theory is to simply
> remove your maven settings file and try rebuilding.
Fresh dev VM, with just "yum install maven" (no plugins or special config).
Interestingly, I blew away the repo and re-ran the mvn installs. Now
everything works.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11:38.195s
[INFO] Finished at: Mon Jun 29 17:36:41 EDT 2015
[INFO] Final Memory: 162M/404M
[INFO]
------------------------------------------------------------------------
Re: build error: Failed to execute goal on project
nifi-spark-receiver: Could not resolve dependencies for project org.apache.nifi:nifi-spark-receiver:jar:0.2.0-incubating-SNAPSHOT
Posted by Joe Witt <jo...@gmail.com>.
Shawn,
Any chance your maven settings are pointing to a company / local
artifact repository? That dependency should be easily found as many
of us are building often. A good way to test this theory is to simply
remove your maven settings file and try rebuilding.
Thanks
Joe
On Mon, Jun 29, 2015 at 5:14 PM, Shawn Wells <sh...@redhat.com> wrote:
> Receiving the following build error, looks like an artifact is missing in
> the maven repo:
>
>> [ERROR] Failed to execute goal on project nifi-spark-receiver: Could not
>> resolve dependencies for project
>> org.apache.nifi:nifi-spark-receiver:jar:0.2.0-incubating-SNAPSHOT: Could not
>> find artifact com.esotericsoftware.minlog:minlog:jar:1.2 -> [Help 1]
>> [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/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR] mvn <goals> -rf :nifi-spark-receiver
>
>
>
> Total maven noob here, but looks like the esotericsoftware artifact isn't in
> the repo.
>
> Working off the develop branch on https://github.com/apache/incubator-nifi/.
>
> Using build guide @ http://nifi.incubator.apache.org/quickstart.html, aka:
>
> 1. Build the nifi parent. In the root dir of the source tree cd
> to|nifi-parent|. Run|mvn clean install|
> 2. Build the nifi nar maven plugin. In the root dir of the source tree
> cd to|nifi-nar-maven-plugin|. Run|mvn clean install|
> 3. Build the entire code base. In the root dir of the source tree cd
> to|nifi|and run|mvn -T C2.0 clean install|You can tweak the maven
> build settings as you like but the previous command will execute
> with 2 threads per core.
>
> Steps 1 (nifi-parent) and 2 (nifi-nar-maven-plugin) build fine.
>
> Any pointers?