Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Maven Settings.xml

Avatar

Level 1

I was going thru the tutorial for AEM Backend development workshop by James Talbot.I was looking into installing and configuring eclipse under the first module.I did not find the Company project specific settings.xml in the tutorial in the code snippets. Can you please send the settings.xml file or give me directions to see where it is available.

 

srivarsha.mpt@gmail.com

1 Accepted Solution

Avatar

Correct answer by
Employee
10 Replies

Avatar

Correct answer by
Employee

Avatar

Level 2

Opkar several months later and the training site is still wrong. The necessary file is not included in the training site. Please have it added there - chasing down 20 different locations to even start the most basic training tutorials is incredibly frustrating.

Avatar

Level 10

In all AEM Community articles - such as:

Creating your first AEM Service using an Adobe Maven Archetype project

we always list the settings.xml file so people can easily find it. This XML file is in this article. 

Hope this helps.  

Avatar

Level 2

Yes - the 6.0 backend developer workshop: http://www.adobesolutionpartnertraining.com/#/courses/course/66941

The Resources/Download package does not contain the settings.xml file (though James' video description say that the necessary file is "attached to this video").

 

I only found it by coming here (because he mentions to go find help in the forums, although it took me a while to find these forums) and then finding this thread with a link to the Maven Archectype page you are referencing. That's an inanely long series of steps to find a file that should have been in the Resources/Downloads training package to begin with.

Avatar

Level 10

If you not familiar with these forums or the other community resources - i also recommend that you look here:

https://helpx.adobe.com/marketing-cloud/experience-manager.html

You will find  a lot of AEM How TO articles to assist you in developing with AEM. These are all community  articles where many have been sourced and tested by our AEM community and Adobe people. 

As I mentioned - in all AEM community articles that deal with OSGi bundles - we include settings.xml file to make it easier.

Avatar

Level 2

Yes I understand there are other resources... my point is that the Training resources need to to fixed. For many devs new to AEM or new to 6.1, the training videos will be their first point of entry and the information that is supposedly in that resources package provide with the videos is missing this key piece.

Avatar

Level 10

I passed this information to James to get fixed - thank you for pointing that out to us. 

Thanks,

Scott

Avatar

Level 3

settings.xml is still not attached to Adobe Experience Manager 6.1: Back-end Developer Workshop .

Kindly Attach.

Avatar

Level 3

amanagarwal wrote...

settings.xml is still not attached to Adobe Experience Manager 6.1: Back-end Developer Workshop .

Kindly Attach.

 

Also, I am getting the following err when trying to run command ... mvn clean install -P full

C:\videoTraining\company-project>
C:\videoTraining\company-project>mvn clean  install -P full
[INFO] Scanning for projects...
Downloading: http://repo.adobe.com/nexus/content/groups/public/org/apache/felix/
maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.pom
Downloading: https://repo.adobe.com/nexus/content/groups/public/org/apache/felix
/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.pom
Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-
plugin/2.5.3/maven-bundle-plugin-2.5.3.pom
Downloading: http://repo.adobe.com/nexus/content/groups/public/com/day/jcr/vault
/content-package-maven-plugin/0.0.24/content-package-maven-plugin-0.0.24.pom
Downloading: https://repo.adobe.com/nexus/content/groups/public/com/day/jcr/vaul
t/content-package-maven-plugin/0.0.24/content-package-maven-plugin-0.0.24.pom
Downloading: https://repo.maven.apache.org/maven2/com/day/jcr/vault/content-pack
age-maven-plugin/0.0.24/content-package-maven-plugin-0.0.24.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plug
in:2.5.3 or one of its dependencies could not be resolved: Failed to read artifa
ct descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.3 @
[ERROR] Unknown packaging: bundle @ company-project:company-project.core:[unknow
n-version], C:\videoTraining\company-project\core\pom.xml, line 27, column 16
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-
maven-plugin:0.0.24 or one of its dependencies could not be resolved: Failed to
read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:
0.0.24 @
[ERROR] Unknown packaging: content-package @ company-project:company-project.ui.
apps:[unknown-version], C:\videoTraining\company-project\ui.apps\pom.xml, line 3
4, column 16
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-
maven-plugin:0.0.24 or one of its dependencies could not be resolved: Failed to
read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:
0.0.24 @
[ERROR] Unknown packaging: content-package @ company-project:company-project.ui.
content:[unknown-version], C:\videoTraining\company-project\ui.content\pom.xml,
line 34, column 16
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plug
in:2.5.3 or one of its dependencies could not be resolved: Failed to read artifa
ct descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.3 @
[ERROR] Unknown packaging: bundle @ company-project:company-project.it.tests:[un
known-version], C:\videoTraining\company-project\it.tests\pom.xml, line 34, colu
mn 16
 @
[ERROR] The build could not read 4 projects -> [Help 1]
[ERROR]
[ERROR]   The project company-project:company-project.core:1.0-SNAPSHOT (C:\vide
oTraining\company-project\core\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-
plugin:2.5.3 or one of its dependencies could not be resolved: Failed to read ar
tifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.3: Could not
transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.5.3 from/to adobe (
http://repo.adobe.com/nexus/content/groups/public/): Connect to repo.adobe.com:8
0 [repo.adobe.com/193.104.215.101] failed: Connection timed out: connect -> [Hel
p 2]
[ERROR]     Unknown packaging: bundle @ company-project:company-project.core:[un
known-version], C:\videoTraining\company-project\core\pom.xml, line 27, column 1
6
[ERROR]
[ERROR]   The project company-project:company-project.ui.apps:1.0-SNAPSHOT (C:\v
ideoTraining\company-project\ui.apps\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-pack
age-maven-plugin:0.0.24 or one of its dependencies could not be resolved: Failed
 to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:
jar:0.0.24: Could not transfer artifact com.day.jcr.vault:content-package-maven-
plugin:pom:0.0.24 from/to adobe (http://repo.adobe.com/nexus/content/groups/publ
ic/): Connect to repo.adobe.com:80 [repo.adobe.com/193.104.215.101] failed: Conn
ection timed out: connect -> [Help 2]
[ERROR]     Unknown packaging: content-package @ company-project:company-project
.ui.apps:[unknown-version], C:\videoTraining\company-project\ui.apps\pom.xml, li
ne 34, column 16
[ERROR]
[ERROR]   The project company-project:company-project.ui.content:1.0-SNAPSHOT (C
:\videoTraining\company-project\ui.content\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-pack
age-maven-plugin:0.0.24 or one of its dependencies could not be resolved: Failed
 to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:
jar:0.0.24: Could not transfer artifact com.day.jcr.vault:content-package-maven-
plugin:pom:0.0.24 from/to adobe (http://repo.adobe.com/nexus/content/groups/publ
ic/): Connect to repo.adobe.com:80 [repo.adobe.com/193.104.215.101] failed: Conn
ection timed out: connect -> [Help 2]
[ERROR]     Unknown packaging: content-package @ company-project:company-project
.ui.content:[unknown-version], C:\videoTraining\company-project\ui.content\pom.x
ml, line 34, column 16
[ERROR]
[ERROR]   The project company-project:company-project.it.tests:1.0-SNAPSHOT (C:\
videoTraining\company-project\it.tests\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-
plugin:2.5.3 or one of its dependencies could not be resolved: Failed to read ar
tifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.3: Could not
transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.5.3 from/to adobe (
http://repo.adobe.com/nexus/content/groups/public/): Connect to repo.adobe.com:8
0 [repo.adobe.com/193.104.215.101] failed: Connection timed out: connect -> [Hel
p 2]
[ERROR]     Unknown packaging: bundle @ company-project:company-project.it.tests
:[unknown-version], C:\videoTraining\company-project\it.tests\pom.xml, line 34,
column 16
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerE
xception

C:\videoTraining\company-project>

Avatar

Level 2

Hi smacdonald2008 I'm also getting a similar error while following this 2018 sample: https://helpx.adobe.com/experience-manager/using/aem64_htl.html

Creating an Adobe Experience Manager 6.4 HTL component that uses the WCMUsePojo API

Is it also related with the maven settings.xml? I'm trying both using the http or the https url's but not working, please advice :-(