Multi module maven project-which version?

5 messages Options
Embed this post
Permalink
canerkaplica () Multi module maven project-which version?
Reply Threaded More More options
Print post
Permalink


Hi,

I want to add architecture rules to a multi-module maven(version
2.0.9) project.I tried some versions from the svn repo,but i coudnt be
succesful.I deployed the versions i tried to my local repository,but i
got an error every time.
Either i get;
The plugin descriptor for the plugin [com.seventytwomiles:architecture-
rules] was not found
or
A required plugin was not found.Try downloading the file from the
project website.
Which version should i use and could you hep with the pom.xml?
Thanks in advance,

my pom.xml:
                                            <profile>
                        <id>profile1</id>
                        <build>
                                <pluginManagement>
                                      <plugins>
                                        <plugin>
                                          <groupId>info.manandbytes</groupId>
                                          <artifactId>maven-architecture-rules-plugin</artifactId>
                                          <version>0.0-SNAPSHOT</version>
                                          <configuration />
                                          <executions>
                                            <execution>
                                              <phase>test</phase>
                                              <goals>
                                                <goal>assert</goal>
                                              </goals>
                                            </execution>
                                          </executions>
                                        </plugin>
                                      </plugins>
                                    </pluginManagement>
                                <plugins>
                                      <plugin>
                                        <groupId>info.manandbytes</groupId>
                                        <artifactId>maven-architecture-rules-plugin</artifactId>
                                        <version>0.0-SNAPSHOT</version>
                                       </plugin>
                                </plugins>
--~--~---------~--~----~------------~-------~--~----~

~~ http://architecturerules.googlecode.com/svn/docs/index.html
~~ You received this message because you are subscribed to the Google Groups "architecture-rules-users" group.
~~ To post to this group, send email to [hidden email]
~~ To unsubscribe from this group, send email to [hidden email]
~~ For more options, visit this group at http://groups.google.com/group/architecture-rules-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Mykola Nikishov () Re: Multi module maven project-which version?
Reply Threaded More More options
Print post
Permalink

Hi,

canerkaplica <[hidden email]> writes:

Latest version of plugin is available at
http://architecturerules.googlecode.com/svn/maven2/org/architecturerules/maven-architecture-rules-plugin/0.1-SNAPSHOT/maven-architecture-rules-plugin-0.1-20090513.225428-3.pom

 in order to use it ap

> Which version should i use and could you hep with the pom.xml?
...
> my pom.xml:
>                                             <profile>
> <id>profile1</id>
> <build>
> <pluginManagement>
>      <plugins>
>        <plugin>
>          <groupId>info.manandbytes</groupId>

This should be replaced with <groupId>org.architecturerules</groupId>

>          <artifactId>maven-architecture-rules-plugin</artifactId>
>          <version>0.0-SNAPSHOT</version>

Replace this with <version>0.1-SNAPSHOT</version>

>          <configuration />
>          <executions>
>            <execution>
>              <phase>test</phase>
>              <goals>
>                <goal>assert</goal>
>              </goals>
>            </execution>
>          </executions>
>        </plugin>
>      </plugins>
>    </pluginManagement>
> <plugins>
>      <plugin>
>        <groupId>info.manandbytes</groupId>
>        <artifactId>maven-architecture-rules-plugin</artifactId>
>        <version>0.0-SNAPSHOT</version>

And the same changes here should be made

>       </plugin>
> </plugins>

--
MAN-UANIC

--~--~---------~--~----~------------~-------~--~----~

~~ http://architecturerules.googlecode.com/svn/docs/index.html
~~ You received this message because you are subscribed to the Google Groups "architecture-rules-users" group.
~~ To post to this group, send email to [hidden email]
~~ To unsubscribe from this group, send email to [hidden email]
~~ For more options, visit this group at http://groups.google.com/group/architecture-rules-users?hl=en
-~----------~----~----~----~------~----~------~--~---

canerkaplica () Re: Multi module maven project-which version?
Reply Threaded More More options
Print post
Permalink

Hi,
Thanks for the reply,
I am now using 0.1-SNAPSHOT version.And i have a new question.
I want to show the cyclic dependencies and other violations in maven
site's report section.
The build should be successful even if there are cyclic dependencies
But till now,i get either a build error(because of cyclic dependency)
or a blank architecture rules report page.
What should be the configuration of the plugin?

mvn command
mvn site -P profile1

pom.xml
                                                       <profile1>
                                                          <build>
                                <pluginManagement>
                                      <plugins>
                                        <plugin>
                                          <groupId>org.architecturerules</groupId>
                                          <artifactId>maven-architecture-rules-plugin</artifactId>
                                          <version>0.1-SNAPSHOT</version>
                                          <configuration />
                                          <executions>
                                            <execution>
                                              <phase>site</phase>
                                              <goals>
                   <goal>assert</goal>
                                                <goal>report</goal>
                                              </goals>
                                            </execution>
                                          </executions>
                                        </plugin>
                                      </plugins>
                                    </pluginManagement>
                                <plugins>
                                        <plugin>
                                          <groupId>org.architecturerules</groupId>
                                          <artifactId>maven-architecture-rules-plugin</artifactId>
                                          <version>0.1-SNAPSHOT</version>
                                        </plugin>
                                </plugins>

                        <reporting>
                                <plugins>
                                        <plugin>
                                          <groupId>org.architecturerules</groupId>
                                          <artifactId>maven-architecture-rules-plugin</artifactId>
                                          <version>0.1-SNAPSHOT</version>
                                        </plugin>

Thanks in advance,
--~--~---------~--~----~------------~-------~--~----~

~~ http://architecturerules.googlecode.com/svn/docs/index.html
~~ You received this message because you are subscribed to the Google Groups "architecture-rules-users" group.
~~ To post to this group, send email to [hidden email]
~~ To unsubscribe from this group, send email to [hidden email]
~~ For more options, visit this group at http://groups.google.com/group/architecture-rules-users?hl=en
-~----------~----~----~----~------~----~------~--~---

mikenereson () Re: Multi module maven project-which version?
Reply Threaded More More options
Print post
Permalink
We don't have a report yet. Sorry.

We have a road map for a report though.

We just setup support for listeners. Using this listener support we will generate an XML file that will look like this (prototype) http://blog.architecturerules.org/xml-report-prototype/

Then using that XML output we can apply an XSLT or digest it to come up with the HTML for the report. The report has also been prototyped http://tinyurl.com/n5bmew

So what you are looking for does not exist yet, but some of the components are in place to make that happen eventually.

On Fri, Aug 28, 2009 at 4:22 AM, canerkaplica <[hidden email]> wrote:

Hi,
Thanks for the reply,
I am now using 0.1-SNAPSHOT version.And i have a new question.
I want to show the cyclic dependencies and other violations in maven
site's report section.
The build should be successful even if there are cyclic dependencies
But till now,i get either a build error(because of cyclic dependency)
or a blank architecture rules report page.
What should be the configuration of the plugin?

mvn command
mvn site -P profile1

pom.xml
                                                      <profile1>
                                                         <build>
                               <pluginManagement>
                                     <plugins>
                                       <plugin>
                                         <groupId>org.architecturerules</groupId>
                                         <artifactId>maven-architecture-rules-plugin</artifactId>
                                         <version>0.1-SNAPSHOT</version>
                                         <configuration />
                                         <executions>
                                           <execution>
                                             <phase>site</phase>
                                             <goals>
                                               <goal>assert</goal>
                                               <goal>report</goal>
                                             </goals>
                                           </execution>
                                         </executions>
                                       </plugin>
                                     </plugins>
                                   </pluginManagement>
                               <plugins>
                                       <plugin>
                                         <groupId>org.architecturerules</groupId>
                                         <artifactId>maven-architecture-rules-plugin</artifactId>
                                         <version>0.1-SNAPSHOT</version>
                                       </plugin>
                               </plugins>

                       <reporting>
                               <plugins>
                                       <plugin>
                                         <groupId>org.architecturerules</groupId>
                                         <artifactId>maven-architecture-rules-plugin</artifactId>
                                         <version>0.1-SNAPSHOT</version>
                                       </plugin>

Thanks in advance,




--
~ Mike Nereson

--~--~---------~--~----~------------~-------~--~----~

~~ http://architecturerules.googlecode.com/svn/docs/index.html
~~ You received this message because you are subscribed to the Google Groups "architecture-rules-users" group.
~~ To post to this group, send email to [hidden email]
~~ To unsubscribe from this group, send email to [hidden email]
~~ For more options, visit this group at http://groups.google.com/group/architecture-rules-users?hl=en
-~----------~----~----~----~------~----~------~--~---

canerkaplica () Re: Multi module maven project-which version?
Reply Threaded More More options
Print post
Permalink

It generated a blank page.So, i thought it has the ability but i was
doing something wrong.Anyway, report will be very useful.I'll be
waiting for it..


On 28 Ağustos, 17:54, Mike Nereson <[hidden email]> wrote:

> We don't have a report yet. Sorry.
>
> We have a road map for a report though.
>
> We just setup support for listeners. Using this listener support we will
> generate an XML file that will look like this (prototype)http://blog.architecturerules.org/xml-report-prototype/
>
> Then using that XML output we can apply an XSLT or digest it to come up with
> the HTML for the report. The report has also been prototypedhttp://tinyurl.com/n5bmew
>
> So what you are looking for does not exist yet, but some of the components
> are in place to make that happen eventually.
>
> On Fri, Aug 28, 2009 at 4:22 AM, canerkaplica <[hidden email]>wrote:
>
>
>
>
>
>
>
> > Hi,
> > Thanks for the reply,
> > I am now using 0.1-SNAPSHOT version.And i have a new question.
> > I want to show the cyclic dependencies and other violations in maven
> > site's report section.
> > The build should be successful even if there are cyclic dependencies
> > But till now,i get either a build error(because of cyclic dependency)
> > or a blank architecture rules report page.
> > What should be the configuration of the plugin?
>
> > mvn command
> > mvn site -P profile1
>
> > pom.xml
> >                                                       <profile1>
> >                                                          <build>
> >                                <pluginManagement>
> >                                      <plugins>
> >                                        <plugin>
>
> >  <groupId>org.architecturerules</groupId>
>
> >  <artifactId>maven-architecture-rules-plugin</artifactId>
> >                                           <version>0.1-SNAPSHOT</version>
> >                                          <configuration />
> >                                          <executions>
> >                                            <execution>
> >                                               <phase>site</phase>
> >                                              <goals>
> >                                                <goal>assert</goal>
> >                                                <goal>report</goal>
> >                                               </goals>
> >                                            </execution>
> >                                          </executions>
> >                                        </plugin>
> >                                      </plugins>
> >                                    </pluginManagement>
> >                                <plugins>
> >                                        <plugin>
>
> >  <groupId>org.architecturerules</groupId>
>
> >  <artifactId>maven-architecture-rules-plugin</artifactId>
> >                                           <version>0.1-SNAPSHOT</version>
> >                                        </plugin>
> >                                </plugins>
>
> >                        <reporting>
> >                                <plugins>
> >                                        <plugin>
>
> >  <groupId>org.architecturerules</groupId>
>
> >  <artifactId>maven-architecture-rules-plugin</artifactId>
> >                                           <version>0.1-SNAPSHOT</version>
> >                                        </plugin>
>
> > Thanks in advance,
>
> --
> ~ Mike Nereson- Alıntıyı gizle -
>
> - Alıntıyı göster -
--~--~---------~--~----~------------~-------~--~----~

~~ http://architecturerules.googlecode.com/svn/docs/index.html
~~ You received this message because you are subscribed to the Google Groups "architecture-rules-users" group.
~~ To post to this group, send email to [hidden email]
~~ To unsubscribe from this group, send email to [hidden email]
~~ For more options, visit this group at http://groups.google.com/group/architecture-rules-users?hl=en
-~----------~----~----~----~------~----~------~--~---