Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e and SNAPSHOT

Hi Anders,

I understand, what you tell me, and it is true. But, if it is Maven key feature, then why can I compile the project from commend line. (If you test it, the (dot)SNAPSHOT version-string processing same as the -SNAPSHOT processing in the Maven.)
I think the m2e plugin work as the command line Maven. (The name-convetion come from osgi environment.)

Do you have any idea, how can resolv this problem?

Thx!
Feri



2012/9/11 Anders Hammar <anders@xxxxxxxxxx>
You have to understand that "-SNAPSHOT" is a key thing in Maven. When
you use a dot instead you're declaring a release version and not a
snapshot/dev version number. And this scheme cannot be changed; it's
at the hart of Maven.

/Anders
On Tue, Sep 11, 2012 at 11:37 AM, F V <vftake5@xxxxxxxxx> wrote:
> Dear All,
>
> I'm new here, and sorry, if my question is too lama.
>
> I use STS 2.9.2 with m2e 1.1.0.20120530-0009. In our project we use Virgo,
> where the SNAPSHOT name-convetion is a bit different. We use "." (dot)
> insted of hyphen.
>
>         <dependency>
>             <groupId>hu.mycomp</groupId>
>             <artifactId>project.name</artifactId>
>             <version>1.0.0.SNAPSHOT</version>
>         </dependency>
>
> In STS I have got error (Missing artifact), but I can bild my project from
> command line. (So the needed component downloaded to my local repo.)
> I made a test. When I changed the dot to hyphen, then I didn't get the that
> error. (I hav got two other, becase the component has two other reference to
> "dot-stile" snapshotted classes,)
> My question: Can I setup the  so m2e plugin, the handle the "dot-style"
> snapshot?
>
> Thx!
> Feri
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top