![]() |
|
Fractal - Maven | |
![]() |
MavenOverviewMaven is being used by many Fractal projects, expecially in order to have:
Installing MavenFollow the steps indicated on the Download Maven page. Depend on Fractal modules in your pom.xml
If you have just to write a 3rd party application which must depend on one or more Fractal modules,
you have to configure the following things in your <project> <!-- ....... --> <repositories> <repository> <id>objectweb-release</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>objectweb-snapshot</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2-snapshot</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>objectweb-release</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>objectweb-snapshot</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2-snapshot</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> <!-- ........ --> </project> In fact, Fractal modules are hosted on ObjectWeb Maven2 Repository and ObjectWeb Maven2 Snapshot Repository . Develop Fractal projects with Maven
If you have to check out a single Fractal module (i.e. "julia") or start a brand new Fractal module,
you need to put this (once and forever) in your <settings> <!-- ........ --> <profiles> <profile> <id>objectweb</id> <repositories> <repository> <id>objectweb-release</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>objectweb-snapshot</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2-snapshot</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>objectweb-release</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>objectweb-snapshot</id> <name>ObjectWeb Maven Repository</name> <url>http://maven.objectweb.org/maven2-snapshot</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <!-- To make the "objectweb" profile used by default when you utilize Maven to build a project --> <activeProfiles> <activeProfile>objectweb</activeProfile> </activeProfiles> <!-- ........ --> </settings> IDEs configurationA Maven project can be configured to work on your IDE.
Mailing listQuestions, comments, ideas, etc. related to Fractal can be posted on the Fractal mailing list. |
![]() | ![]() |