Grails package-plugin exclude jar file

All,

I have created a plugin that I will be using across several projects. For testing purposes, I have included the jar file needed to connect to Oracle to test the domain classes in this plugin. I do not want this jar file to be included in the packaged plugin (done by running package-plugin). The jar file exists in the /lib directory. What do I have to do to make sure it gets excluded in the packaged plugin?

Thank you for any help!

Answers


Use pluginExcludes like this:

class UiPerformanceGrailsPlugin {

    String version = '1.2.1'
    String grailsVersion = '1.0 > *'
    Map dependsOn = [:]
    List pluginExcludes = [
        'lib/build/*.jar',
        'lib/easymock.jar',
        'src/groovy/com/studentsonly/grails/plugins/uiperformance/taglib/AbstractTaglibTest.groovy'
    ]
....
}

Need Your Help

container div not expanding on the property min-height

html height css

I have the following CSS code for a div that I want to have a min-height and then the height increases as needed. I have no clue why but the CSS is not working in any browser! I tried to google the

Scroll snaps to position of anchor link - unwanted behaviour and inefficient implementation

html css tabs pseudo-class

I've created a simple tabbed content display using CSS and HTML. This code will be embedded around halfway down a much longer page with other content.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.