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>

7 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 )

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.

Unknown 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