AEM phonegap app with form | Community
Skip to main content
New Participant
October 16, 2015
Solved

AEM phonegap app with form

  • October 16, 2015
  • 6 replies
  • 3040 views

Hi,

Could you please provide inputs for the below.

My actual requirement  is I need to build a mobile app that has form as input and on submit gives a output similar to calculator using AEM 6.

  • For doing such a activity I am not sure what I must know. For creating a sample form in AEM6 using phonegap  do I need to know Angular js??
  • Do we have any sample  packages which has similar form which i could use for reference ??
  • Do you suggest any other AEM projects already built , i could use for the same??
  • I was trying out the sample app as mentioned at https://docs.adobe.com/docs/en/aem/6-0/develop/mobile/apps.html#Creating Apps ,on  kitchen sink app and found issues coming  while doing the build  below are the details. 

That is The kitchen sink app:
https://github.com/blefebvre/aem-phonegap-kitchen-sink


while running the  command the  mvn -PautoInstallPackage clean install 

it  throw me an error 

Downloading: http://repo.adobe.com/nexus/content/groups/public/com/brucelefebvre/phonegap-kitchen-sink/1.0-SNAPSHOT/phonegap-kitchen-sink-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.192s
[INFO] Finished at: Sat May 02 18:45:43 IST 2015 [INFO] Final Memory: 9M/154M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project phonegap-kitchen-sink-content: Could not resolve dependencies for project com.brucelefebvre:phonegap-kitchen-sink-content:content-package:1.0-SNAPSHOT: Failed to collect dependencies for [com.brucelefebvre:phonegap-kitchen-sink-bundle:jar:1.0-SNAPSHOT (compile)]: Failed to read artifact descriptor for com.brucelefebvre:phonegap-kitchen-sink-bundle:jar:1.0-SNAPSHOT: Could not transfer artifact com.brucelefebvre:phonegap-kitchen-sink:pom:1.0-SNAPSHOT from/to adobe (http://repo.adobe.com/nexus/content/groups/public/): Connection refused: no further information to http://repo.adobe.com/nexus/content/groups/public/com/brucelefebvre/phonegap-kitchen-sink/1.0-SNAPSHOT/phonegap-kitchen-sink-1.0-SNAPSHOT.pom -> [Help 1]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by brucelef

Looks like you may be missing the Karma test runner. You can specify the `skipTests` flag to skip tests altogether (see building section in README [0]):

mvn -PautoInstallPackage clean install -DskipTests

[0] https://github.com/blefebvre/aem-phonegap-kitchen-sink#building

6 replies

Employee
October 16, 2015

Hi,

Which directory are you running the `mvn` command from? Maven appears to be trying to download artifacts from the Adobe repository, which it will not find since they have not been released.

New Participant
October 16, 2015

Running it from aem-phonegap-kitchen-sink-master\content folder. What should i do to resolve the issue??

Employee
October 16, 2015

Can you try running it from the parent directory (aem-phonegap-kitchen-sink-master/ in your case)? This should enable the reactor and bundle to be built and installed to your local maven repository prior to building content/.

New Participant
October 16, 2015

Now it is throwing an error

[INFO] --- maven-karma-plugin:1.6:start (default) @ phonegap-kitchen-sink-content ---
[INFO] Executing Karma Test Suite ...
cmd /C D:\LocalData\Java\Workspace\kitchen-sink\kitchensink\content/../node_modules/karma/bin/karma start D:\LocalData\Java\Workspace\kitchen-sink\kitchensink\content\app.conf.js --single-run
The system cannot find the path specified. 
 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PhoneGap Kitchen Sink - Reactor Project ........... SUCCESS [0.242s]
[INFO] PhoneGap Kitchen Sink - Bundle .................... SUCCESS [2.528s]
[INFO] PhoneGap Kitchen Sink - Content ................... FAILURE [3.393s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.624s
[INFO] Finished at: Tue May 05 22:14:26 IST 2015
[INFO] Final Memory: 22M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.kelveden:maven-karma-plugin:1.6:start (default) on project phonegap-kitchen-sink-content: There were Karma test failures. -> [Help 1]
[ERROR] 

brucelefAccepted solution
Employee
October 16, 2015

Looks like you may be missing the Karma test runner. You can specify the `skipTests` flag to skip tests altogether (see building section in README [0]):

mvn -PautoInstallPackage clean install -DskipTests

[0] https://github.com/blefebvre/aem-phonegap-kitchen-sink#building

New Participant
October 16, 2015

Thanks it got built.Please could you also suggest what I can do for the below

 

My actual requirement  is I need to build a mobile app that has form as input to the user and on submit gives a output similar to calculator using AEM 6 

  • For doing such a activity I am not sure what I must know. For creating a sample form in AEM6 using phonegap  do I need to know Angular js??
  • Do we have any sample  packages which has similar form which i could use for reference ??
  • Where do i start exploring for this??