You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by muddushafi <mu...@yahoo.com> on 2008/09/16 16:58:22 UTC
Need help on ..Please help
Can anyone explain me why we use <sourcemodifications> inside the build
section.
what does it do? and Which version of Maven supports this tag?
Well I am tryin to build this Maven file buit I am getting an error as such
[ERROR]
Error parsing POM.
Unrecognised tag: 'sourceModifications' (position: START_TAG seen
...</sourceDirectory>\r\n <sourceModifications>... @31:25)
Line: 31
Column: 25
Project Id: unknown
>From file: C:\Muddu1\rbumsJava\pom.xml
The POM.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/1.0.0
http://maven.apache.org/maven-v1_0_0.xsd">
<modelVersion>1.0.0</modelVersion>
<!-- the version of maven's project object model -->
<!--<extend>../common/project.xml</extend>-->
<name>RBUMSApplication Client jar Generation</name>
<artifactId>rbums-client</artifactId>
<version>1.2</version>
<dependencies>
<!-- The following dependencies are not currently available through ibiblio
-->
<!-- Extra Plug-ins required for this build -->
<dependency>
<groupId>rbums</groupId>
<artifactId>rbums-core</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<!-- build information for the project -->
<build>
<sourceDirectory>../src</sourceDirectory>
<sourceModifications>
<sourceModification>
<includes>
<include>org/atcc/bei/rbums/client/**/*.java</include>
<include>org/atcc/bei/rbums/common/**/*.java</include>
<include>org/atcc/bei/rbums/server/**/model/**</include>
<include>org/atcc/bei/rbums/server/**/*Exception.java</include>
<include>org/atcc/bei/rbums/server/**/*Remote.java</include>
<include>org/atcc/bei/rbums/server/**/*Home.java</include>
<include>org/atcc/bei/rbums/server/**/*Local.java</include>
<include>org/atcc/bei/rbums/server/**/*LocalHome.java</include>
</includes>
<className>rbums.class</className>
</sourceModification>
</sourceModifications>
</build>
</project>
--
View this message in context: http://www.nabble.com/Need-help-on-%3Csourcemodifications%3E..Please-help-tp19513647p19513647.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Need help on ..Please help
Posted by Nick Stolwijk <ni...@gmail.com>.
Maven 1 had a section like this:
<build>
<sourceModifications>
<sourceModification>
<className></className>
<excludes>
<exclude></exclude>
</excludes>
</sourceModification>
</sourceModifications>
</build>
As far as I know, this is not available in Maven 2, so maybe it is a
leftover from the transition from Maven 1 to Maven 2 in your project?
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Tue, Sep 16, 2008 at 4:58 PM, muddushafi <mu...@yahoo.com> wrote:
>
> Can anyone explain me why we use <sourcemodifications> inside the build
> section.
> what does it do? and Which version of Maven supports this tag?
>
> Well I am tryin to build this Maven file buit I am getting an error as such
> [ERROR]
>
> Error parsing POM.
>
> Unrecognised tag: 'sourceModifications' (position: START_TAG seen
> ...</sourceDirectory>\r\n <sourceModifications>... @31:25)
>
> Line: 31
> Column: 25
>
>
> Project Id: unknown
> From file: C:\Muddu1\rbumsJava\pom.xml
>
> The POM.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/1.1.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/1.0.0
> http://maven.apache.org/maven-v1_0_0.xsd">
> <modelVersion>1.0.0</modelVersion>
> <!-- the version of maven's project object model -->
> <!--<extend>../common/project.xml</extend>-->
> <name>RBUMSApplication Client jar Generation</name>
> <artifactId>rbums-client</artifactId>
> <version>1.2</version>
> <dependencies>
>
>
> <!-- The following dependencies are not currently available through ibiblio
> -->
>
> <!-- Extra Plug-ins required for this build -->
>
> <dependency>
> <groupId>rbums</groupId>
> <artifactId>rbums-core</artifactId>
> <version>1.2</version>
> </dependency>
>
>
> </dependencies>
>
> <!-- build information for the project -->
>
> <build>
> <sourceDirectory>../src</sourceDirectory>
> <sourceModifications>
> <sourceModification>
> <includes>
> <include>org/atcc/bei/rbums/client/**/*.java</include>
> <include>org/atcc/bei/rbums/common/**/*.java</include>
> <include>org/atcc/bei/rbums/server/**/model/**</include>
> <include>org/atcc/bei/rbums/server/**/*Exception.java</include>
> <include>org/atcc/bei/rbums/server/**/*Remote.java</include>
> <include>org/atcc/bei/rbums/server/**/*Home.java</include>
> <include>org/atcc/bei/rbums/server/**/*Local.java</include>
> <include>org/atcc/bei/rbums/server/**/*LocalHome.java</include>
> </includes>
> <className>rbums.class</className>
> </sourceModification>
> </sourceModifications>
> </build>
>
> </project>
>
> --
> View this message in context: http://www.nabble.com/Need-help-on-%3Csourcemodifications%3E..Please-help-tp19513647p19513647.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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