org.artifactory.api.repo.exception.RepositoryRuntimeException: The repository 'plugins-releases-local' rejected the artifact 'org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1/buildnumber-maven-plugin-1.0-beta-1.pom' due to its include/exclude patterns settings.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When running artadmin import, you should never receive ugly stack traces in output, unless running with --verbose. The error message itself is enough: 500 : Error at: Importing file '/opt/artemp/artifactory-1.3.0-rc-1/tmpExport/repositories/plugins-releases-local/org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1/buildnumber-maven-plugin-1.0-beta-1.pom' into 'plugins-releases-local' org.artifactory.api.repo.exception.RepositoryRuntimeException: The repository 'plugins-releases-local' rejected the artifact 'org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1/buildnumber-maven-plugin-1.0-beta-1.pom' due to its include/exclude patterns settings. at org.artifactory.jcr.JcrServiceImpl.assertValidDeployment(JcrServiceImpl.java:653) at org.artifactory.jcr.JcrServiceImpl.importFileViaWorkingCopy(JcrServiceImpl.java:245) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy16.importFileViaWorkingCopy(Unknown Source) at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:443) at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512) at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy12.importRepo(Unknown Source) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34) at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)
    via by Yoav Landman,
  • When running artadmin import, you should never receive ugly stack traces in output, unless running with --verbose. The error message itself is enough: 500 : Error at: Importing file '/opt/artemp/artifactory-1.3.0-rc-1/tmpExport/repositories/plugins-releases-local/org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1/buildnumber-maven-plugin-1.0-beta-1.pom' into 'plugins-releases-local' org.artifactory.api.repo.exception.RepositoryRuntimeException: The repository 'plugins-releases-local' rejected the artifact 'org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1/buildnumber-maven-plugin-1.0-beta-1.pom' due to its include/exclude patterns settings. at org.artifactory.jcr.JcrServiceImpl.assertValidDeployment(JcrServiceImpl.java:653) at org.artifactory.jcr.JcrServiceImpl.importFileViaWorkingCopy(JcrServiceImpl.java:245) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy16.importFileViaWorkingCopy(Unknown Source) at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:443) at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512) at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy12.importRepo(Unknown Source) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34) at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)
    via by Yoav Landman,
    • org.artifactory.api.repo.exception.RepositoryRuntimeException: The repository 'plugins-releases-local' rejected the artifact 'org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1/buildnumber-maven-plugin-1.0-beta-1.pom' due to its include/exclude patterns settings. at org.artifactory.jcr.JcrServiceImpl.assertValidDeployment(JcrServiceImpl.java:653) at org.artifactory.jcr.JcrServiceImpl.importFileViaWorkingCopy(JcrServiceImpl.java:245) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy16.importFileViaWorkingCopy(Unknown Source) at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:443) at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512) at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy12.importRepo(Unknown Source) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34) at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)
    No Bugmate found.