You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Elliotte Rusty Harold <el...@ibiblio.org> on 2021/06/19 16:15:04 UTC

UnknownRepositoryLayoutException: does this exist?

In the course of trying to fix a bug in the maven-dependency-analyzer
I'm seeing this error:

java.lang.ClassNotFoundException:
org.apache.maven.artifact.UnknownRepositoryLayoutException

When I inspect the jar where I expect this class to live it is indeed not there:

elharo-macbookpro1:Downloads elharo$ jar tvf maven-core-3.6.3.jar|grep Unkn

However I do see this Javadoc on the web:

https://maven.apache.org/ref/3.6.3/apidocs/org/apache/maven/artifact/UnknownRepositoryLayoutException.html

Does anyone see what I'm missing?

-- 
Elliotte Rusty Harold
elharo@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: UnknownRepositoryLayoutException: does this exist?

Posted by Elliotte Rusty Harold <el...@ibiblio.org>.
Thanks!

On Sat, Jun 19, 2021 at 4:36 PM Tamás Cservenák <ta...@cservenak.net> wrote:
>
> It's in compat
> https://github.com/apache/maven/blob/master/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java
>
> It is part of deprecated code (originally from maven2), given, maven3+ does
> not support the maven1 layout anymore...
>
> T
>
> On Sat, Jun 19, 2021 at 6:15 PM Elliotte Rusty Harold <el...@ibiblio.org>
> wrote:
>
> > In the course of trying to fix a bug in the maven-dependency-analyzer
> > I'm seeing this error:
> >
> > java.lang.ClassNotFoundException:
> > org.apache.maven.artifact.UnknownRepositoryLayoutException
> >
> > When I inspect the jar where I expect this class to live it is indeed not
> > there:
> >
> > elharo-macbookpro1:Downloads elharo$ jar tvf maven-core-3.6.3.jar|grep Unkn
> >
> > However I do see this Javadoc on the web:
> >
> >
> > https://maven.apache.org/ref/3.6.3/apidocs/org/apache/maven/artifact/UnknownRepositoryLayoutException.html
> >
> > Does anyone see what I'm missing?
> >
> > --
> > Elliotte Rusty Harold
> > elharo@ibiblio.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >



-- 
Elliotte Rusty Harold
elharo@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: UnknownRepositoryLayoutException: does this exist?

Posted by Tamás Cservenák <ta...@cservenak.net>.
It's in compat
https://github.com/apache/maven/blob/master/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

It is part of deprecated code (originally from maven2), given, maven3+ does
not support the maven1 layout anymore...

T

On Sat, Jun 19, 2021 at 6:15 PM Elliotte Rusty Harold <el...@ibiblio.org>
wrote:

> In the course of trying to fix a bug in the maven-dependency-analyzer
> I'm seeing this error:
>
> java.lang.ClassNotFoundException:
> org.apache.maven.artifact.UnknownRepositoryLayoutException
>
> When I inspect the jar where I expect this class to live it is indeed not
> there:
>
> elharo-macbookpro1:Downloads elharo$ jar tvf maven-core-3.6.3.jar|grep Unkn
>
> However I do see this Javadoc on the web:
>
>
> https://maven.apache.org/ref/3.6.3/apidocs/org/apache/maven/artifact/UnknownRepositoryLayoutException.html
>
> Does anyone see what I'm missing?
>
> --
> Elliotte Rusty Harold
> elharo@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>