0 Replies Latest reply on Oct 16, 2009 1:04 AM by rainit

    Maven+JBoss AS+Seam

    rainit

      Hello,


      im trying to set up a project in eclipse with maven using seam and jboss AS. I used the sofetu seam archetype. In the instructions it is written that i must change the profile in profiles.xml. Well i set it to JBoss. As i run mvn jboss:deploy, it says build successful but actually nothing has happened in JBoss folders or anything. The profile in POM.xml is:


      <profile>
                     <id>jboss</id>
                     <activation>
                          <property>
                               <name>environment</name>
                               <value>jboss</value>
                          </property>
                     </activation>
                     <build>
                          <plugins>
                               <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>jboss-maven-plugin</artifactId>
                                    <configuration>
                                         <jbossHome>E:\servers\jboss-5.1.0.GA</jbossHome>
                                         <port>8080</port>
                                    </configuration>
                               </plugin>
                          </plugins>
                     </build>
                     <properties>
                          <hibernate.transaction.manager_lookup_class>org.hibernate.transaction.JBossTransactionManagerLookup</hibernate.transaction.manager_lookup_class>
                          <hibernate.transaction.factory_class>org.hibernate.transaction.JTATransactionFactory</hibernate.transaction.factory_class>
                     </properties>
                </profile>



      Any help is appreciated. Also i have tried many other ways and i get lots of different errors. I have not found solutions anywhere, hereby im hoping to get some answers here.


      Rainit