On Mon, 2020-03-23 at 21:47 +0100, JCR wrote:
> > No, no error log entries present and I cannot find a  $HOME/.m2 
> > directory at all. What is $HOME referfing to? Workspace root?
> > There 
> > are settings.xml only in the file vaults.
> > Perhaps additional info: both, the Sling11 and the Eclipse 
> > installation run on Ubuntu V18.04. May be an installation issue?

Sorry, I mean to ask for the location of the Maven settings file [1].
The user file should be under /home/$YOURUSER/.m2/settings.xml . If not
present, the default is used. Do you have a custom maven settings file?

> I found something suspicious when starting up Eclipse (before I
> checked 
> errors from the wizard only):
> 
> !ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2020-03-23 
> 19:33:09.453
> !MESSAGE No repository found at 
> jar:file:/home/juerg/Downloads/sling-maven-plugin-2.4.2.jar!/.
> 
> !ENTRY org.eclipse.equinox.p2.repository 2 0 2020-03-23 19:34:00.220
> !MESSAGE Server returned lastModified <= 0 for 
> http://pirbot.com/mirrors/apache/sling/eclipse/1.2.2/content.jar
> 
> !ENTRY org.eclipse.equinox.p2.metadata.repository 4 1002 2020-03-23 
> 19:34:01.859
> !MESSAGE Unable to read repository at 
> http://pirbot.com/mirrors/apache/sling/eclipse/1.2.2/.
> !STACK 0
> java.io.IOException: 
> http://pirbot.com/mirrors/apache/sling/eclipse/1.2.2/ is not a valid 

That seems a bit off, but it's p2 - the Eclipse plugin management
system, and not Maven.

Can you try running the following command from the CLI?

  mvn archetype:generate -Dfilter=org.apache.sling:sling-bundle-archetype

It should print an entry for the sling-bundle-archetype, such as

1: remote -> org.apache.sling:sling-bundle-archetype (Maven archetype
for a generic OSGi bundle.)

Thanks,
Robert

Reply via email to