Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8591301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:29:41+00:00 2026-06-11T23:29:41+00:00

I am trying to mavenize my grails 2.1 app which uses build-test-data-2.0.3, for some

  • 0

I am trying to mavenize my grails 2.1 app which uses build-test-data-2.0.3, for some reason it cannot import grails.test.mixin.support.*.

I thought it has something to do with the scopes so I tried different of them but it did not help.

My assumption is grails.test.mixin.support and other requirements are already downloaded with grails core, do I need to add any specific dependency for this plugin ?

Thanks

The error I am getting is:

 package grails.test.mixin.support does not exist

Here is what needs to be done to create the issue:

1- create-app delme

2- adding build-test-plugin

3- create-pom com.company

4- mvn install

This is my dependency in pom:

 <dependency>
    <groupId>org.grails.plugins</groupId>
    <artifactId>build-test-data</artifactId>
    <version>2.0.3</version>
    <scope>compile</scope>
    <type>zip</type>
</dependency> 

BuildConfig:

plugins {
    runtime ":hibernate:$grailsVersion"
    runtime ":jquery:1.7.2"
    runtime ":resources:1.1.6"

    // Uncomment these (or add new ones) to enable additional resources capabilities
    //runtime ":zipped-resources:1.0"
    //runtime ":cached-resources:1.0"
    //runtime ":yui-minify-resources:0.1.4"

    build ":tomcat:$grailsVersion"

    runtime ":database-migration:1.1"

    compile ':cache:1.0.0'
}

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:29:42+00:00Added an answer on June 11, 2026 at 11:29 pm

    If someone encountered similar issue that maven cannot compile some of the classes this might be helpful to them.

    In my case it was some classes used by build-test-data plugin that maven was complaining about. The problem is Maven was not aware of those classes that build-test-data was using in this case it was grails.test.mixin.support.MixinMethod. This is part of the grails-plugin-testing package.

    Maven needs to know that so it can put it in the classpath (I assume) and if it cannot find it, will fail to compile it. What I needed to do was just adding that dependency to maven, so maven can put that in the classpath.

    Thanks to this respond by jpearlin helped me to resolve this issue.

    I added this dependency and the issue was fixed.

            <dependency>
                  <groupId>org.grails</groupId>
                  <artifactId>grails-plugin-testing</artifactId>
                  <version>${grails.version}</version>
                  <scope>test</scope>
            </dependency>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to mavenize a project, which is using IBM MQ. In our Nexus-server,
Trying to build a Metro app using Javascript and having issues with IndexedDb. I
Trying to unit test some simple code for a class project, however every time
Trying to build out an exception if move.UserId does not equal currentUserId then Redirect
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to prepare good build environment for my js library. According to reviews on
We are currently trying to mavenize the existing projects in our company. We have
I am trying to Mavenize our existing Commerce solution. However, I am getting a
Trying to build a mavenized project with NetBeans fails: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.5:generate
I am trying to define a JNDI DB connection in a test project with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.