Actually Alex, I know what the problem is -- jboss-sar-maven-plugin is not available at http://snapshots.maven.codehaus.org/maven2. Are you sure you deployed there?

Brad

Brad O'Hearne wrote:

Alex,

Thanks, that helped tremendously! However, I am having trouble getting the plugin from the repository. I put the following in my pom.xml file from your sample:

<build>
       <plugins>
           <plugin>
               <extensions>true</extensions>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>jboss-sar-maven-plugin</artifactId>
               <configuration>
                   <excludes>
                       <exclude>aopalliance:aopalliance</exclude>
                       <exclude>jasperreports:jasperreports</exclude>
                       <exclude>asm:asm-util</exclude>
                       <exclude>freemarker:freemarker</exclude>
                       <exclude>asm:asm</exclude>
                       <exclude>com.jamonapi:jamon</exclude>
                       <exclude>velocity:velocity-dep</exclude>
                       <exclude>
                           commons-attributes:commons-attributes-compiler
                       </exclude>
                       <exclude>
                           commons-attributes:commons-attributes-api
                       </exclude>
                       <exclude>cglib:cglib</exclude>
                       <exclude>qdox:qdox</exclude>
                       <exclude>
                           org.springframework:spring-aop
                       </exclude>
                       <exclude>velocity:velocity</exclude>
                       <exclude>aspectwerkz:aspectwerkz-core</exclude>
                       <exclude>xml-apis:xml-apis</exclude>
                       <exclude>commons-pool:commons-pool</exclude>
                       <exclude>xerces:xerces</exclude>
                       <exclude>ant:ant</exclude>
                       <exclude>jboss:jboss-system</exclude>
                   </excludes>
               </configuration>
           </plugin>
       </plugins>
   </build>
   <repositories>
       <repository>
           <id>mojo.snapshots</id>
           <name>Codehaus Snapshot Repository</name>
           <url>http://snapshots.maven.codehaus.org/maven2</url>
       </repository>

and when I run maven (any target) here is what I receive:

[INFO] The plugin 'org.codehaus.mojo:jboss-sar-maven-plugin' does not exist or n
o valid version could be found

Any idea what the problem might be?

Brad

Alex Karasulu wrote:

Carlos Sanchez wrote:

Check http://mojo.codehaus.org/jboss-sar-maven-plugin/, not
http://docs.codehaus.org/display/SM/Maven+SAR+plugin

Everything under http://mojo.codehaus.org is for maven2.

Be aware that you may need to build it from sources as I don't think
it has been released yet.
I deployed this to the codehaus snapshots repository a week ago. Also added some extra configuration for excluding some files since it was including the kitchen sink. If you want a look at how to set it up take a look here for an example pom that uses this plugin:

http://svn.apache.org/repos/asf/directory/trunks/apacheds/server-sar/pom.xml

Alex


On 2/8/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote:
This says this is a maven 1.0 plugin, and that to install it you just
drop it into your plugins directory under your maven installation. Two
questions:

1) Can this be used with maven 2?

2) I don't have a plugins directory. Should I create one, or is that
directory only significant for maven 1.0?

Brad

Ballard, Ken wrote:

Brad,

There's a Maven SAR plugin. See:
http://docs.codehaus.org/display/SM/Maven+SAR+plugin. Does this help you?

Thanks,
Ken

-----Original Message-----
From: Brad O'Hearne [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 12:25 AM
To: Maven Users List
Subject: need to build a SAR file not a JAR file

Hey there,

I'm need to build a SAR file for JBoss deployment, which is essentially the same as a JAR file, with a different extension (.sar rather than .jar). Can
someone tell me how this can be accomplished?  Thanks!

Brad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to