Updated my tiles-maven-plugin workflow to full in the staged repo:

https://github.com/repaint-io/maven-tiles/actions/runs/3679966802/jobs/6225023925

two of the tests now pass, but 4 of them fail.  Some feel to fail due to a lock 
of a `<modelVersion>` being mentioned in the tile - which I think was needed 
before, but now seems to fail on some other tests oddly.  My issue tho.

One which may need further investigation is the ordering in which our nested 
tiles get weaved which I'll need to look into.

Altho on one of my main projects, which doesn't use tiles:

```
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------------------------------< 
>-----------------------------------------------
[INFO] Building Azure Java Functions 1.1.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] ---------------------------------------------------------[ jar 
]----------------------------------------------------------
[WARNING] Version not locked for default bindings plugins [maven-clean-plugin, 
maven-surefire-plugin, maven-jar-plugin, maven-install-plugin], you should 
define versions in pluginManagement section of your pom.xml or parent
[INFO] Loading cache configuration from 
/Users/amrk/IdeaProjects/securemx/smx3/.mvn/maven-build-cache-config.xml
[INFO] Using XX hash algorithm for cache
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  2.767 s
[INFO] Finished at: 2022-12-13T13:14:23+13:00
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[ERROR] Unable to provision, see the following errors:
[ERROR]
[ERROR] 1) [Guice/ErrorInjectingConstructor]: ComponentLookupException: 
NoSuchElementException
[ERROR]       role: RemoteCacheRepository
[ERROR]   roleHint: resolver
[ERROR]   at 
RemoteCacheRepositoryProvider.<init>(RemoteCacheRepositoryProvider.java:45)
[ERROR]   at 
ClassRealm[extension>org.apache.maven.extensions:maven-build-cache-extension:1.0.0,
 parent: Launcher$AppClassLoader@7852e922]
[ERROR]       \_ installed by: WireModule -> PlexusBindingModule
[ERROR]   while locating RemoteCacheRepositoryProvider
[ERROR]   at 
ClassRealm[extension>org.apache.maven.extensions:maven-build-cache-extension:1.0.0,
 parent: Launcher$AppClassLoader@7852e922]
[ERROR]       \_ installed by: WireModule -> PlexusBindingModule
[ERROR]   while locating RemoteCacheRepository annotated with 
@Named(value=#factory#)
[ERROR]   at LocatorWiring
[ERROR]   at LocalCacheRepositoryImpl.<init>(LocalCacheRepositoryImpl.java:99)
[ERROR]       \_ for 1st parameter
[ERROR]   at 
ClassRealm[extension>org.apache.maven.extensions:maven-build-cache-extension:1.0.0,
 parent: Launcher$AppClassLoader@7852e922]
[ERROR]       \_ installed by: WireModule -> PlexusBindingModule
[ERROR]   while locating LocalCacheRepositoryImpl
[ERROR]   while locating Object annotated with *
[ERROR]   at LocatorWiring
[ERROR]   at CacheControllerImpl.<init>(CacheControllerImpl.java:142)
[ERROR]       \_ for 5th parameter
[ERROR]   at 
ClassRealm[extension>org.apache.maven.extensions:maven-build-cache-extension:1.0.0,
 parent: Launcher$AppClassLoader@7852e922]
[ERROR]       \_ installed by: WireModule -> PlexusBindingModule
[ERROR]   while locating CacheControllerImpl
[ERROR]   while locating Object annotated with *
[ERROR]   at LocatorWiring
[ERROR]   at 
BuildCacheMojosExecutionStrategy.<init>(BuildCacheMojosExecutionStrategy.java:84)
[ERROR]       \_ for 1st parameter
[ERROR]   at 
ClassRealm[extension>org.apache.maven.extensions:maven-build-cache-extension:1.0.0,
 parent: Launcher$AppClassLoader@7852e922]
[ERROR]       \_ installed by: WireModule -> PlexusBindingModule
[ERROR]   while locating BuildCacheMojosExecutionStrategy
[ERROR]   while locating Object annotated with *
[ERROR]   at LocatorWiring
[ERROR]   while locating MojosExecutionStrategy
[ERROR]
[ERROR] Learn more:
[ERROR]   https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR
[ERROR]
[ERROR] 1 error
[ERROR]
[ERROR] ======================
[ERROR] Full classname legend:
[ERROR] ======================
[ERROR] BuildCacheMojosExecutionStrategy: 
"org.apache.maven.buildcache.BuildCacheMojosExecutionStrategy"
[ERROR] CacheControllerImpl:              
"org.apache.maven.buildcache.CacheControllerImpl"
[ERROR] ComponentLookupException:         
"org.codehaus.plexus.component.repository.exception.ComponentLookupException"
[ERROR] Launcher$AppClassLoader:          "sun.misc.Launcher$AppClassLoader"
[ERROR] LocalCacheRepositoryImpl:         
"org.apache.maven.buildcache.LocalCacheRepositoryImpl"
[ERROR] LocatorWiring:                    "org.eclipse.sisu.wire.LocatorWiring"
[ERROR] MojosExecutionStrategy:           
"org.apache.maven.plugin.MojosExecutionStrategy"
[ERROR] Named:                            "com.google.inject.name.Named"
[ERROR] PlexusBindingModule:              
"org.eclipse.sisu.plexus.PlexusBindingModule"
[ERROR] RemoteCacheRepository:            
"org.apache.maven.buildcache.RemoteCacheRepository"
[ERROR] RemoteCacheRepositoryProvider:    
"org.apache.maven.buildcache.RemoteCacheRepositoryProvider"
[ERROR] WireModule:                       "org.eclipse.sisu.wire.WireModule"
[ERROR] ========================
[ERROR] End of classname legend:
[ERROR] ========================: java.util.NoSuchElementException
[ERROR]       role: org.apache.maven.buildcache.RemoteCacheRepository
[ERROR]   roleHint: resolver
[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 verbose output
```








On 13 Dec 2022, at 2:19, Guillaume Nodet wrote:

> https://repository.apache.org/content/repositories/maven-1835


---
"The ease with which a change can be implemented has no relevance at all to 
whether it is the right change for the (Java) Platform for all time." &mdash; 
Mark Reinhold.

Mark Derricutt
http://www.chaliceofblood.net
http://www.theoryinpractice.net
http://twitter.com/talios
http://facebook.com/mderricutt

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to