Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issues #230 & #233 #238

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

tiagocpeixoto
Copy link

@tiagocpeixoto tiagocpeixoto commented Feb 14, 2019

Issue #230: I changed DynamoDBMapperFactory to use @Autowired to inject AmazonDynamoDB and DynamoDBMapperConfig beans.

Issue #233: checks if dynamoDBMapperConfigRef is set before registering its factory.

Are these approaches correct?

@codecov-io
Copy link

codecov-io commented Feb 24, 2019

Codecov Report

Merging #238 into master will increase coverage by 0.1%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master     #238     +/-   ##
===========================================
+ Coverage     67.31%   67.41%   +0.1%     
- Complexity      656      657      +1     
===========================================
  Files            83       83             
  Lines          2227     2222      -5     
  Branches        392      392             
===========================================
- Hits           1499     1498      -1     
+ Misses          549      547      -2     
+ Partials        179      177      -2
Impacted Files Coverage Δ Complexity Δ
...amodb/repository/config/DynamoDBMapperFactory.java 100% <100%> (ø) 3 <1> (ø) ⬇️
...tory/config/DynamoDBRepositoryConfigExtension.java 73.62% <100%> (+2.19%) 15 <0> (+1) ⬆️
...n/spring/data/dynamodb/utils/ExceptionHandler.java 63.63% <0%> (ø) 2% <0%> (ø) ⬇️
...modb/marshaller/Date2EpocheDynamoDBMarshaller.java 100% <0%> (ø) 2% <0%> (ø) ⬇️
.../repository/query/DynamoDBQueryLookupStrategy.java 77.77% <0%> (+5.36%) 4% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbc97ec...f0ad019. Read the comment docs.

@tiagocpeixoto tiagocpeixoto changed the title fix issue #230 fix issue #230 & #233 Feb 24, 2019
@tiagocpeixoto tiagocpeixoto changed the title fix issue #230 & #233 fix issues #230 & #233 Feb 24, 2019
@boostchicken
Copy link

Wouldn't this break the idea of IoC? Effectively you are saying you are going to provide a singular bean per the configuration of the other two objects in only one way. How do I override the DynamoDBMapper if I want to?

Not saying this isn't a valid fix for now, just some thoughts on how we could improve in the future.

@boostchicken
Copy link

Also I believe that whole interface in use for the Mapper is deprecated. Probably fixed in aws-java-sdk-v2 that is whole different can of worms. Just curious if there is a better way to do this?

@boostchicken
Copy link

Also, does this have to be synchronized? Separation of concerns would say that it should be left up to Spring to handle bean creation and its thread safety.

Also, after going through some history it looks like this has been this way for a bit. Maybe a candidate for a refactor.

@shexbeer
Copy link

Any updates here?

@shexbeer
Copy link

shexbeer commented May 8, 2019

Any updates here? Who can acccept this PR? We're blocked and need this fix!

Maybe @derjust

@shexbeer
Copy link

Push. Any movement here? @derjust @tiagocpeixoto

@shexbeer
Copy link

shexbeer commented Jun 5, 2019

Push. Issue still persists.

@boostchicken
Copy link

@shexbeer I would resolve your conflicts, would make it easier on @derjust when he gets around to it.

@shexbeer
Copy link

@tiagocpeixoto may you please resolve the conflicting file? Otherwise i'll make a fork of your repo and do it myself, but need then to make a new PR.

@tiagocpeixoto
Copy link
Author

tiagocpeixoto commented Jun 14, 2019

@shexbeer

Sure, I´ll do it in the next few days.

@tiagocpeixoto
Copy link
Author

@shexbeer

I can't resolve all conflicts at the risk of bugs not being solved. Any suggestions?

@derjust
Copy link
Owner

derjust commented Jun 22, 2019

Applying the final touches to 5.1.1-SNAPSHOT right now.
If you have a chance you may want to test it - it is uploaded in OSHR already

@allan-todd
Copy link

Hi

The latest 5.1.1-SNAPSHOT broke our build with the rather mysterious stacktrace below which was tracked down to this. Using com.github.derjust:spring-data-dynamodb:5.1.1-20190310.225515-8 has fixed it.

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':distribution:compileJava'. at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:73) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49) at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) Caused by: java.lang.ArrayIndexOutOfBoundsException: 9517 at io.spring.gradle.dependencymanagement.org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2470) at io.spring.gradle.dependencymanagement.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1257) at io.spring.gradle.dependencymanagement.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105) at io.spring.gradle.dependencymanagement.org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1090) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePluginExecution(MavenXpp3Reader.java:3105) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePlugin(MavenXpp3Reader.java:2918) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePluginManagement(MavenXpp3Reader.java:3186) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseBuild(MavenXpp3Reader.java:1157) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2456) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4088) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4021) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:122) at io.spring.gradle.dependencymanagement.org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:91) at io.spring.gradle.dependencymanagement.org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:77) at io.spring.gradle.dependencymanagement.org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:456) at io.spring.gradle.dependencymanagement.org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:857) at io.spring.gradle.dependencymanagement.org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:664) at io.spring.gradle.dependencymanagement.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310) at io.spring.gradle.dependencymanagement.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) at io.spring.gradle.dependencymanagement.internal.maven.EffectiveModelBuilder.buildModel(EffectiveModelBuilder.java:62) at io.spring.gradle.dependencymanagement.internal.maven.MavenPomResolver.createPom(MavenPomResolver.java:115) at io.spring.gradle.dependencymanagement.internal.maven.MavenPomResolver.createPoms(MavenPomResolver.java:109) at io.spring.gradle.dependencymanagement.internal.maven.MavenPomResolver.resolvePomsLeniently(MavenPomResolver.java:76) at io.spring.gradle.dependencymanagement.internal.ExclusionResolver.resolveExclusions(ExclusionResolver.java:78) at io.spring.gradle.dependencymanagement.internal.ExclusionConfiguringAction.findExcludedDependencies(ExclusionConfiguringAction.java:137) at io.spring.gradle.dependencymanagement.internal.ExclusionConfiguringAction.applyMavenExclusions(ExclusionConfiguringAction.java:86) at io.spring.gradle.dependencymanagement.internal.ExclusionConfiguringAction.execute(ExclusionConfiguringAction.java:81) at io.spring.gradle.dependencymanagement.internal.ExclusionConfiguringAction.execute(ExclusionConfiguringAction.java:50) at org.gradle.configuration.internal.DefaultUserCodeApplicationContext$2.execute(DefaultUserCodeApplicationContext.java:77) at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:91) at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:80) at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42) at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:230) at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:149) at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58) at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:324) at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:234) at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:140) at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy33.beforeResolve(Unknown Source) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.performPreResolveActions(DefaultConfiguration.java:638) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$800(DefaultConfiguration.java:138) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$7.run(DefaultConfiguration.java:583) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:576) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$600(DefaultConfiguration.java:138) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$6.run(DefaultConfiguration.java:556) at org.gradle.api.internal.project.DefaultProjectStateRegistry$SafeExclusiveLockImpl.withLock(DefaultProjectStateRegistry.java:244) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveExclusively(DefaultConfiguration.java:552) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveToStateOrLater(DefaultConfiguration.java:547) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$2200(DefaultConfiguration.java:138) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getSelectedArtifacts(DefaultConfiguration.java:1178) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:1167) at org.gradle.api.internal.file.AbstractFileCollection.iterator(AbstractFileCollection.java:72) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.iterator(DefaultConfiguration.java:467) at org.gradle.internal.snapshot.impl.DefaultFileSystemSnapshotter$FileCollectionLeafVisitorImpl.visitCollection(DefaultFileSystemSnapshotter.java:240) at org.gradle.api.internal.file.AbstractFileCollection.visitLeafCollections(AbstractFileCollection.java:233) at org.gradle.api.internal.file.CompositeFileCollection.visitLeafCollections(CompositeFileCollection.java:205) at org.gradle.internal.snapshot.impl.DefaultFileSystemSnapshotter.snapshot(DefaultFileSystemSnapshotter.java:126) at org.gradle.internal.fingerprint.impl.AbstractFileCollectionFingerprinter.fingerprint(AbstractFileCollectionFingerprinter.java:48) at org.gradle.api.internal.tasks.execution.DefaultTaskFingerprinter.fingerprintTaskFiles(DefaultTaskFingerprinter.java:46) at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionStateTaskExecuter.createExecutionState(ResolveBeforeExecutionStateTaskExecuter.java:93) at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionStateTaskExecuter.execute(ResolveBeforeExecutionStateTaskExecuter.java:73) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108) at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67) at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) ... 24 more

@shexbeer
Copy link

shexbeer commented Jul 5, 2019

Indeed, i can confirm that the latest build number 9 with version: 5.1.1-20190622.045831-9
breaks the POM.xml in our system.

our error in CICD pipeline is

00:01:34.009 [ERROR] 9517
00:01:34.009 java.lang.ArrayIndexOutOfBoundsException: 9517
00:01:34.009 	at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
00:01:34.009 	at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1283)
00:01:34.009 	at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.nextTag(MavenXpp3Reader.java:566)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePluginExecution(MavenXpp3Reader.java:2926)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePlugin(MavenXpp3Reader.java:2739)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePluginManagement(MavenXpp3Reader.java:3007)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseBuild(MavenXpp3Reader.java:978)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2277)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3845)
00:01:34.009 	at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:595)
00:01:34.009 	at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:117)
00:01:34.009 	at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:86)
00:01:34.009 	at org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)
00:01:34.009 	at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:533)
00:01:34.009 	at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:1045)
00:01:34.009 	at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:800)
00:01:34.009 	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:329)
00:01:34.009 	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
00:01:34.009 	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:535)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:519)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)
00:01:34.009 	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
00:01:34.009 	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:172)
00:01:34.009 	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
00:01:34.009 	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
00:01:34.009 	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
00:01:34.009 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
00:01:34.009 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
00:01:34.009 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
00:01:34.009 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
00:01:34.009 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
00:01:34.009 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
00:01:34.009 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
00:01:34.009 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
00:01:34.009 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
00:01:34.009 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
00:01:34.009 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
00:01:34.009 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
00:01:34.009 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
00:01:34.009 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
00:01:34.009 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
00:01:34.009 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
00:01:34.009 	at java.lang.reflect.Method.invoke(Method.java:498)
00:01:34.009 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
00:01:34.009 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
00:01:34.009 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
00:01:34.009 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

So like @allantodd stated, the previous build 5.1.1-20190310.225515-8 works
Looking at the published pom.xml in both version iam seeing a alot smaller version of the new pom (4163) instead of the old pom sizes (34481)
Iam looking at https://oss.sonatype.org/content/repositories/snapshots/com/github/derjust/spring-data-dynamodb/5.1.1-SNAPSHOT/

@boostchicken
Copy link

boostchicken commented Jul 13, 2019

@shexbeer @allantodd
#256
Took me a few hours to find that one, just update your M2 or gradle cached files. @derjust any hope on getting this fixed?

https://oss.sonatype.org/content/repositories/snapshots/com/github/derjust/spring-data-dynamodb-parent/5.1.1-SNAPSHOT/spring-data-dynamodb-parent-5.1.1-20190622.045826-1.pom

That is the offending file.

@tobiashochguertel
Copy link

@boostchicken Any Chance to get this integrated into your fork?

@boostchicken
Copy link

@tobiashochguertel it should be fixed.

@tiagocpeixoto
Copy link
Author

Should I close this PR? Does it still make sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants