How to build Petals within eclipse?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to build Petals within eclipse?

petals_ez
Hi there,

I am able to build from Maven command line.
However, I have been trying to build petals source code within eclipse without much luck.
I have installed Maven eclipse plugin, and did "mvn eclipse:eclipse" then open an existing Java project from that location. But, I still see a lot of errors.
Has anyone tried to build with eclipse?

Thanks.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build Petals within eclipse?

Christophe DENEUX
Administrator
Which version of Petals are you trying to build ?
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build Petals within eclipse?

petals_ez
Thanks.
The latest version of Petals.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build Petals within eclipse?

Christophe DENEUX
Administrator
Petals is built using Maven. Add to your Maven settings (settings.xml), the following repositories (here defined in a default profile):
 
<profile>
   <id>default-profile</id>
   <activation>
    <activeByDefault>true</activeByDefault>
   </activation>
   <repositories>
    <repository>
     <id>petalslink-public.release</id>
     <name>PetalsLink -Public -Releases -Repository</name>
     <url>http://maven.petalslink.com/public</url>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>false</enabled>
     </snapshots>
    </repository>
    <repository>
     <id>petalslink-stagging</id>
     <name>PetalsLink - Stagging -Repository</name>
     <url>http://maven.petalslink.com/staging-snapshot</url>
     <releases>
      <enabled>false</enabled>
     </releases>
     <snapshots>
      <enabled>true</enabled>
     </snapshots>
    </repository>
    <repository>
     <id>petalslink-public.snapshot</id>
     <name>PetalsLink -Public -Snapshot -Repository</name>
     <url>http://maven.petalslink.com/public-snapshot</url>
     <releases>
      <enabled>false</enabled>
     </releases>
     <snapshots>
      <enabled>true</enabled>
     </snapshots>
    </repository><repository>
     <id>ow2.release</id>
     <url>http://maven.ow2.org/maven2</url>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>false</enabled>
     </snapshots>
    </repository>
   </repositories>
   <pluginRepositories>
    <pluginRepository>
     <id>petalslink-other.release</id>
     <name>PetalsLink -Other -Releases -Repository</name>
     <url>http://maven.petalslink.com/others</url>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>false</enabled>
     </snapshots>
    </pluginRepository>
   </pluginRepositories>
  </profile>
Next, go into the Petals ESB module you want to build and launch:
mvn clean install
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to build Petals within eclipse?

petals_ez
In reply to this post by Christophe DENEUX
Oh, I forgot to mention that I am trying to build Petals BPM module. Not SEB module.
Thanks.
Loading...