You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marcell Manfrin Barbacena <ba...@gmail.com> on 2006/04/06 16:06:05 UTC
M2 native plugin
Hi,
I'm trying to run the svn example of native plugin but aparently the
plugin isn't deployed to ibiblio. The msg that I get is:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.codehaus.mojo:native-maven-plugin: checking for updates from
central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:native-maven-plugin' does not exist or no v
alid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Apr 06 11:05:44 GMT-03:00 2006
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
Tnx.
--
"Nobody knows who i really am
I never felt this empty before
And if I never need someone to come along
Who's gonna comfort me and keep me strong?"
--
Marcell Manfrin Barbacena
barbacena@gmail.com
MSN Messenger: marcell84bruk@hotmail.com
ICQ UIN: 63671762
Skype: callto://marcell84bruk
+55 (83) 8808-8555 (Oi)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: excluding parent jar and Continuum build problem
Posted by Alexandre Poitras <al...@gmail.com>.
I guess you are declaring your dependency in your parents to tell
Maven which version it should use? If it's the case, you should should
use the dependencyManagement section instead.
On 4/7/06, Vijay Shanker <vs...@comframe.com> wrote:
> Thanks Alexandre,
>
> Sorry for confusion.
> Actually, I have following parent POM
>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>j2ee</groupId>
> <artifactId>j2ee</artifactId>
> <version>1.5</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>com.honda</groupId>
> <artifactId>GALC_Core</artifactId>
> <version>1.0</version>
> <scope>compile</scope>
> </dependency>
>
> Now, I would like to exclude GALC_Core dependency inside child POM. I think we can use dependencyManagement tag in parnet POM.
>
> Now I have problem that Continuum is not building all projects, when I try to build parent POM. Any suggestion would be appreciated.
>
> Thanks,
> Vijay
>
>
> ________________________________
>
> From: Alexandre Poitras [mailto:alexandre.poitras@gmail.com]
> Sent: Fri 4/7/2006 7:40 AM
> To: Maven Users List
> Subject: Re: excluding parent jar
>
>
>
> You can't have a parent project which produce a jar file. A parent
> project should always have a "pom" packaging value.
>
> On 4/6/06, Vijay Shanker <vs...@comframe.com> wrote:
> > Hi there,
> >
> > Could you please let me know how to exclude parent POM's jar in child POM? I have following pom.xml
> >
> > <dependencies>
> > <dependency>
> > <groupId>junit</groupId>
> > <artifactId>junit</artifactId>
> > <version>3.8.1</version>
> > <scope>compile</scope>
> > </dependency>
> > <dependency>
> > <groupId>j2ee</groupId>
> > <artifactId>j2ee</artifactId>
> > <version>1.5</version>
> > <scope>compile</scope>
> > </dependency>
> > <dependency>
> > <groupId>com.honda</groupId>
> > <artifactId>GALC_Core</artifactId>
> > <version>1.0</version>
> > <scope>compile</scope>
> > </dependency>
> >
> > I would like to exclude GALC_Core in child POM.
> >
> > Thanking you in advance.
> >
> > Vijay
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Alexandre Poitras
> Québec, Canada
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Alexandre Poitras
Québec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: excluding parent jar and Continuum build problem
Posted by Vijay Shanker <vs...@comframe.com>.
Thanks Alexandre,
Sorry for confusion.
Actually, I have following parent POM
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>j2ee</groupId>
<artifactId>j2ee</artifactId>
<version>1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.honda</groupId>
<artifactId>GALC_Core</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
Now, I would like to exclude GALC_Core dependency inside child POM. I think we can use dependencyManagement tag in parnet POM.
Now I have problem that Continuum is not building all projects, when I try to build parent POM. Any suggestion would be appreciated.
Thanks,
Vijay
________________________________
From: Alexandre Poitras [mailto:alexandre.poitras@gmail.com]
Sent: Fri 4/7/2006 7:40 AM
To: Maven Users List
Subject: Re: excluding parent jar
You can't have a parent project which produce a jar file. A parent
project should always have a "pom" packaging value.
On 4/6/06, Vijay Shanker <vs...@comframe.com> wrote:
> Hi there,
>
> Could you please let me know how to exclude parent POM's jar in child POM? I have following pom.xml
>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>j2ee</groupId>
> <artifactId>j2ee</artifactId>
> <version>1.5</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>com.honda</groupId>
> <artifactId>GALC_Core</artifactId>
> <version>1.0</version>
> <scope>compile</scope>
> </dependency>
>
> I would like to exclude GALC_Core in child POM.
>
> Thanking you in advance.
>
> Vijay
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Alexandre Poitras
Qu�bec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: excluding parent jar
Posted by Alexandre Poitras <al...@gmail.com>.
You can't have a parent project which produce a jar file. A parent
project should always have a "pom" packaging value.
On 4/6/06, Vijay Shanker <vs...@comframe.com> wrote:
> Hi there,
>
> Could you please let me know how to exclude parent POM's jar in child POM? I have following pom.xml
>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>j2ee</groupId>
> <artifactId>j2ee</artifactId>
> <version>1.5</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>com.honda</groupId>
> <artifactId>GALC_Core</artifactId>
> <version>1.0</version>
> <scope>compile</scope>
> </dependency>
>
> I would like to exclude GALC_Core in child POM.
>
> Thanking you in advance.
>
> Vijay
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Alexandre Poitras
Québec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
excluding parent jar
Posted by Vijay Shanker <vs...@comframe.com>.
Hi there,
Could you please let me know how to exclude parent POM's jar in child POM? I have following pom.xml
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>j2ee</groupId>
<artifactId>j2ee</artifactId>
<version>1.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.honda</groupId>
<artifactId>GALC_Core</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
I would like to exclude GALC_Core in child POM.
Thanking you in advance.
Vijay
Re: M2 native plugin
Posted by Marcell Manfrin Barbacena <ba...@gmail.com>.
I just tought it was already release because the native plugin is not
in the mojo sandbox...
Anyway, i will try that.
[]'s
On 4/6/06, dan tran <da...@gmail.com> wrote:
> Marcell,
>
> 2 options:
>
> - build the plugin first
>
> - set the plugin version to 1.0-alpha-1-SNAPSHOT in the example.
>
> -D
>
>
> On 4/6/06, Marcell Manfrin Barbacena <ba...@gmail.com> wrote:
> >
> > Hi,
> >
> > I'm trying to run the svn example of native plugin but aparently the
> > plugin isn't deployed to ibiblio. The msg that I get is:
> >
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'eclipse'.
> > [INFO] org.apache.maven.plugins: checking for updates from central
> > [INFO] org.codehaus.mojo: checking for updates from central
> > [INFO] artifact org.codehaus.mojo:native-maven-plugin: checking for
> > updates from
> > central
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] The plugin 'org.codehaus.mojo:native-maven-plugin' does not exist
> > or no v
> > alid version could be found
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 15 seconds
> > [INFO] Finished at: Thu Apr 06 11:05:44 GMT-03:00 2006
> > [INFO] Final Memory: 1M/2M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > Tnx.
> >
> > --
> > "Nobody knows who i really am
> > I never felt this empty before
> > And if I never need someone to come along
> > Who's gonna comfort me and keep me strong?"
> > --
> > Marcell Manfrin Barbacena
> > barbacena@gmail.com
> > MSN Messenger: marcell84bruk@hotmail.com
> > ICQ UIN: 63671762
> > Skype: callto://marcell84bruk
> > +55 (83) 8808-8555 (Oi)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
--
"Nobody knows who i really am
I never felt this empty before
And if I never need someone to come along
Who's gonna comfort me and keep me strong?"
--
Marcell Manfrin Barbacena
barbacena@gmail.com
MSN Messenger: marcell84bruk@hotmail.com
ICQ UIN: 63671762
Skype: callto://marcell84bruk
+55 (83) 8808-8555 (Oi)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: M2 native plugin
Posted by dan tran <da...@gmail.com>.
Marcell,
2 options:
- build the plugin first
- set the plugin version to 1.0-alpha-1-SNAPSHOT in the example.
-D
On 4/6/06, Marcell Manfrin Barbacena <ba...@gmail.com> wrote:
>
> Hi,
>
> I'm trying to run the svn example of native plugin but aparently the
> plugin isn't deployed to ibiblio. The msg that I get is:
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.codehaus.mojo:native-maven-plugin: checking for
> updates from
> central
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.codehaus.mojo:native-maven-plugin' does not exist
> or no v
> alid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Thu Apr 06 11:05:44 GMT-03:00 2006
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>
> Tnx.
>
> --
> "Nobody knows who i really am
> I never felt this empty before
> And if I never need someone to come along
> Who's gonna comfort me and keep me strong?"
> --
> Marcell Manfrin Barbacena
> barbacena@gmail.com
> MSN Messenger: marcell84bruk@hotmail.com
> ICQ UIN: 63671762
> Skype: callto://marcell84bruk
> +55 (83) 8808-8555 (Oi)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>