i use mvn3 with java 6

- Romain


2012/3/23 Nestor Urquiza <nestor.urqu...@gmail.com>

> I see you do have it in the parent pom:
> <plugins>
>    <plugin>
>      <groupId>org.apache.maven.plugins</groupId>
>      <artifactId>maven-compiler-plugin</artifactId>
>      <version>2.3.2</version>
>      <configuration>
>        <source>1.6</source>
>        <target>1.6</target>
>      </configuration>
>    </plugin>
>  </plugins>
>
> And yet the project won't compile for me. I guess the question is what have
> you done in your environment for the project to compile, like which maven
> version for example.
>
> I am using the latest code for sure:
> $ hg pull -u
> warning: code.google.com certificate with fingerprint
> e2:9e:46:29:a0:fd:3c:57:a0:68:30:c5:0a:45:97:63:bf:8d:75:fc not verified
> (check hostfingerprints or web.cacerts config setting)
> pulling from https://code.google.com/p/rmannibucau/
> searching for changes
> no changes found
>
>
> On Fri, Mar 23, 2012 at 11:20 AM, Romain Manni-Bucau [via Camel] <
> ml-node+s465427n5589816...@n5.nabble.com> wrote:
>
> > you simply have to provide the maven-compiler-plugin and specify the
> > version of target and source.
> >
> >
> > if you don't want to put it everywhere you can use a parent pom.
> >
> > - Romain
> >
> >
> > 2012/3/23 Nestor Urquiza <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5589816&i=0>>
> >
> >
> > > Probably a dumb question: Can you please help me to compile without
> > having
> > > to update all the pom files? Basically by default my Maven 2.2.1 tries
> > to
> > > compile with JDK source 1.3 but your code needs 1.5 or above:
> > >
> > >
> > >
> >
> /Users/nestor/kk/rmannibucau/​camel/diagram-generator-​parent/diagram-generator-​maven-plugin/src/main/java/fr/​rmannibucau/graph/transformer/​VertexShapeTransformer.java:[​25,5]
> >
> > > annotations are not supported in -source 1.3
> > > (use -source 5 or higher to enable annotations)
> > >    @Override public Shape transform(Node i) {
> > >
> > >
> > > [INFO]
> > >
> >
> ------------------------------​------------------------------​------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> >
> ------------------------------​------------------------------​------------
> > > [INFO] Total time: 15 seconds
> > > [INFO] Finished at: Fri Mar 23 11:13:10 EDT 2012
> > > [INFO] Final Memory: 30M/81M
> > > [INFO]
> > >
> >
> ------------------------------​------------------------------​------------
> > > nestor-krfs:rmannibucau nestor$ mvn -v
> > > Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> > >
> > > Thanks!
> > > -Nestor
> > >
> > > On Thu, Mar 22, 2012 at 6:12 PM, Romain Manni-Bucau [via Camel] <
> > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5589816&i=1>>
> > wrote:
> > >
> > > > just pushed some changes:
> > > > 1) the plugin name changed a bit to follow maven convention
> > > > 2) fixing some classloading issues when running the plugin from the
> > build
> > > > when the route builder is defined
> > > >
> > > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> > http://camel.465427.n5.nabble
> .​com/diagram-generator-​tp4375588p5589792.html<
> http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5589792.html
> >
> >
> > > Sent from the Camel - Users mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> > http://camel.465427.n5.nabble
> .​com/diagram-generator-​tp4375588p5589816.html<
> http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5589816.html
> >
> >  To unsubscribe from diagram generator, click here<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4375588&code=bmVzdG9yLnVycXVpemFAZ21haWwuY29tfDQzNzU1ODh8LTIwNDkyODYxNjE=
> >
> > .
> > NAML<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5589940.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to