Re: Maven resource plugin

2012-10-04 Thread Anders Hammar
You need to move the configuration section into the execution you want
it for. The current setup will also affect default lifecycle bindings
of the resources plugin.

/Anders

On Thu, Oct 4, 2012 at 12:44 AM, sudha sudha...@gmail.com wrote:
 Hi,

 I'm trying to use maven resource plugin to copy and filter some property
 files from one directory to another ( not src/main/resources ).  The source
 directory ( in this case configuration directory under basedir) has just one
 property file. When I do a mvn install, it creates the
 configuration_filtered directory but also copies a html file present in
 src/main/java to configuration_filtered. This should not happen. The html
 file should be copied to WEB-INF. Can someone help?, please.


 This is my plugin code:

  plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-resources-plugin/artifactId
 version2.6/version
 executions
 execution
 idcopy-resources-1/id
 phasepackage/phase
 goals
 goal
 copy-resources
 /goal
 /goals
 /execution

 /executions
 configuration

 outputDirectory${basedir}/configuration_filtered/outputDirectory
 resources
 resource

 directory${basedir}/configuration/directory
 includes
 include
 **/*.properties
 /include
 include
 **/*.xml
 /include
 /includes
 excludes
 exclude
 **/*.html
 /exclude
 /excludes
 filteringtrue/filtering
 /resource
 /resources
 buildFilters

 buildFilter${basedir}/tokenfile.dev/buildFilter
 /buildFilters
 useBuildFilterstrue/useBuildFilters
 delimiters
 delimiter${*}/delimiter
 delimiter@/delimiter
 /delimiters

 /configuration
 /plugin

 -Thanks



 --
 View this message in context: 
 http://maven.40175.n5.nabble.com/Maven-resource-plugin-tp5724796.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven-compiler-plugin woes

2012-10-04 Thread Davis Ford
Appending this as well:

$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+)
Maven home: /home/ubuntu/apache-maven-3.0.4
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 3.0.0-23-virtual, arch: i386, family: unix

On Thu, Oct 4, 2012 at 2:22 PM, Davis Ford davisf...@gmail.com wrote:

 This doesn't make a whole lot of sense to me.  Any idea what the problem
 is here?

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.944s
 [INFO] Finished at: Thu Oct 04 17:54:16 UTC 2012
 [INFO] Final Memory: 9M/23M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
 (default-compile) on project example-server: Compilation failure:
 Compilation failure:
 [ERROR]
 /home/ubuntu/git/example-server/src/main/java/com/example/m2m/service/DeviceService.java:[17,25]
 error: package com.sun.jersey.api does not exist
 [ERROR]
 /home/ubuntu/git/my-server/src/main/java/com/example/m2m/service/DeviceService.java:[33,11]
 error: cannot find symbol
 [ERROR] symbol:   class JResponse
 [ERROR] location: class DeviceService

 The class I wrote DeviceService.java has this import:

 import com.sun.jersey.api.JResponse;

 pom.xml snipped:

 dependencies
dependency
 groupIdcom.sun.jersey/groupId
 artifactIdjersey-server/artifactId
 version${jersey.version}/version
 scoperuntime/scope
   /dependency
etc...
 /dependencies

 Ok, the compiler can't find it -- works fine in Eclipse - I built the
 eclipse project with mvn eclipse:eclipse, it resolves to the
 jersey-server-1.14.jar - in Eclipse, I expand the jar, and see the class
 is indeed in there.  dependency:tree shows it is in the classpath, and
 scope is runtime =

 ubuntu@$ mvn dependency:tree
 [INFO] Scanning for projects...
 [INFO]

 [INFO]
 
 [INFO] Building Example Webapp 1.0-SNAPSHOT
 [INFO]
 
 [INFO]
 [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ example-server
 ---
 [INFO] com.example:example-server:war:1.0-SNAPSHOT
 [INFO] +- org.zeromq:jzmq:jar:1.0:compile
  [INFO] +- com.google.protobuf:protobuf-java:jar:LATEST:compile
 [INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
 [INFO] +- com.sun.jersey:jersey-server:jar:1.14:runtime
 [INFO] |  +- asm:asm:jar:3.1:runtime
 [INFO] |  \- com.sun.jersey:jersey-core:jar:1.14:runtime
 [INFO] +- com.sun.jersey:jersey-json:jar:1.14:runtime
 [INFO] |  +- org.codehaus.jettison:jettison:jar:1.1:runtime
 [INFO] |  |  \- stax:stax-api:jar:1.0.1:runtime
 [INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:runtime
 [INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.2.2:runtime
 [INFO] |  | +- javax.xml.stream:stax-api:jar:1.0-2:runtime
 [INFO] |  | \- javax.activation:activation:jar:1.1:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:runtime
 [INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.2:runtime
 [INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.14:runtime
 [INFO] |  +- com.sun.jersey:jersey-servlet:jar:1.14:runtime
 [INFO] |  +- org.springframework:spring-core:jar:3.0.0.RC3:runtime
 [INFO] |  |  \- org.springframework:spring-asm:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-beans:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-context:jar:3.0.0.RC3:runtime
 [INFO] |  |  +- aopalliance:aopalliance:jar:1.0:runtime
 [INFO] |  |  \- org.springframework:spring-expression:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-web:jar:3.0.0.RC3:runtime
 [INFO] |  \- org.springframework:spring-aop:jar:3.0.0.RC3:runtime
 [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
 [INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile
 [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.8:compile
 [INFO] +- log4j:log4j:jar:1.2.14:compile
 [INFO] \- junit:junit:jar:4.8.2:test

 Let's validate that the class does indeed exist in that jarfile...and it
 does =

 ubuntu@$ jar tf
 ~/.m2/repository/com/sun/jersey/jersey-server/1.14/jersey-server-1.14.jar
 META-INF/MANIFEST.MF
 META-INF/
 META-INF/jersey-module-version
 META-INF/maven/
 META-INF/maven/com.sun.jersey/
 META-INF/maven/com.sun.jersey/jersey-server/
 META-INF/maven/com.sun.jersey/jersey-server/pom.properties
 META-INF/maven/com.sun.jersey/jersey-server/pom.xml
 META-INF/services/
 META-INF/services/com.sun.jersey.spi.StringReaderProvider
 META-INF/services/com.sun.jersey.spi.container.ContainerProvider
 META-INF/services/com.sun.jersey.spi.container.ContainerRequestFilter

 

Re: maven-compiler-plugin woes

2012-10-04 Thread Thomas Broyer
Your dependency is set to runtime scope, so it's not use at compile time.
Eclipse is way more limited than Maven: it only has a single build path for
the project. M2Eclipse should configure the build path equivalent to
Maven's test scope but I can't tell for eclipse:eclipse, seems clearly
broken to me.
Le 4 oct. 2012 20:22, Davis Ford davisf...@gmail.com a écrit :

 This doesn't make a whole lot of sense to me.  Any idea what the problem is
 here?

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.944s
 [INFO] Finished at: Thu Oct 04 17:54:16 UTC 2012
 [INFO] Final Memory: 9M/23M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
 (default-compile) on project example-server: Compilation failure:
 Compilation failure:
 [ERROR]

 /home/ubuntu/git/example-server/src/main/java/com/example/m2m/service/DeviceService.java:[17,25]
 error: package com.sun.jersey.api does not exist
 [ERROR]

 /home/ubuntu/git/my-server/src/main/java/com/example/m2m/service/DeviceService.java:[33,11]
 error: cannot find symbol
 [ERROR] symbol:   class JResponse
 [ERROR] location: class DeviceService

 The class I wrote DeviceService.java has this import:

 import com.sun.jersey.api.JResponse;

 pom.xml snipped:

 dependencies
dependency
 groupIdcom.sun.jersey/groupId
 artifactIdjersey-server/artifactId
 version${jersey.version}/version
 scoperuntime/scope
   /dependency
etc...
 /dependencies

 Ok, the compiler can't find it -- works fine in Eclipse - I built the
 eclipse project with mvn eclipse:eclipse, it resolves to the
 jersey-server-1.14.jar - in Eclipse, I expand the jar, and see the class is
 indeed in there.  dependency:tree shows it is in the classpath, and scope
 is runtime =

 ubuntu@$ mvn dependency:tree
 [INFO] Scanning for projects...
 [INFO]

 [INFO]
 
 [INFO] Building Example Webapp 1.0-SNAPSHOT
 [INFO]
 
 [INFO]
 [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ example-server
 ---
 [INFO] com.example:example-server:war:1.0-SNAPSHOT
 [INFO] +- org.zeromq:jzmq:jar:1.0:compile
 [INFO] +- com.google.protobuf:protobuf-java:jar:LATEST:compile
 [INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
 [INFO] +- com.sun.jersey:jersey-server:jar:1.14:runtime
 [INFO] |  +- asm:asm:jar:3.1:runtime
 [INFO] |  \- com.sun.jersey:jersey-core:jar:1.14:runtime
 [INFO] +- com.sun.jersey:jersey-json:jar:1.14:runtime
 [INFO] |  +- org.codehaus.jettison:jettison:jar:1.1:runtime
 [INFO] |  |  \- stax:stax-api:jar:1.0.1:runtime
 [INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:runtime
 [INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.2.2:runtime
 [INFO] |  | +- javax.xml.stream:stax-api:jar:1.0-2:runtime
 [INFO] |  | \- javax.activation:activation:jar:1.1:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:runtime
 [INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.2:runtime
 [INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.14:runtime
 [INFO] |  +- com.sun.jersey:jersey-servlet:jar:1.14:runtime
 [INFO] |  +- org.springframework:spring-core:jar:3.0.0.RC3:runtime
 [INFO] |  |  \- org.springframework:spring-asm:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-beans:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-context:jar:3.0.0.RC3:runtime
 [INFO] |  |  +- aopalliance:aopalliance:jar:1.0:runtime
 [INFO] |  |  \- org.springframework:spring-expression:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-web:jar:3.0.0.RC3:runtime
 [INFO] |  \- org.springframework:spring-aop:jar:3.0.0.RC3:runtime
 [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
 [INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile
 [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.8:compile
 [INFO] +- log4j:log4j:jar:1.2.14:compile
 [INFO] \- junit:junit:jar:4.8.2:test

 Let's validate that the class does indeed exist in that jarfile...and it
 does =

 ubuntu@$ jar tf
 ~/.m2/repository/com/sun/jersey/jersey-server/1.14/jersey-server-1.14.jar
 META-INF/MANIFEST.MF
 META-INF/
 META-INF/jersey-module-version
 META-INF/maven/
 META-INF/maven/com.sun.jersey/
 META-INF/maven/com.sun.jersey/jersey-server/
 META-INF/maven/com.sun.jersey/jersey-server/pom.properties
 META-INF/maven/com.sun.jersey/jersey-server/pom.xml
 META-INF/services/
 META-INF/services/com.sun.jersey.spi.StringReaderProvider
 META-INF/services/com.sun.jersey.spi.container.ContainerProvider
 META-INF/services/com.sun.jersey.spi.container.ContainerRequestFilter

 

Re: maven-compiler-plugin woes

2012-10-04 Thread Robert Scholte

Just to give you a hint:
Find out the difference between scopeprovided/scope and  
scoperuntime/scope


And know that Eclipse can't distinguish scopes, test-scoped dependencies  
like junit ends on the one and only classpath of eclipse.


Robert

Op Thu, 04 Oct 2012 20:24:36 +0200 schreef Davis Ford  
davisf...@gmail.com:



Appending this as well:

$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+)
Maven home: /home/ubuntu/apache-maven-3.0.4
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 3.0.0-23-virtual, arch: i386, family:  
unix


On Thu, Oct 4, 2012 at 2:22 PM, Davis Ford davisf...@gmail.com wrote:


This doesn't make a whole lot of sense to me.  Any idea what the problem
is here?

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2.944s
[INFO] Finished at: Thu Oct 04 17:54:16 UTC 2012
[INFO] Final Memory: 9M/23M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project example-server: Compilation failure:
Compilation failure:
[ERROR]
/home/ubuntu/git/example-server/src/main/java/com/example/m2m/service/DeviceService.java:[17,25]
error: package com.sun.jersey.api does not exist
[ERROR]
/home/ubuntu/git/my-server/src/main/java/com/example/m2m/service/DeviceService.java:[33,11]
error: cannot find symbol
[ERROR] symbol:   class JResponse
[ERROR] location: class DeviceService

The class I wrote DeviceService.java has this import:

import com.sun.jersey.api.JResponse;

pom.xml snipped:

dependencies
   dependency
groupIdcom.sun.jersey/groupId
artifactIdjersey-server/artifactId
version${jersey.version}/version
scoperuntime/scope
  /dependency
   etc...
/dependencies

Ok, the compiler can't find it -- works fine in Eclipse - I built the
eclipse project with mvn eclipse:eclipse, it resolves to the
jersey-server-1.14.jar - in Eclipse, I expand the jar, and see the class
is indeed in there.  dependency:tree shows it is in the classpath, and
scope is runtime =

ubuntu@$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]

[INFO]

[INFO] Building Example Webapp 1.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @  
example-server

---
[INFO] com.example:example-server:war:1.0-SNAPSHOT
[INFO] +- org.zeromq:jzmq:jar:1.0:compile
 [INFO] +- com.google.protobuf:protobuf-java:jar:LATEST:compile
[INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] +- com.sun.jersey:jersey-server:jar:1.14:runtime
[INFO] |  +- asm:asm:jar:3.1:runtime
[INFO] |  \- com.sun.jersey:jersey-core:jar:1.14:runtime
[INFO] +- com.sun.jersey:jersey-json:jar:1.14:runtime
[INFO] |  +- org.codehaus.jettison:jettison:jar:1.1:runtime
[INFO] |  |  \- stax:stax-api:jar:1.0.1:runtime
[INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:runtime
[INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.2.2:runtime
[INFO] |  | +- javax.xml.stream:stax-api:jar:1.0-2:runtime
[INFO] |  | \- javax.activation:activation:jar:1.1:runtime
[INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:runtime
[INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:runtime
[INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:runtime
[INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.2:runtime
[INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.14:runtime
[INFO] |  +- com.sun.jersey:jersey-servlet:jar:1.14:runtime
[INFO] |  +- org.springframework:spring-core:jar:3.0.0.RC3:runtime
[INFO] |  |  \- org.springframework:spring-asm:jar:3.0.0.RC3:runtime
[INFO] |  +- org.springframework:spring-beans:jar:3.0.0.RC3:runtime
[INFO] |  +- org.springframework:spring-context:jar:3.0.0.RC3:runtime
[INFO] |  |  +- aopalliance:aopalliance:jar:1.0:runtime
[INFO] |  |  \-  
org.springframework:spring-expression:jar:3.0.0.RC3:runtime

[INFO] |  +- org.springframework:spring-web:jar:3.0.0.RC3:runtime
[INFO] |  \- org.springframework:spring-aop:jar:3.0.0.RC3:runtime
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.8:compile
[INFO] +- log4j:log4j:jar:1.2.14:compile
[INFO] \- junit:junit:jar:4.8.2:test

Let's validate that the class does indeed exist in that jarfile...and it
does =

ubuntu@$ jar tf
~/.m2/repository/com/sun/jersey/jersey-server/1.14/jersey-server-1.14.jar
META-INF/MANIFEST.MF
META-INF/
META-INF/jersey-module-version
META-INF/maven/
META-INF/maven/com.sun.jersey/
META-INF/maven/com.sun.jersey/jersey-server/
META-INF/maven/com.sun.jersey/jersey-server/pom.properties
META-INF/maven/com.sun.jersey/jersey-server/pom.xml

Re: maven-compiler-plugin woes

2012-10-04 Thread Stuart McCulloch
On 4 Oct 2012, at 19:22, Davis Ford wrote:

 This doesn't make a whole lot of sense to me.  Any idea what the problem is
 here?

You've given the jersey-server dependency a scope of runtime which means it 
is on the runtime and test classpaths, but _not_ the compile classpath, 
therefore the class is not visible to the compiler.

If you change the scope to be either compile (ie. you expect to provide this 
in your final deliverable) or provided (ie. you expect the container running 
your code to provide this) then it will compile.

See the table from 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
 for more details.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.944s
 [INFO] Finished at: Thu Oct 04 17:54:16 UTC 2012
 [INFO] Final Memory: 9M/23M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
 (default-compile) on project example-server: Compilation failure:
 Compilation failure:
 [ERROR]
 /home/ubuntu/git/example-server/src/main/java/com/example/m2m/service/DeviceService.java:[17,25]
 error: package com.sun.jersey.api does not exist
 [ERROR]
 /home/ubuntu/git/my-server/src/main/java/com/example/m2m/service/DeviceService.java:[33,11]
 error: cannot find symbol
 [ERROR] symbol:   class JResponse
 [ERROR] location: class DeviceService
 
 The class I wrote DeviceService.java has this import:
 
 import com.sun.jersey.api.JResponse;
 
 pom.xml snipped:
 
 dependencies
   dependency
groupIdcom.sun.jersey/groupId
artifactIdjersey-server/artifactId
version${jersey.version}/version
scoperuntime/scope
  /dependency
   etc...
 /dependencies
 
 Ok, the compiler can't find it -- works fine in Eclipse - I built the
 eclipse project with mvn eclipse:eclipse, it resolves to the
 jersey-server-1.14.jar - in Eclipse, I expand the jar, and see the class is
 indeed in there.  dependency:tree shows it is in the classpath, and scope
 is runtime =
 
 ubuntu@$ mvn dependency:tree
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO]
 
 [INFO] Building Example Webapp 1.0-SNAPSHOT
 [INFO]
 
 [INFO]
 [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ example-server
 ---
 [INFO] com.example:example-server:war:1.0-SNAPSHOT
 [INFO] +- org.zeromq:jzmq:jar:1.0:compile
 [INFO] +- com.google.protobuf:protobuf-java:jar:LATEST:compile
 [INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
 [INFO] +- com.sun.jersey:jersey-server:jar:1.14:runtime
 [INFO] |  +- asm:asm:jar:3.1:runtime
 [INFO] |  \- com.sun.jersey:jersey-core:jar:1.14:runtime
 [INFO] +- com.sun.jersey:jersey-json:jar:1.14:runtime
 [INFO] |  +- org.codehaus.jettison:jettison:jar:1.1:runtime
 [INFO] |  |  \- stax:stax-api:jar:1.0.1:runtime
 [INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:runtime
 [INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.2.2:runtime
 [INFO] |  | +- javax.xml.stream:stax-api:jar:1.0-2:runtime
 [INFO] |  | \- javax.activation:activation:jar:1.1:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:runtime
 [INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:runtime
 [INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.2:runtime
 [INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.14:runtime
 [INFO] |  +- com.sun.jersey:jersey-servlet:jar:1.14:runtime
 [INFO] |  +- org.springframework:spring-core:jar:3.0.0.RC3:runtime
 [INFO] |  |  \- org.springframework:spring-asm:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-beans:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-context:jar:3.0.0.RC3:runtime
 [INFO] |  |  +- aopalliance:aopalliance:jar:1.0:runtime
 [INFO] |  |  \- org.springframework:spring-expression:jar:3.0.0.RC3:runtime
 [INFO] |  +- org.springframework:spring-web:jar:3.0.0.RC3:runtime
 [INFO] |  \- org.springframework:spring-aop:jar:3.0.0.RC3:runtime
 [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
 [INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile
 [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.8:compile
 [INFO] +- log4j:log4j:jar:1.2.14:compile
 [INFO] \- junit:junit:jar:4.8.2:test
 
 Let's validate that the class does indeed exist in that jarfile...and it
 does =
 
 ubuntu@$ jar tf
 ~/.m2/repository/com/sun/jersey/jersey-server/1.14/jersey-server-1.14.jar
 META-INF/MANIFEST.MF
 META-INF/
 META-INF/jersey-module-version
 META-INF/maven/
 META-INF/maven/com.sun.jersey/
 META-INF/maven/com.sun.jersey/jersey-server/
 META-INF/maven/com.sun.jersey/jersey-server/pom.properties
 META-INF/maven/com.sun.jersey/jersey-server/pom.xml
 META-INF/services/
 META-INF/services/com.sun.jersey.spi.StringReaderProvider
 

Fwd: [Cucumber] Cucumber-JVM on JDK 7

2012-10-04 Thread Thomas Sundberg
Hi!

A bug discovered by the lead developer for Cucumber-jvm.

/Thomas


-- Forwarded message --
From: aslak hellesoy aslak.helle...@gmail.com
Date: 4 October 2012 20:40
Subject: [Cucumber] Cucumber-JVM on JDK 7
To: Cucumber Users cu...@googlegroups.com


I'm trying to build Cucumber-JVM on JDK 7, but I can't due to a Maven bug:

http://jira.codehaus.org/browse/MCOMPILER-183

If anyone in here would like to help fixing this bug it would be much
appreciated.

Cheers,
Aslak

--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers
http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a
new topic instead.

You received this message because you are subscribed to the Google
Groups Cukes group. To post to this group, send email to
cu...@googlegroups.com. To unsubscribe from this group, send email to
cukes+unsubscr...@googlegroups.com. For more options, visit this group
at https://groups.google.com/d/forum/cukes?hl=en




-- 
Thomas Sundberg
M. Sc. in Computer Science

Mobile: +46 70 767 33 15
Blog: http://thomassundberg.wordpress.com/
Twitter: @thomassundberg

Better software through faster feedback

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven resource plugin

2012-10-04 Thread sudha
Thanks. That worked.



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-resource-plugin-tp5724796p5724909.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org