Hello Daniel ,

I am trying to deploy appengine-web.xml and cron.yaml together PFB my 
pom.xml

<configuration>
        <deploy.project>portaldata</deploy.project>
        <deploy.promote>False</deploy.promote>
        <stage.enableJarClasses>true</stage.enableJarClasses>
        
<stage.stagingDirectory>${java.io.tmpdir}/appengine-staging</stage.stagingDirectory>
        <deployables>
            
<param>E:/git_Collection_Portal/Collections-app-server/JavaPortal-1/src/main/webapp/WEB-INF/appengine-web.xml</param>
            
<param>E:/git_Collection_Portal/Collections-app-server/JavaPortal-1/src/main/resources/cron.yaml</param>
        </deployables>
    </configuration>

i am facing issue while deploying above code via maven can you please help 
me with same 
*EXCEPTION:*
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 48.711 s
[INFO] Finished at: 2019-07-26T17:11:45+05:30
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.google.cloud.tools:appengine-maven-plugin:1.3.2:deploy (default-cli) on 
project JavaPortal-1: Execution default-cli of goal 
com.google.cloud.tools:appengine-maven-plugin:1.3.2:deploy failed: Non zero 
exit: 1 -> [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/PluginExecutionException

*Regards,*
*Mayuri *

On Wednesday, March 15, 2017 at 3:05:19 AM UTC+5:30, Daniel Garrido wrote:
>
> Hi all,
>
> I have tried to create a cron task using cron.xml file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cronentries>
>   <cron>
>     <url>/save</url>
>     <description>daily summary job</description>
>     <schedule>every 2 minutes</schedule>
>   </cron>
> </cronentries>
>
> When I deploy my app to app engine using Google Cloud Tools for Eclipse, 
> the cron task is not being created (it doesn't appear in the console).
>
> I tested the same example using the old Eclipse plugin and it worked.
>
> It seems that the cron.xml file is not being uploaded. Documentation (
> https://cloud.google.com/appengine/docs/standard/java/config/cron) says 
> that I have to upload cron tasks using appcfg. This is automatically 
> performed by the eclipse plugin.
>
> Finally, I used appcfg and the cron task was created.
>
> I am wondering if I can do the same using the new Google Cloud Tools in an 
> automatic way.
>
> Best regards,
> Daniel.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6f007ed2-9054-47b3-abcc-8fd36fdeb306%40googlegroups.com.
  • [google-appe... 'GCP Microloan' via Google App Engine
    • [google... 'Harmit Rishi (Cloud Platform Support)' via Google App Engine

Reply via email to