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.

JFrog JIRA | Yoav Landman | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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)

    JFrog JIRA | 8 years ago | 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.
  2. 0

    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)

    JFrog JIRA | 8 years ago | 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.

    Root Cause Analysis

    1. 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()
    2. org.artifactory.jcr
      JcrServiceImpl.importFileViaWorkingCopy
      1. org.artifactory.jcr.JcrServiceImpl.assertValidDeployment(JcrServiceImpl.java:653)
      2. org.artifactory.jcr.JcrServiceImpl.importFileViaWorkingCopy(JcrServiceImpl.java:245)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    6. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    8. Unknown
      $Proxy16.importFileViaWorkingCopy
      1. $Proxy16.importFileViaWorkingCopy(Unknown Source)
      1 frame
    9. org.artifactory.jcr
      JcrFolder.importChildren
      1. org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:443)
      1 frame
    10. org.artifactory.repo
      RepositoryServiceImpl.importRepo
      1. org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512)
      2. org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    13. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81)
      1 frame
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    15. Unknown
      $Proxy12.importRepo
      1. $Proxy12.importRepo(Unknown Source)
      1 frame
    16. org.artifactory.repo
      ImportJob.onExecute
      1. org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68)
      2. org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34)
      2 frames
    17. org.artifactory.schedule
      QuartzCommand.execute
      1. org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)
      1 frame
    18. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      1 frame
    19. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      3. java.lang.Thread.run(Thread.java:595)
      3 frames