You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Andrew Psaltis <ps...@gmail.com> on 2016/05/10 19:04:01 UTC

Re: Build error for the custom processor against 0.7.0-SNAPSHOT

Hi Kumiko,
I am not sure of the exact maven command you were using to generate the
archetype.  However when looking at the Maven repository here (
https://repo1.maven.org/maven2/org/apache/nifi/nifi-maven-archetypes/) I do
not see the 0.7.0-SNAPSHOT.  I may be mistaken, but I think the most recent
version is actually 0.6.1. Did you by chance build the maven archetypes
locally?


Thanks,
Andrew

On Tue, May 10, 2016 at 2:48 PM, Kumiko Yada <Ku...@ds-iq.com> wrote:

> Hello,
>
>
>
> I’m getting the following build error against 0.7.0-SNAPSHOT.  I also
> tried to create a new custom processor again for 0.7.0-SNAPSHOT and getting
> the same error.  Is this a known issue?
>
>
>
> Build error:
>
> [INFO] Scanning for projects...
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for xxxx:xxxxprocessors:1.0: Could not
> find artifact org.apache.nifi:nifi-nar-bundles:pom:0.7.0-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 19, column 13
>
> @
>
>
>
> Creating new processor error:
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 15.235 s
>
> [INFO] Finished at: 2016-05-10T11:42:03-07:00
>
> [INFO] Final Memory: 13M/219M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli)
> on project standalone-pom: The desired archetype does not exist
> (org.apache.nifi:nifi-processor-bundle-archetype:0.7.0-SNAPSHOT) -> [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/MojoFailureException
>
>
>
> Thanks
>
> Kumiko
>



-- 
Thanks,
Andrew

Subscribe to my book: Streaming Data <http://manning.com/psaltis>
<https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>

Re: Build error for the custom processor against 0.7.0-SNAPSHOT

Posted by Mark Payne <ma...@hotmail.com>.
We currently have the 'master' branch at 1.0.0-SNAPSHOT and a support branch at 0.7.0-SNAPSHOT.
However, unless I am mistaken, I do not believe we publish SNAPSHOT jars to the remote Maven repository.
Is it possible that you cleared your local maven repository and that's why you can't use the archetype?

I would recommend using version 0.6.1 of the archetype.

Thanks
-Mark

> On May 10, 2016, at 3:19 PM, Andrew Psaltis <ps...@gmail.com> wrote:
> 
> Hi Kumiko,
> Looking at the commits to the pom file for the maven archetypes, it appears that it was changed from 0.7.0-SNAPSHOT to 1.0.0-SNAPSHOT on April 4th. I am not sure when the 0.7.0-SNAPSHOT was removed from the maven repo. If you want to use the latest and greatest you can build this locally and do a mvn install. After that you will be able to use 1.0.0-SNAPSHOT and it will pull against your local maven repo.
> 
> 
> Thanks,
> Andrew
> 
> On Tue, May 10, 2016 at 3:10 PM, Kumiko Yada <Kumiko.Yada@ds-iq.com <ma...@ds-iq.com>> wrote:
> Hi Andrew,
> 
>  
> 
> I used the cmd “mvn archetype:generate” to generate the archetype.  Yes, I locally build the 0.7.0-SNAPSHOT.  Was the 0.7.0-SNAPSHOT deleted recently from Maven repository?  This was working fine for me until last Friday.
> 
>  
> 
> Thanks
> 
> Kumiko
> 
>  
> 
> From: Andrew Psaltis [mailto:psaltis.andrew@gmail.com <ma...@gmail.com>] 
> Sent: Tuesday, May 10, 2016 12:04 PM
> To: users@nifi.apache.org <ma...@nifi.apache.org>
> Cc: Ki Kang <Ki.Kang@ds-iq.com <ma...@ds-iq.com>>
> Subject: Re: Build error for the custom processor against 0.7.0-SNAPSHOT
> 
>  
> 
> Hi Kumiko,
> 
> I am not sure of the exact maven command you were using to generate the archetype.  However when looking at the Maven repository here (https://repo1.maven.org/maven2/org/apache/nifi/nifi-maven-archetypes/ <https://repo1.maven.org/maven2/org/apache/nifi/nifi-maven-archetypes/>) I do not see the 0.7.0-SNAPSHOT.  I may be mistaken, but I think the most recent version is actually 0.6.1. Did you by chance build the maven archetypes locally? 
> 
>  
> 
>  
> 
> Thanks,
> 
> Andrew
> 
>  
> 
> On Tue, May 10, 2016 at 2:48 PM, Kumiko Yada <Kumiko.Yada@ds-iq.com <ma...@ds-iq.com>> wrote:
> 
> Hello,
> 
>  
> 
> I’m getting the following build error against 0.7.0-SNAPSHOT.  I also tried to create a new custom processor again for 0.7.0-SNAPSHOT and getting the same error.  Is this a known issue?
> 
>  
> 
> Build error:
> 
> [INFO] Scanning for projects...
> 
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> 
> [FATAL] Non-resolvable parent POM for xxxx:xxxxprocessors:1.0: Could not find artifact org.apache.nifi:nifi-nar-bundles:pom:0.7.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 19, column 13
> 
> @
> 
>  
> 
> Creating new processor error:
> 
>  
> 
> [INFO] ------------------------------------------------------------------------
> 
> [INFO] BUILD FAILURE
> 
> [INFO] ------------------------------------------------------------------------
> 
> [INFO] Total time: 15.235 s
> 
> [INFO] Finished at: 2016-05-10T11:42:03-07:00
> 
> [INFO] Final Memory: 13M/219M
> 
> [INFO] ------------------------------------------------------------------------
> 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.apache.nifi:nifi-processor-bundle-archetype:0.7.0-SNAPSHOT) -> [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/MojoFailureException <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
>  
> 
> Thanks
> 
> Kumiko
> 
> 
> 
> 
>  
> 
> --
> 
> Thanks,
> 
> Andrew
> 
>  
> 
> Subscribe to my book: Streaming Data <http://manning.com/psaltis>
>  <https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
> twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>
> 
> 
> -- 
> Thanks,
> Andrew
> 
> Subscribe to my book: Streaming Data <http://manning.com/psaltis> <https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
> twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>


Re: Build error for the custom processor against 0.7.0-SNAPSHOT

Posted by Andrew Psaltis <ps...@gmail.com>.
Hi Kumiko,
Looking at the commits to the pom file for the maven archetypes, it appears
that it was changed from 0.7.0-SNAPSHOT to 1.0.0-SNAPSHOT on April 4th. I
am not sure when the 0.7.0-SNAPSHOT was removed from the maven repo. If you
want to use the latest and greatest you can build this locally and do a mvn
install. After that you will be able to use 1.0.0-SNAPSHOT and it will pull
against your local maven repo.


Thanks,
Andrew

On Tue, May 10, 2016 at 3:10 PM, Kumiko Yada <Ku...@ds-iq.com> wrote:

> Hi Andrew,
>
>
>
> I used the cmd “mvn archetype:generate” to generate the archetype.  Yes,
> I locally build the 0.7.0-SNAPSHOT.  Was the 0.7.0-SNAPSHOT deleted
> recently from Maven repository?  This was working fine for me until last
> Friday.
>
>
>
> Thanks
>
> Kumiko
>
>
>
> *From:* Andrew Psaltis [mailto:psaltis.andrew@gmail.com]
> *Sent:* Tuesday, May 10, 2016 12:04 PM
> *To:* users@nifi.apache.org
> *Cc:* Ki Kang <Ki...@ds-iq.com>
> *Subject:* Re: Build error for the custom processor against 0.7.0-SNAPSHOT
>
>
>
> Hi Kumiko,
>
> I am not sure of the exact maven command you were using to generate the
> archetype.  However when looking at the Maven repository here (
> https://repo1.maven.org/maven2/org/apache/nifi/nifi-maven-archetypes/) I
> do not see the 0.7.0-SNAPSHOT.  I may be mistaken, but I think the most
> recent version is actually 0.6.1. Did you by chance build the maven
> archetypes locally?
>
>
>
>
>
> Thanks,
>
> Andrew
>
>
>
> On Tue, May 10, 2016 at 2:48 PM, Kumiko Yada <Ku...@ds-iq.com>
> wrote:
>
> Hello,
>
>
>
> I’m getting the following build error against 0.7.0-SNAPSHOT.  I also
> tried to create a new custom processor again for 0.7.0-SNAPSHOT and getting
> the same error.  Is this a known issue?
>
>
>
> Build error:
>
> [INFO] Scanning for projects...
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for xxxx:xxxxprocessors:1.0: Could not
> find artifact org.apache.nifi:nifi-nar-bundles:pom:0.7.0-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 19, column 13
>
> @
>
>
>
> Creating new processor error:
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 15.235 s
>
> [INFO] Finished at: 2016-05-10T11:42:03-07:00
>
> [INFO] Final Memory: 13M/219M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli)
> on project standalone-pom: The desired archetype does not exist
> (org.apache.nifi:nifi-processor-bundle-archetype:0.7.0-SNAPSHOT) -> [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/MojoFailureException
>
>
>
> Thanks
>
> Kumiko
>
>
>
>
>
> --
>
> Thanks,
>
> Andrew
>
>
>
> Subscribe to my book: Streaming Data <http://manning.com/psaltis>
>
> <https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
>
> twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>
>



-- 
Thanks,
Andrew

Subscribe to my book: Streaming Data <http://manning.com/psaltis>
<https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>

RE: Build error for the custom processor against 0.7.0-SNAPSHOT

Posted by Kumiko Yada <Ku...@ds-iq.com>.
Hi Andrew,

I used the cmd “mvn archetype:generate” to generate the archetype.  Yes, I locally build the 0.7.0-SNAPSHOT.  Was the 0.7.0-SNAPSHOT deleted recently from Maven repository?  This was working fine for me until last Friday.

Thanks
Kumiko

From: Andrew Psaltis [mailto:psaltis.andrew@gmail.com]
Sent: Tuesday, May 10, 2016 12:04 PM
To: users@nifi.apache.org
Cc: Ki Kang <Ki...@ds-iq.com>
Subject: Re: Build error for the custom processor against 0.7.0-SNAPSHOT

Hi Kumiko,
I am not sure of the exact maven command you were using to generate the archetype.  However when looking at the Maven repository here (https://repo1.maven.org/maven2/org/apache/nifi/nifi-maven-archetypes/) I do not see the 0.7.0-SNAPSHOT.  I may be mistaken, but I think the most recent version is actually 0.6.1. Did you by chance build the maven archetypes locally?


Thanks,
Andrew

On Tue, May 10, 2016 at 2:48 PM, Kumiko Yada <Ku...@ds-iq.com>> wrote:
Hello,

I’m getting the following build error against 0.7.0-SNAPSHOT.  I also tried to create a new custom processor again for 0.7.0-SNAPSHOT and getting the same error.  Is this a known issue?

Build error:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for xxxx:xxxxprocessors:1.0: Could not find artifact org.apache.nifi:nifi-nar-bundles:pom:0.7.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 19, column 13
@

Creating new processor error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.235 s
[INFO] Finished at: 2016-05-10T11:42:03-07:00
[INFO] Final Memory: 13M/219M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.apache.nifi:nifi-processor-bundle-archetype:0.7.0-SNAPSHOT) -> [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/MojoFailureException

Thanks
Kumiko



--
Thanks,
Andrew

Subscribe to my book: Streaming Data<http://manning.com/psaltis>
[https://static.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png]<https://www.linkedin.com/pub/andrew-psaltis/1/17b/306>
twiiter: @itmdata<http://twitter.com/intent/user?screen_name=itmdata>