Tuesday, April 25, 2006

Beanshell plugin for maven2

Plugin for running beanshell scripts in the same way as maven-antrun-plugin does. Based on the source from maven-antrun-plugin plugin.

Source code is located here: maven-beanshell-plugin.

in order to use the plugin you have to add new repository to the list of your repositories:

<repositories>
  ...
  <repository>
    <id>scriptlandia-maven2</id>
    <name>scriptlandia-maven2</name>
    <url>http://scriptlandia.sourceforge.net/maven2</url>
  </repository>
</repositories>


Then, configure the plugin:

<build>
  ...
  <plugins>
    <plugin>
      <groupId>org.apache.maven</groupId>
        <artifactId>maven-beanshell-plugin</artifactId>

      <executions>
        <execution>
          <id>validate</id>
          <phase>validate</phase>
          <configuration>
            <source>test.bsh</source>
            <!--content>print("Hello, World!");</content-->
          </configuration>
          <goals>
            <goal>run</goal>
          </goals>
          </execution>
      </executions>
    </plugin>
  </plugins>
</build>

10 comments:

Vasiliy Pupkin said...

Hi Alex,
10x for your plugin! It is really helpfull. Can i intoduce my short list of nice to have:
- pass parameters to plugin
- make available reading resource from project classpath( for ex. /src/main/resources )

Adi said...

Find Internet Marketing resource hare Online Marketing Strategy | Internet Marketing Tools | Online Marketing Campaign | Online Marketing Business | Online Marketing System | Online Business | Online Home Business | Online Business Tips | Internet Marketing Online

dfadf said...

Microsoft Office 2010
Office 2010
Office 2007
Microsoft Office
Microsoft Office 2007
Office 2007 key
Office 2007 download
Office 2007 Professional
Windows 7
Microsoft outlook 2010

2011bagnews said...

Oakley M Frame Sale is usually discovered in the range of colors, from pink and orange to eco-friendly and purple. opt for a dfgkcxy0rtw coloring that goes good collectively together with your locks and skin color color. More and significantly more users are desired to purchase best from Oil Rigs Oakley the brand Oakley sunglasses from identify manufacturer producers for the cause that they have been durable, lengthy lasting, affordable, and attractive. These artist eyeglasses will carry on to serve Oakley Frogskin Sunglasses as favorites for users in 2011. a single from the huge Oakley sunglasses developments because of this twelve months will most likely be the inclusion of tinted lenses. There will most likely be a better leaning towards using tints with special colors. if you ever appreciate Oakley Xs O Frame Snow Goggles matching your Oakley sunglasses alongside together with your outfits, opt for a variety of pair in many colours for just about any variety. each person's facial form is unique. Oakley Flak Jacket that appear terrific applying a single particular person can appear "not so great" on another.

qinbincai123 said...

But I may be one who does not care.yutrew88 Ever to have tree bloom or bear.
Wholesale Cheap Hats

Wholesale New Era Hats

Cheap New Era Hats

New Era Fitted Hats

Cheap Wholesale New Era Hats

price per head call center said...

People, o my what a wonderful site you have here. Interesting reading funny photos and lots of content for your reader.

hosted virtual call center said...

I think here author did a great analysis about topic..Great efforts shown..Keep working and posting!!

Anonymous said...

buy tramadol tramadol hcl hydrocodone - tramadol 50mg how many to get high

Anonymous said...

order tramadol no prescription order tramadol online without prescription - buy tramadol cod

Anonymous said...

green xanax bars for sale or can i buy xanax online or how to buy xanax online legally or order xanax online free consultation or buy xanax generic online or xanax buy online mastercard or xanax generic online or buy valium thailand online or buy valium with paypal or buy daz valium or where to buy adderall online legit or buy barr adderall or buy adderall egypt or buy adderall or buy nexium cheap online or buy augmentin canada or buying lexapro from canada