[jboss-dev-forums] [Design of EJB 3.0] - Re: EJBTHREE-1607 Update EJB3.0 Tutorials

jaikiran do-not-reply at jboss.com
Tue Dec 9 07:19:06 EST 2008


"ALRubinger" wrote : 
  | 
  | http://anonsvn.jboss.org/repos/maven/plugins/jbossas/trunk/
  | 
  | It's the "example" project which has a POM to show a working configuration.
  | 
  | 

Thanks Andrew.

I mvn installed it on my local repo. The pom.xml in the "example" project however has a typo:


  | <profiles>
  |     <profile>
  |       <!-- Declare the "Integration Test" Profile -->
  |       <id>it</id>
  |             <build>
  |         <plugins>
  |          ....
  |                     <!-- 
  |             
  |             Define the JBossAS Maven Control Plugin
  |             
  |           -->
  |           <plugin>
  | 
  |             <groupId>org.jboss.maven.plugins</groupId>
  |             <artifactId>maven-jboss-as-control-plugin</artifactId>
  |             <version>0.1.0-SNAPSHOT</version>
  | 

The groupId should have been org.jboss.maven.plugins.jbossas. This is not caught (build succeeds) in the mvn install because of the "profile". However, running 

mvn install -P it

shows this error:

[INFO] Failed to resolve artifact.
  | 
  | GroupId: org.jboss.maven.plugins
  | ArtifactId: maven-jboss-as-control-plugin
  | Version: 0.1.0-SNAPSHOT
  | 

I have made the fix to the groupId in the example locally. Let me know if i can check it in. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195315#4195315

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195315



More information about the jboss-dev-forums mailing list