Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 498 by dlaze...@gmail.com: "mvn -P lite install" installs under default profile, not lite.
http://code.google.com/p/protobuf/issues/detail?id=498

What steps will reproduce the problem?
1. cd java
2. mvn -P lite package
3. ls ~/.m2/repository/com/google/protobuf/protobuf-java/2.5.0

What is the expected output? What do you see instead?
Expected to find protobuf-java-2.5.0-lite.jar
Observed: protobuf-java-2.5.0.jar (with "lite" size of 114987 bytes)

What version of the product are you using? On what operating system?
2.5.0
Linux x86_64

I tried to find a way it works, but found only the way it installs two lite jars, with and without classifier:
195a196,207
                         <executions>
                             <execution>
                                 <id>default-jar</id>
                                 <phase>package</phase>
                                 <goals>
                                     <goal>jar</goal>
                                 </goals>
                                 <configuration>
                                     <classifier>lite</classifier>
                                 </configuration>
                             </execution>
                         </executions>

Also, I agree with other Maven users, that it should have separate artifactId, not classifier.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to